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.

107 lines
3.8 KiB

  1. // RAssistance.idl : IDL source for RAssistance.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (RAssistance.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(08C8B592-FDD0-423C-9FD2-7D8C055EC5B3),
  10. dual,
  11. helpstring("IRASettingProperty Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IRASettingProperty : IDispatch
  15. {
  16. [propget, id(1), helpstring("property IsCancelled")] HRESULT IsCancelled([out, retval] BOOL *pVal);
  17. [propput, id(1), helpstring("property IsCancelled")] HRESULT IsCancelled(BOOL bVal);
  18. [propget, id(2), helpstring("property IsChanged")] HRESULT IsChanged([out, retval] BOOL *pVal);
  19. [id(3), helpstring("method Init")] HRESULT Init();
  20. [id(4), helpstring("method SetRegSetting")] HRESULT SetRegSetting();
  21. [id(5), helpstring("method ShowDialogBox")] HRESULT ShowDialogBox(HWND hWndParent);
  22. };
  23. [
  24. object,
  25. uuid(2464AA8D-7099-4C22-925C-81A4EB1FCFFE),
  26. dual,
  27. helpstring("IRARegSetting Interface"),
  28. pointer_default(unique)
  29. ]
  30. interface IRARegSetting : IDispatch
  31. {
  32. [propget, id(1), helpstring("property AllowGetHelp")] HRESULT AllowGetHelp([out, retval] BOOL *pVal);
  33. [propput, id(1), helpstring("property AllowGetHelp")] HRESULT AllowGetHelp([in] BOOL newVal);
  34. [propget, id(2), helpstring("property AllowUnSolicited")] HRESULT AllowUnSolicited([out, retval] BOOL *pVal);
  35. [propput, id(2), helpstring("property AllowUnSolicited")] HRESULT AllowUnSolicited([in] BOOL newVal);
  36. [propget, id(3), helpstring("property AllowFullControl")] HRESULT AllowFullControl([out, retval] BOOL *pVal);
  37. [propput, id(3), helpstring("property AllowFullControl")] HRESULT AllowFullControl([in] BOOL newVal);
  38. [propget, id(4), helpstring("property MaxTicketExpiry")] HRESULT MaxTicketExpiry([out, retval] LONG *pVal);
  39. [propput, id(4), helpstring("property MaxTicketExpiry")] HRESULT MaxTicketExpiry([in] LONG newVal);
  40. [propget, id(5), helpstring("property AllowRemoteAssistance")] HRESULT AllowRemoteAssistance([out, retval] BOOL *pVal);
  41. [propput, id(5), helpstring("property AllowRemoteAssistance")] HRESULT AllowRemoteAssistance([in] BOOL newVal);
  42. [propget, id(6), helpstring("property AllowUnSolicitedFullControl")] HRESULT AllowUnSolicitedFullControl([out, retval] BOOL* pVal);
  43. [propget, id(7), helpstring("property AllowBuddyHelp")] HRESULT AllowBuddyHelp([out, retval] BOOL* pVal);
  44. [propget, id(8), helpstring("property AllowGetHelpCPL")] HRESULT AllowGetHelpCPL([out, retval] BOOL *pVal);
  45. };
  46. [
  47. object,
  48. uuid(0ae5fe86-c02a-4214-b985-357aba40f085),
  49. dual,
  50. helpstring("IRAEventLog Interface"),
  51. pointer_default(unique)
  52. ]
  53. interface IRAEventLog : IDispatch
  54. {
  55. //
  56. // Event log, Can't use optional parameter or RPC will
  57. // throw an exception, can't use defaultvalue, default
  58. // value works with VB not with C++.
  59. //
  60. [id(1), helpstring("method LogRemoteAssistanceEvent")]
  61. HRESULT
  62. LogRemoteAssistanceEvent(
  63. [in] LONG ulEventType,
  64. [in] LONG ulEventCode,
  65. [in] VARIANT* EventString
  66. );
  67. };
  68. [
  69. uuid(5190C4AF-AB0F-4235-B12F-D5A8FA3F854B),
  70. version(1.0),
  71. helpstring("RAssistance 1.0 Type Library")
  72. ]
  73. library RASSISTANCELib
  74. {
  75. importlib("stdole32.tlb");
  76. importlib("stdole2.tlb");
  77. [
  78. uuid(4D317113-C6EC-406A-9C61-20E891BC37F7),
  79. helpstring("RASettingProperty Class")
  80. ]
  81. coclass RASettingProperty
  82. {
  83. [default] interface IRASettingProperty;
  84. };
  85. [
  86. uuid(70FF37C0-F39A-4B26-AE5E-638EF296D490),
  87. helpstring("RARegSetting Class")
  88. ]
  89. coclass RARegSetting
  90. {
  91. [default] interface IRARegSetting;
  92. };
  93. [
  94. uuid(4fadcfea-0971-4575-a368-a2de9d2ed07d),
  95. helpstring("RAEventLog Class")
  96. ]
  97. coclass RAEventLog
  98. {
  99. [default] interface IRAEventLog;
  100. };
  101. };