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.

132 lines
5.3 KiB

  1. // rcbdyctl.idl : IDL source for rcbdyctl.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (rcbdyctl.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "..\\im_inc\\sessions.idl";
  8. #include "olectl.h"
  9. [
  10. object,
  11. uuid(99E44F56-CC5C-4009-9E98-DA485D411DC1),
  12. dual,
  13. helpstring("IMsgBox Interface"),
  14. pointer_default(unique)
  15. ]
  16. interface IMsgBox : IDispatch
  17. {
  18. [id(1), helpstring("method DeleteTicketMsgBox")] HRESULT DeleteTicketMsgBox([out,retval]BOOL *pRetVal);
  19. [id(2), helpstring("method ShowTicketDetails")] HRESULT ShowTicketDetails([in]BSTR bstrTitleSavedTo, [in] BSTR bstrSavedTo, [in] BSTR bstrExpTime, [in] BSTR bstrStatus, [in] BSTR bstrIsPwdProtected);
  20. };
  21. [
  22. object,
  23. uuid(f3d16de6-045b-48cc-87ac-8ab75974685d),
  24. dual,
  25. helpstring("IIMSession Interface"),
  26. pointer_default(unique)
  27. ]
  28. interface IIMSession : IDispatch
  29. {
  30. [propput, id(1), helpstring("property OnSessionStatus")] HRESULT OnSessionStatus([in] IDispatch *pfn);
  31. [id(2), helpstring("Send Expert Ticket")] HRESULT SendOutExpertTicket(BSTR bstrTicket);
  32. [propget, id(3), helpstring("property ReceivedUserTicket")] HRESULT ReceivedUserTicket([out, retval] BSTR* pbstrVal);
  33. [propget, id(4), helpstring("property User")] HRESULT User([out, retval] IDispatch** ppUser);
  34. [id(5), helpstring("Send Invitation")] HRESULT HSC_Invite([in] IDispatch *pUser);
  35. [id(7), helpstring("ProcessContext")] HRESULT ProcessContext([in] BSTR pContext);
  36. [id(8), helpstring("Close RA Window")] HRESULT CloseRA();
  37. [id(9), helpstring("property GetLaunchingSession")] HRESULT GetLaunchingSession([in] LONG ID);
  38. [id(10), helpstring("HookUp existing session object")] HRESULT Hook(IMsgrSession*, HWND);
  39. [id(11), helpstring("Notify inviter/recipient")] HRESULT Notify(int);
  40. [id(12), helpstring("ContextDataProperty")] HRESULT ContextDataProperty([in] BSTR pName, [out, retval] BSTR* ppValue);
  41. [propget, id(13), helpstring("IsInviter")] HRESULT IsInviter([out, retval] BOOL* ppValue);
  42. [id(14), helpstring("UninitObjects")] HRESULT UninitObjects();
  43. };
  44. [
  45. object,
  46. uuid(11685FCA-2787-4235-ACE5-AA92AF5DD900),
  47. dual,
  48. helpstring("Ismapi Interface"),
  49. pointer_default(unique)
  50. ]
  51. interface Ismapi : IDispatch
  52. {
  53. [id(1), helpstring("method Logon")] HRESULT Logon([out,retval]ULONG *plRet);
  54. [id(2), helpstring("method Logoff")] HRESULT Logoff();
  55. [id(6), helpstring("method SendMail")] HRESULT SendMail([out, retval] LONG* plStatus);
  56. [propget, id(8), helpstring("property Subject")] HRESULT Subject([out, retval] BSTR *pVal);
  57. [propput, id(8), helpstring("property Subject")] HRESULT Subject([in] BSTR newVal);
  58. [propget, id(9), helpstring("property Body")] HRESULT Body([out, retval] BSTR *pVal);
  59. [propput, id(9), helpstring("property Body")] HRESULT Body([in] BSTR newVal);
  60. [propget, id(10), helpstring("property AttachedXMLFile")] HRESULT AttachedXMLFile([out, retval] BSTR *pVal);
  61. [propput, id(10), helpstring("property AttachedXMLFile")] HRESULT AttachedXMLFile([in] BSTR newVal);
  62. };
  63. [
  64. object,
  65. uuid(22FF2143-D949-47ed-B912-AADE1E3B67F3),
  66. dual,
  67. helpstring("ISetting Interface"),
  68. pointer_default(unique)
  69. ]
  70. interface ISetting : IDispatch
  71. {
  72. [propget, id(1), helpstring("property GetIPAddress")] HRESULT GetIPAddress([out, retval] BSTR *pVal);
  73. //[propget, id(2), helpstring("property GetUserTempFileName")] HRESULT GetUserTempFileName([out, retval] BSTR *pVal);
  74. //[id(3), helpstring("method GetProfileString")] HRESULT GetProfileString([in] BSTR section, [out, retval] BSTR* pVal);
  75. //[id(4), helpstring("method SetProfileString")] HRESULT SetProfileString([in] BSTR section, [in] BSTR newVal);
  76. [propget, id(5), helpstring("property CreatePassword")] HRESULT CreatePassword([out, retval] BSTR *pVal);
  77. [propget, id(6), helpstring("property GetPropertyInBlob")] HRESULT GetPropertyInBlob([in] BSTR bstrBlob, [in] BSTR bstrName, [out, retval] BSTR *pVal);
  78. [id(7), helpstring("SquishAddress")] HRESULT SquishAddress([in] BSTR IP, [out, retval] BSTR *pVal);
  79. [id(8), helpstring("ExpandAddress")] HRESULT ExpandAddress([in] BSTR IP, [out, retval] BSTR *pVal);
  80. };
  81. [
  82. uuid(D149C2B1-25BB-4D8C-9684-2696FDA4AF60),
  83. version(1.0),
  84. helpstring("rcbdyctl 1.0 Type Library")
  85. ]
  86. library RCBDYCTLLib
  87. {
  88. importlib("stdole32.tlb");
  89. importlib("stdole2.tlb");
  90. [
  91. uuid(a93bf5a1-443d-48fe-921a-244d3afa7ed4),
  92. helpstring("IMSession Class")
  93. ]
  94. coclass IMSession
  95. {
  96. [default] interface IIMSession;
  97. };
  98. [
  99. uuid(5E7C299F-6EAD-4F6D-AFC0-B6972931517D),
  100. helpstring("smapi Class")
  101. ]
  102. coclass smapi
  103. {
  104. [default] interface Ismapi;
  105. };
  106. [
  107. uuid(BFB3EC07-A552-4f57-9CC5-06B02205C566),
  108. helpstring("Setting Class")
  109. ]
  110. coclass Setting
  111. {
  112. [default] interface ISetting;
  113. };
  114. [
  115. uuid(07ACE060-1846-4AA0-8A2C-ACDAD3924C36),
  116. helpstring("MsgBox Class")
  117. ]
  118. coclass MsgBox
  119. {
  120. [default] interface IMsgBox;
  121. };
  122. };