// SpiceX.idl : IDL source for SpiceX // // This file will be processed by the MIDL tool to // produce the type library (SpiceX.tlb) and marshalling code. #include "olectl.h" import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(F5CAFE2A-DEB4-480C-ACC6-356A13B979A5), dual, nonextensible, helpstring("IOSpiceX Interface"), pointer_default(unique) ] interface IOSpiceX : IDispatch{ [id(1), helpstring("method Connect")] HRESULT Connect(void); [id(2), helpstring("method Disconnect")] HRESULT Disconnect(void); [id(3), helpstring("method SendCAD")] HRESULT SendCAD(void); [id(4), helpstring("method Show")] HRESULT Show(void); [id(5), helpstring("method Hide")] HRESULT Hide(void); [id(6), helpstring("method SetSecondaryAddress")] HRESULT SetSecondaryAddress(void); [propget, id(7), helpstring("property HostIP")] HRESULT HostIP([out, retval] BSTR* pVal); [propput, id(7), helpstring("property HostIP")] HRESULT HostIP([in] BSTR newVal); [propget, id(8), helpstring("property Port")] HRESULT Port([out, retval] USHORT* pVal); [propput, id(8), helpstring("property Port")] HRESULT Port([in] USHORT newVal); [propget, id(9), helpstring("property ScaleEnable")] HRESULT ScaleEnable([out, retval] ULONG* pVal); [propput, id(9), helpstring("property ScaleEnable")] HRESULT ScaleEnable([in] ULONG newVal); [propget, id(10), helpstring("property ScaleNum")] HRESULT ScaleNum([out, retval] ULONG* pVal); [propput, id(10), helpstring("property ScaleNum")] HRESULT ScaleNum([in] ULONG newVal); [propget, id(11), helpstring("property ScaleDen")] HRESULT ScaleDen([out, retval] ULONG* pVal); [propput, id(11), helpstring("property ScaleDen")] HRESULT ScaleDen([in] ULONG newVal); [propget, id(12), helpstring("property FullScreen")] HRESULT FullScreen([out, retval] ULONG* pVal); [propput, id(12), helpstring("property FullScreen")] HRESULT FullScreen([in] ULONG newVal); [propget, id(13), helpstring("property MsUser")] HRESULT MsUser([out, retval] BSTR* pVal); [propput, id(13), helpstring("property MsUser")] HRESULT MsUser([in] BSTR newVal); [propget, id(14), helpstring("property MSDomain")] HRESULT MSDomain([out, retval] BSTR* pVal); [propput, id(14), helpstring("property MSDomain")] HRESULT MSDomain([in] BSTR newVal); [propget, id(15), helpstring("property MSPassword")] HRESULT MSPassword([out, retval] BSTR* pVal); [propput, id(15), helpstring("property MSPassword")] HRESULT MSPassword([in] BSTR newVal); [propget, id(16), helpstring("property StretchMode")] HRESULT StretchMode([out, retval] ULONG* pVal); [propput, id(16), helpstring("property StretchMode")] HRESULT StretchMode([in] ULONG newVal); [propget, id(17), helpstring("property ScreenHeight")] HRESULT ScreenHeight([out, retval] ULONG* pVal); [propput, id(17), helpstring("property ScreenHeight")] HRESULT ScreenHeight([in] ULONG newVal); [propget, id(18), helpstring("property ConnectingText")] HRESULT ConnectingText([out, retval] BSTR* pVal); [propput, id(18), helpstring("property ConnectingText")] HRESULT ConnectingText([in] BSTR newVal); [propget, id(19), helpstring("property DisconnectingText")] HRESULT DisconnectingText([out, retval] BSTR* pVal); [propput, id(19), helpstring("property DisconnectingText")] HRESULT DisconnectingText([in] BSTR newVal); [propget, id(20), helpstring("property SwapMouseButtons")] HRESULT SwapMouseButtons([out, retval] ULONG* pVal); [propput, id(20), helpstring("property SwapMouseButtons")] HRESULT SwapMouseButtons([in] ULONG newVal); [propget, id(21), helpstring("property AudioRedirection")] HRESULT AudioRedirection([out, retval] ULONG* pVal); [propput, id(21), helpstring("property AudioRedirection")] HRESULT AudioRedirection([in] ULONG newVal); [propget, id(22), helpstring("property SecondaryHostIP")] HRESULT SecondaryHostIP([out, retval] BSTR* pVal); [propput, id(22), helpstring("property SecondaryHostIP")] HRESULT SecondaryHostIP([in] BSTR newVal); [propget, id(23), helpstring("property SecondaryPort")] HRESULT SecondaryPort([out, retval] USHORT* pVal); [propput, id(23), helpstring("property SecondaryPort")] HRESULT SecondaryPort([in] USHORT newVal); [propget, id(24), helpstring("property PollingInterval")] HRESULT PollingInterval([out, retval] ULONG* pVal); [propput, id(24), helpstring("property PollingInterval")] HRESULT PollingInterval([in] ULONG newVal); [propget, id(25), helpstring("property Title")] HRESULT Title([out, retval] BSTR* pVal); [propput, id(25), helpstring("property Title")] HRESULT Title([in] BSTR newVal); [id(26), helpstring("method ConnectAudio")] HRESULT ConnectAudio(void); [id(27), helpstring("method DisconnectAudio")] HRESULT DisconnectAudio(void); [propget, id(28), helpstring("property AudioGuestIP")] HRESULT AudioGuestIP([out, retval] BSTR* pVal); [propput, id(28), helpstring("property AudioGuestIP")] HRESULT AudioGuestIP([in] BSTR newVal); [propget, id(29), helpstring("property AudioGuestPort")] HRESULT AudioGuestPort([out, retval] SHORT* pVal); [propput, id(29), helpstring("property AudioGuestPort")] HRESULT AudioGuestPort([in] SHORT newVal); [id(30), helpstring("method CreateMenu")] HRESULT CreateMenu([in] BSTR MenuResourceString); [id(31), helpstring("method DeleteMenu")] HRESULT DeleteMenu(void); [propget, id(32), helpstring("property multimediaPorts")] HRESULT multimediaPorts([out, retval] BSTR* pVal); [propput, id(32), helpstring("property multimediaPorts")] HRESULT multimediaPorts([in] BSTR newVal); [propget, id(33), helpstring("property DynamicMenu")] HRESULT DynamicMenu([out, retval] BSTR* pVal); [propput, id(33), helpstring("property DynamicMenu")] HRESULT DynamicMenu([in] BSTR newVal); [propget, id(34), helpstring("property Password")] HRESULT Password([out, retval] BSTR* pVal); [propput, id(34), helpstring("property Password")] HRESULT Password([in] BSTR newVal); [propget, id(35), helpstring("property CipherSuite")] HRESULT CipherSuite([out, retval] BSTR* pVal); [propput, id(35), helpstring("property CipherSuite")] HRESULT CipherSuite([in] BSTR newVal); [propget, id(36), helpstring("property NumberOfMonitors")] HRESULT NumberOfMonitors([out, retval] ULONG* pVal); [propput, id(36), helpstring("property NumberOfMonitors")] HRESULT NumberOfMonitors([in] ULONG newVal); [propget, id(37), helpstring("property UsbListenPort")] HRESULT UsbListenPort([out, retval] USHORT* pVal); [propput, id(37), helpstring("property UsbListenPort")] HRESULT UsbListenPort([in] USHORT newVal); [propget, id(38), helpstring("property AdminConsole")] HRESULT AdminConsole([out, retval] BOOL* pVal); [propput, id(38), helpstring("property AdminConsole")] HRESULT AdminConsole([in] BOOL newVal); [id(39), helpstring("method SetUsbFilter")] HRESULT SetUsbFilter([in] BSTR newVal); [propget, id(40), helpstring("property SSLChannels")] HRESULT SSLChannels([out, retval] BSTR* pVal); [propput, id(40), helpstring("property SSLChannels")] HRESULT SSLChannels([in] BSTR newVal); [propget, id(41), helpstring("property SecurePort")] HRESULT SecurePort([out, retval] USHORT* pVal); [propput, id(41), helpstring("property SecurePort")] HRESULT SecurePort([in] USHORT newVal); [propget, id(42), helpstring("property SendCtrlAltDelete")] HRESULT SendCtrlAltDelete([out, retval] BOOL* pVal); [propput, id(42), helpstring("property SendCtrlAltDelete")] HRESULT SendCtrlAltDelete([in] BOOL newVal); [propget, id(43), helpstring("property NoTaskMgrExecution")] HRESULT NoTaskMgrExecution([out, retval] BOOL* pVal); [propput, id(43), helpstring("property NoTaskMgrExecution")] HRESULT NoTaskMgrExecution([in] BOOL newVal); [propget, id(44), helpstring("property GuestHostName")] HRESULT GuestHostName([out, retval] BSTR* pVal); [propput, id(44), helpstring("property GuestHostName")] HRESULT GuestHostName([in] BSTR newVal); [propget, id(45), helpstring("property HotKeys")] HRESULT HotKey([out, retval] BSTR* pVal); [propput, id(45), helpstring("property HotKeys")] HRESULT HotKey([in] BSTR newVal); [propget, id(46), helpstring("property Version")] HRESULT Version([out, retval] BSTR* pVal); [propget, id(47), helpstring("property UsbAutoShare")] HRESULT UsbAutoShare([out, retval] BOOL* pVal); [propput, id(47), helpstring("property UsbAutoShare")] HRESULT UsbAutoShare([in] BOOL newVal); [id(48), helpstring("method SetLanguageStrings")] HRESULT SetLanguageStrings([in] BSTR bzSection, [in] BSTR bzLangStr); [propget, id(49), helpstring("property TrustStore")] HRESULT TrustStore([out, retval] BSTR* pVal); [propput, id(49), helpstring("property TrustStore")] HRESULT TrustStore([in] BSTR newVal); [propget, id(50), helpstring("property HostSubject")] HRESULT HostSubject([out, retval] BSTR* pVal); [propput, id(50), helpstring("property HostSubject")] HRESULT HostSubject([in] BSTR newVal); [propget, id(51), helpstring("property ColorDepth")] HRESULT ColorDepth([out, retval] USHORT* pVal); [propput, id(51), helpstring("property ColorDepth")] HRESULT ColorDepth([in] USHORT newVal); [propget, id(52), helpstring("property DisableEffects")] HRESULT DisableEffects([out, retval] BSTR* pVal); [propput, id(52), helpstring("property DisableEffects")] HRESULT DisableEffects([in] BSTR newVal); [propget, id(53), helpstring("property SmartCard")] HRESULT SmartCard([out, retval] BOOL* pVal); [propput, id(53), helpstring("property SmartCard")] HRESULT SmartCard([in] BOOL newVal); [propget, id(54), helpstring("property Proxy")] HRESULT Proxy([out, retval] BSTR* pVal); [propput, id(54), helpstring("property Proxy")] HRESULT Proxy([in] BSTR newVal); }; [ uuid(24280E9D-5DDB-4C31-84AA-D8E8010BAEB1), version(1.0), helpstring("SpiceX 1.0 Type Library") ] library SpiceXLib { importlib("stdole2.tlb"); [ uuid(3C0CD01E-311F-4B9B-B347-C6E5D6611BE1), helpstring("_IOSpiceXEvents Interface") ] dispinterface _IOSpiceXEvents { properties: methods: [id(1), helpstring("method OnDisconnected")] HRESULT OnDisconnected([in] LONG ErrCode); [id(2), helpstring("method OnMenuItemSelected")] HRESULT OnMenuItemSelected([in] ULONG ulItemID); }; [ #ifdef _WIN64 uuid(ACD6D89C-938D-49B4-8E81-DDBD13F4B48B), #else uuid(ACD6D89C-938D-49B4-8E81-DDBD13F4B48A), #endif control, helpstring("OSpiceX Class") ] coclass OSpiceX { [default] interface IOSpiceX; [default, source] dispinterface _IOSpiceXEvents; }; };