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.

141 lines
4.2 KiB

  1. // tsuserex.idl : IDL source for tsexusrm.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (tsexusrm.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "mmc.idl";
  8. [
  9. uuid(45413F04-DF86-11D1-AE27-00C04FA35813),
  10. version(1.0),
  11. helpstring("tsexusrm 1.0 Type Library")
  12. ]
  13. library TSUSEREXLib
  14. {
  15. importlib("stdole2.tlb");
  16. [
  17. uuid(0910dd01-df8c-11d1-ae27-00c04fa35813),
  18. helpstring("TSUserEx Interfaces")
  19. ]
  20. coclass TSUserExInterfaces
  21. {
  22. // actually we want to export IExtendPropertySheet2 interface
  23. // But doing so here we get error in mmc.h
  24. // hence just list unknown here.
  25. [default] interface IUnknown;
  26. };
  27. #ifdef _RTM_
  28. [
  29. uuid(728041AB-CE1A-406C-90E1-A2FB08922E22),
  30. helpstring("TSCopy Class")
  31. ]
  32. coclass ExtCopyNoUI
  33. {
  34. [default] interface IUnknown;
  35. };
  36. #endif
  37. [
  38. object,
  39. uuid(C4930E79-2989-4462-8A60-2FCF2F2955EF),
  40. dual,
  41. helpstring("IADsTSUserEx Interface"),
  42. pointer_default(unique)
  43. ]
  44. interface IADsTSUserEx : IDispatch
  45. {
  46. ////////////////////////////////////////////////////////////
  47. // Parameter: ProfilePath
  48. ////////////////////////////////////////////////////////////
  49. [propget, id(1)]
  50. HRESULT TerminalServicesProfilePath([out, retval] BSTR* pVal);
  51. [propput, id(1)]
  52. HRESULT TerminalServicesProfilePath([in] BSTR pNewVal);
  53. [propget, id(2)]
  54. HRESULT TerminalServicesHomeDirectory([out, retval] BSTR* pVal);
  55. [propput, id(2)]
  56. HRESULT TerminalServicesHomeDirectory([in] BSTR pNewVal);
  57. [propget, id(3)]
  58. HRESULT TerminalServicesHomeDrive([out, retval] BSTR* pVal);
  59. [propput, id(3)]
  60. HRESULT TerminalServicesHomeDrive([in] BSTR pNewVal);
  61. [propget, id(4)]
  62. HRESULT AllowLogon([out, retval] LONG* pVal);
  63. [propput, id(4)]
  64. HRESULT AllowLogon([in] LONG NewVal);
  65. [propget, id(5)]
  66. HRESULT EnableRemoteControl([out, retval] LONG* pVal);
  67. [propput, id(5)]
  68. HRESULT EnableRemoteControl([in] LONG NewVal);
  69. [propget, id(6)]
  70. HRESULT MaxDisconnectionTime([out, retval] LONG* pVal);
  71. [propput, id(6)]
  72. HRESULT MaxDisconnectionTime([in] LONG NewVal);
  73. [propget, id(7)]
  74. HRESULT MaxConnectionTime([out, retval] LONG* pVal);
  75. [propput, id(7)]
  76. HRESULT MaxConnectionTime([in] LONG NewVal);
  77. [propget, id(8)]
  78. HRESULT MaxIdleTime([out, retval] LONG* pVal);
  79. [propput, id(8)]
  80. HRESULT MaxIdleTime([in] LONG NewVal);
  81. [propget, id(9)]
  82. HRESULT ReconnectionAction([out, retval] LONG* pNewVal);
  83. [propput, id(9)]
  84. HRESULT ReconnectionAction([in] LONG NewVal);
  85. [propget, id(10)]
  86. HRESULT BrokenConnectionAction([out, retval] LONG* pNewVal);
  87. [propput, id(10)]
  88. HRESULT BrokenConnectionAction([in] LONG NewVal);
  89. [propget, id(11)]
  90. HRESULT ConnectClientDrivesAtLogon([out, retval] LONG* pNewVal);
  91. [propput, id(11)]
  92. HRESULT ConnectClientDrivesAtLogon([in] LONG NewVal);
  93. [propget, id(12)]
  94. HRESULT ConnectClientPrintersAtLogon([out, retval] LONG* pVal);
  95. [propput, id(12)]
  96. HRESULT ConnectClientPrintersAtLogon([in] LONG NewVal);
  97. [propget, id(13)]
  98. HRESULT DefaultToMainPrinter([out, retval] LONG* pVal);
  99. [propput, id(13)]
  100. HRESULT DefaultToMainPrinter([in] LONG NewVal);
  101. [propget, id(14)]
  102. HRESULT TerminalServicesWorkDirectory([out, retval] BSTR* pVal);
  103. [propput, id(14)]
  104. HRESULT TerminalServicesWorkDirectory([in] BSTR pNewVal);
  105. [propget, id(15)]
  106. HRESULT TerminalServicesInitialProgram([out, retval] BSTR* pVal);
  107. [propput, id(15)]
  108. HRESULT TerminalServicesInitialProgram([in] BSTR pNewVal);
  109. };
  110. [
  111. uuid(E2E9CAE6-1E7B-4B8E-BABD-E9BF6292AC29),
  112. helpstring("ADsTSUserEx Class")
  113. ]
  114. coclass ADsTSUserEx
  115. {
  116. [default] interface IADsTSUserEx;
  117. };
  118. };