Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.9 KiB

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. RDSCHAN.IDL
  5. Abstract:
  6. Remote Desktopping IDL for Data Channel Management Interfaces
  7. and Classes
  8. Author:
  9. Tad Brockway 02/00
  10. Revision History:
  11. --*/
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. /**
  15. ** ISAFRemoteDesktopDataChannel Interface
  16. **/
  17. cpp_quote("")
  18. cpp_quote("#define DISPID_RDSDATACHANNEL_CHANNELNAME 1")
  19. cpp_quote("#define DISPID_RDSDATACHANNEL_ONCHANNELDATAREADY 2")
  20. cpp_quote("#define DISPID_RDSDATACHANNEL_SENDCHANNELDATA 3")
  21. cpp_quote("#define DISPID_RDSDATACHANNEL_RECEIVECHANNELDATA 4")
  22. cpp_quote("")
  23. #define DISPID_RDSDATACHANNEL_CHANNELNAME 1
  24. #define DISPID_RDSDATACHANNEL_ONCHANNELDATAREADY 2
  25. #define DISPID_RDSDATACHANNEL_SENDCHANNELDATA 3
  26. #define DISPID_RDSDATACHANNEL_RECEIVECHANNELDATA 4
  27. [
  28. object,
  29. uuid(64976FAE-B108-4095-8E59-5874E00E562A),
  30. dual,
  31. helpstring("ISAFRemoteDesktopDataChannel Interface"),
  32. pointer_default(unique)
  33. ]
  34. interface ISAFRemoteDesktopDataChannel : IDispatch
  35. {
  36. [propget, id(DISPID_RDSDATACHANNEL_CHANNELNAME), helpstring("ChannelName")]
  37. HRESULT ChannelName([out, retval]BSTR *name);
  38. [propput, id(DISPID_RDSDATACHANNEL_ONCHANNELDATAREADY), helpstring("OnChannelDataReady")]
  39. HRESULT OnChannelDataReady([in] IDispatch *iDisp);
  40. [id(DISPID_RDSDATACHANNEL_SENDCHANNELDATA), helpstring("method SendChannelData")]
  41. HRESULT SendChannelData([in]BSTR data);
  42. [id(DISPID_RDSDATACHANNEL_RECEIVECHANNELDATA), helpstring("method ReceiveChannelData")]
  43. HRESULT ReceiveChannelData([out, retval]BSTR *data);
  44. };
  45. /**
  46. ** ISAFRemoteDesktopChannelMgr Interface
  47. **/
  48. cpp_quote("")
  49. cpp_quote("#define DISPID_RDSCHANNELMANAGER_OPENDATACHANNEL 1")
  50. cpp_quote("")
  51. #define DISPID_RDSCHANNELMANAGER_OPENDATACHANNEL 1
  52. [
  53. object,
  54. uuid(8E6E0954-33CE-4945-ACF7-6728D23B2067),
  55. dual,
  56. helpstring("ISAFRemoteDesktopChannelMgr Interface"),
  57. pointer_default(unique)
  58. ]
  59. interface ISAFRemoteDesktopChannelMgr : IDispatch
  60. {
  61. [id(DISPID_RDSCHANNELMANAGER_OPENDATACHANNEL), helpstring("method OpenDataChannel")]
  62. HRESULT OpenDataChannel([in] BSTR name, [out, retval] ISAFRemoteDesktopDataChannel **channel);
  63. };
  64. /* TODO: Find a way to define this in a common location, instead of in the client and server IDL
  65. cpp_quote("")
  66. cpp_quote("#define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1")
  67. cpp_quote("")
  68. #define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1
  69. [
  70. uuid(59AE79BC-9721-42df-9396-9D98E7F7A396),
  71. helpstring("_ISAFRemoteDesktopDataChannelEvents Interface")
  72. ]
  73. dispinterface _ISAFRemoteDesktopDataChannelEvents
  74. {
  75. properties:
  76. methods:
  77. [id(DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY), helpstring("method ChannelDataReady")]
  78. void ChannelDataReady([in]BSTR channelName);
  79. };
  80. */