// Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: p4com.dll [ uuid(BC5DA98A-3A2F-4458-8666-22EDB27C6258), version(1.0), helpstring("p4com 1.0 Type Library") ] library P4COM { // TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("stdole2.tlb"); // Forward declare all types defined in this typelib interface Ip4; [ uuid(0709D2DF-09E0-4DBF-AECB-9B997006C0B4), helpstring("p4 Class") ] coclass p4 { [default] interface Ip4; }; [ odl, uuid(E7D963D4-7AC8-4B89-B768-16F900DB2A93), helpstring("Ip4 Interface"), dual, oleautomation ] interface Ip4 : IDispatch { [id(0x00000001), propget, helpstring("property Charset")] HRESULT Charset([out, retval] BSTR* pVal); [id(0x00000001), propput, helpstring("property Charset")] HRESULT Charset([in] BSTR pVal); [id(0x00000002), propget, helpstring("property Client")] HRESULT Client([out, retval] BSTR* pVal); [id(0x00000002), propput, helpstring("property Client")] HRESULT Client([in] BSTR pVal); [id(0x00000003), propget, helpstring("property Cwd")] HRESULT Cwd([out, retval] BSTR* pVal); [id(0x00000003), propput, helpstring("property Cwd")] HRESULT Cwd([in] BSTR pVal); [id(0x00000004), propget, helpstring("property Host")] HRESULT Host([out, retval] BSTR* pVal); [id(0x00000004), propput, helpstring("property Host")] HRESULT Host([in] BSTR pVal); [id(0x00000005), propget, helpstring("property Language")] HRESULT Language([out, retval] BSTR* pVal); [id(0x00000005), propput, helpstring("property Language")] HRESULT Language([in] BSTR pVal); [id(0x00000006), propget, helpstring("property Password")] HRESULT Password([out, retval] BSTR* pVal); [id(0x00000006), propput, helpstring("property Password")] HRESULT Password([in] BSTR pVal); [id(0x00000007), propget, helpstring("property Port")] HRESULT Port([out, retval] BSTR* pVal); [id(0x00000007), propput, helpstring("property Port")] HRESULT Port([in] BSTR pVal); [id(0x00000008), propget, helpstring("property User")] HRESULT User([out, retval] BSTR* pVal); [id(0x00000008), propput, helpstring("property User")] HRESULT User([in] BSTR pVal); [id(0x0000000a), propget, helpstring("Array of any Errors that occurred during previous 'run'")] HRESULT Errors([out, retval] SAFEARRAY(BSTR)* valArray); [id(0x0000000b), propget, helpstring("Array of any Warnings that occurred during previous 'run'")] HRESULT Warnings([out, retval] SAFEARRAY(BSTR)* valArray); [id(0x0000000c), helpstring("Returns the results of running the Perforce command as array of strings")] HRESULT run( BSTR cmd, [out, retval] SAFEARRAY(BSTR)* valArray); [id(0x0000000d), helpstring("Connect to Perforce server")] HRESULT Connect(); [id(0x0000000e), helpstring("Disconnect from Perforce server")] HRESULT Disconnect(); [id(0x0000000f), propget, helpstring("0 means no exceptions, 1 exception on errors only, 2 exceptions on warnings as well")] HRESULT ExceptionLevel([out, retval] long* pVal); [id(0x0000000f), propput, helpstring("0 means no exceptions, 1 exception on errors only, 2 exceptions on warnings as well")] HRESULT ExceptionLevel([in] long pVal); [id(0x00000010), helpstring("Set's tagging of results")] HRESULT Tagged(); [id(0x00000011), helpstring("method ParseForms")] HRESULT ParseForms(); [id(0x00000012), propget, helpstring("Name of any temporary file produced by a p4 command such as 'print'")] HRESULT TempFilename([out, retval] BSTR* pVal); [id(0x00000013), propget, helpstring("Get the value of the variable with the specified name (requires ParseForms)")] HRESULT Var( BSTR varName, [out, retval] BSTR* pVal); [id(0x00000013), propput, helpstring("Get the value of the variable with the specified name (requires ParseForms)")] HRESULT Var( BSTR varName, [in] BSTR pVal); [id(0x00000014), propget, helpstring("Does the variable with the specified name exist (requires ParseForms)")] HRESULT VarExists( BSTR varName, [out, retval] long* pVal); [id(0x00000015), propget, helpstring("Get the array of values of the variable with the specified name (requires ParseForms)")] HRESULT ArrayVar( BSTR varName, [out, retval] SAFEARRAY(BSTR)* pVal); [id(0x00000015), propput, helpstring("Get the array of values of the variable with the specified name (requires ParseForms)")] HRESULT ArrayVar( BSTR varName, [in] SAFEARRAY(BSTR)* pVal); [id(0x00000016), propget, helpstring("property Os")] HRESULT Os([out, retval] BSTR* pVal); [id(0x00000017), propget, helpstring("property ServerVersion")] HRESULT ServerVersion([out, retval] long* pVal); [id(0x00000018), propput, helpstring("Same as ArrayVar but sets array of VARIANT values of the variable with the specified name (requires ParseForms)")] HRESULT ArrayVar_variant( BSTR varName, [in] VARIANT pVal); [id(0x00000018), propget, helpstring("Same as ArrayVar but sets array of VARIANT values of the variable with the specified name (requires ParseForms)")] HRESULT ArrayVar_variant( BSTR varName, [out, retval] VARIANT* pVal); [id(0x00000019), helpstring("Same as Run but returns the results of running the Perforce command as array of variants")] HRESULT run_variant( BSTR cmd, [out, retval] VARIANT* vArray); [id(0x0000001a), propget, helpstring("Array of any Errors (as variant) that occurred during previous 'run'")] HRESULT Errors_variant([out, retval] VARIANT* vArray); [id(0x0000001b), propget, helpstring("Array of any Warnings (as variant) that occurred during previous 'run'")] HRESULT Warnings_variant([out, retval] VARIANT* vArray); [id(0x0000001c), propput, helpstring("Specify input for subsequent command - e.g. password for login")] HRESULT Input([in] BSTR rhs); [id(0x0000001d), helpstring("Utility function to return Perforce format date strings from unix time in seconds.")] HRESULT FormatDateTime( [in] long unixtime, [out, retval] BSTR* pVal); [id(0x0000001e), helpstring("Has connection been dropped?.")] HRESULT Dropped([out, retval] long* pVal); }; };