Source code of Windows XP (NT5)
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.

240 lines
7.8 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // (C) Copyright 1998 Microsoft Corporation. All Rights Reserved.
  4. //
  5. // Contents: Declarations for EAP UI interfaces.
  6. //
  7. //----------------------------------------------------------------------------
  8. cpp_quote("//=--------------------------------------------------------------------------=")
  9. cpp_quote("// RRasCfg.h")
  10. cpp_quote("//=--------------------------------------------------------------------------=")
  11. cpp_quote("// (C) Copyright 1998 Microsoft Corporation. All Rights Reserved.")
  12. cpp_quote("//")
  13. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  14. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  15. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  16. cpp_quote("// PARTICULAR PURPOSE.")
  17. cpp_quote("//=--------------------------------------------------------------------------=")
  18. cpp_quote(" ")
  19. import "basetsd.h";
  20. import "wtypes.idl";
  21. typedef BYTE * PBYTE;
  22. /*---------------------------------------------------------------------------
  23. IRouterProtocolConfig
  24. ---------------------------------------------------------------------------*/
  25. [
  26. object,
  27. uuid(66A2DB16-D706-11D0-A37B-00C04FC9DA04),
  28. local,
  29. pointer_default(unique),
  30. ]
  31. interface IRouterProtocolConfig :IUnknown
  32. {
  33. import "unknwn.idl";
  34. HRESULT AddProtocol([in,string] LPCOLESTR pszMachineName,
  35. [in] DWORD dwTransportId,
  36. [in] DWORD dwProtocolId,
  37. [in] HWND hWnd,
  38. [in] DWORD dwFlags,
  39. [in] IUnknown *pRouter,
  40. [in] ULONG_PTR uReserved1);
  41. HRESULT RemoveProtocol([in,string] LPCOLESTR pszMachineName,
  42. [in] DWORD dwTransportId,
  43. [in] DWORD dwProtocolId,
  44. [in] HWND hWnd,
  45. [in] DWORD dwFlags,
  46. [in] IUnknown *pRouter,
  47. [in] ULONG_PTR uReserved1);
  48. };
  49. // a macro to help declare all of the methods
  50. cpp_quote("#define DeclareIRouterProtocolConfigMembers(IPURE) \\")
  51. cpp_quote(" STDMETHOD(AddProtocol)(THIS_ LPCOLESTR pszMachineName,\\")
  52. cpp_quote(" DWORD dwTransportId,\\")
  53. cpp_quote(" DWORD dwProtocolId,\\")
  54. cpp_quote(" HWND hWnd,\\")
  55. cpp_quote(" DWORD dwFlags,\\")
  56. cpp_quote(" IUnknown *pRouter,\\")
  57. cpp_quote(" ULONG_PTR uReserved1) IPURE;\\")
  58. cpp_quote(" STDMETHOD(RemoveProtocol)(THIS_ LPCOLESTR pszMachineName,\\")
  59. cpp_quote(" DWORD dwTransportId,\\")
  60. cpp_quote(" DWORD dwProtocolId,\\")
  61. cpp_quote(" HWND hWnd,\\")
  62. cpp_quote(" DWORD dwFlags,\\")
  63. cpp_quote(" IUnknown *pRouter,\\")
  64. cpp_quote(" ULONG_PTR uReserved2) IPURE;\\")
  65. cpp_quote(" ")
  66. /*---------------------------------------------------------------------------
  67. IAuthenticationProviderConfig
  68. ---------------------------------------------------------------------------*/
  69. [
  70. object,
  71. uuid(66A2DB17-D706-11D0-A37B-00C04FC9DA04),
  72. local,
  73. pointer_default(unique),
  74. ]
  75. interface IAuthenticationProviderConfig :IUnknown
  76. {
  77. import "unknwn.idl";
  78. HRESULT Initialize([in, string] LPCOLESTR pszMachineName,
  79. [out] ULONG_PTR *puConnectionParam);
  80. HRESULT Uninitialize([in] ULONG_PTR uConnectionParam);
  81. HRESULT Configure([in] ULONG_PTR uConnectionParam,
  82. [in] HWND hWnd,
  83. [in] DWORD dwFlags,
  84. [in] ULONG_PTR uReserved1,
  85. [in] ULONG_PTR uReserved2);
  86. HRESULT Activate([in] ULONG_PTR uConnectionParam,
  87. [in] ULONG_PTR uReserved1,
  88. [in] ULONG_PTR uReserved2);
  89. HRESULT Deactivate([in] ULONG_PTR uConnectionParam,
  90. [in] ULONG_PTR uReserved1,
  91. [in] ULONG_PTR uReserved2);
  92. };
  93. // a macro to help declare all of the methods
  94. cpp_quote("#define DeclareIAuthenticationProviderConfigMembers(IPURE) \\")
  95. cpp_quote(" STDMETHOD(Initialize)(THIS_ \\")
  96. cpp_quote(" LPCOLESTR pszMachineName, \\")
  97. cpp_quote(" ULONG_PTR *puConnectionParam) IPURE; \\")
  98. cpp_quote(" STDMETHOD(Uninitialize)(THIS_ \\")
  99. cpp_quote(" ULONG_PTR uConnectionParam) IPURE; \\")
  100. cpp_quote(" \\")
  101. cpp_quote(" STDMETHOD(Configure)(THIS_ \\")
  102. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  103. cpp_quote(" HWND hWnd, \\")
  104. cpp_quote(" DWORD dwFlags, \\")
  105. cpp_quote(" ULONG_PTR uReserved1, \\")
  106. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  107. cpp_quote(" \\")
  108. cpp_quote(" STDMETHOD(Activate)(THIS_ \\")
  109. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  110. cpp_quote(" ULONG_PTR uReserved1, \\")
  111. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  112. cpp_quote(" \\")
  113. cpp_quote(" STDMETHOD(Deactivate)(THIS_ \\")
  114. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  115. cpp_quote(" ULONG_PTR uReserved1, \\")
  116. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  117. cpp_quote(" ")
  118. /*---------------------------------------------------------------------------
  119. IAccountingProviderConfig
  120. ---------------------------------------------------------------------------*/
  121. [
  122. object,
  123. uuid(66A2DB18-D706-11D0-A37B-00C04FC9DA04),
  124. local,
  125. pointer_default(unique),
  126. ]
  127. interface IAccountingProviderConfig :IUnknown
  128. {
  129. import "unknwn.idl";
  130. HRESULT Initialize([in, string] LPCOLESTR pszMachineName,
  131. [out] ULONG_PTR *puConnectionParam);
  132. HRESULT Uninitialize([in] ULONG_PTR uConnectionParam);
  133. HRESULT Configure([in] ULONG_PTR uConnectionParam,
  134. [in] HWND hWnd,
  135. [in] DWORD dwFlags,
  136. [in] ULONG_PTR uReserved1,
  137. [in] ULONG_PTR uReserved2);
  138. HRESULT Activate([in] ULONG_PTR uConnectionParam,
  139. [in] ULONG_PTR uReserved1,
  140. [in] ULONG_PTR uReserved2);
  141. HRESULT Deactivate([in] ULONG_PTR uConnectionParam,
  142. [in] ULONG_PTR uReserved1,
  143. [in] ULONG_PTR uReserved2);
  144. };
  145. // a macro to help declare all of the methods
  146. cpp_quote("#define DeclareIAccountingProviderConfigMembers(IPURE) \\")
  147. cpp_quote(" STDMETHOD(Initialize)(THIS_ \\")
  148. cpp_quote(" LPCOLESTR pszMachineName, \\")
  149. cpp_quote(" ULONG_PTR *puConnectionParam) IPURE; \\")
  150. cpp_quote(" STDMETHOD(Uninitialize)(THIS_ \\")
  151. cpp_quote(" ULONG_PTR uConnectionParam) IPURE; \\")
  152. cpp_quote(" STDMETHOD(Configure)(THIS_ \\")
  153. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  154. cpp_quote(" HWND hWnd, \\")
  155. cpp_quote(" DWORD dwFlags, \\")
  156. cpp_quote(" ULONG_PTR uReserved1, \\")
  157. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  158. cpp_quote(" \\")
  159. cpp_quote(" STDMETHOD(Activate)(THIS_ \\")
  160. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  161. cpp_quote(" ULONG_PTR uReserved1, \\")
  162. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  163. cpp_quote(" \\")
  164. cpp_quote(" STDMETHOD(Deactivate)(THIS_ \\")
  165. cpp_quote(" ULONG_PTR uConnectionParam, \\")
  166. cpp_quote(" ULONG_PTR uReserved1, \\")
  167. cpp_quote(" ULONG_PTR uReserved2) IPURE; \\")
  168. cpp_quote(" ")
  169. /*---------------------------------------------------------------------------
  170. IEAPProviderConfig
  171. ---------------------------------------------------------------------------*/
  172. [
  173. object,
  174. uuid(66A2DB19-D706-11D0-A37B-00C04FC9DA04),
  175. local,
  176. pointer_default(unique),
  177. ]
  178. interface IEAPProviderConfig :IUnknown
  179. {
  180. import "unknwn.idl";
  181. HRESULT Initialize([in, string] LPCOLESTR pszMachineName,
  182. [out] ULONG_PTR *puConnectionParam);
  183. HRESULT Uninitialize([in] ULONG_PTR uConnectionParam);
  184. HRESULT Configure([in] ULONG_PTR uConnectionParam,
  185. [in] HWND hWnd,
  186. [in] ULONG_PTR uReserved1,
  187. [in] ULONG_PTR uReserved2);
  188. };
  189. // a macro to help declare all of the methods
  190. cpp_quote("#define DeclareIEAPProviderConfigMembers(IPURE) \\")
  191. cpp_quote(" STDMETHOD(Initialize)(THIS_ LPCOLESTR pszMachineName, \\")
  192. cpp_quote(" ULONG_PTR *puConnectionParam) IPURE; \\")
  193. cpp_quote(" STDMETHOD(Uninitialize)(THIS_ \\")
  194. cpp_quote(" ULONG_PTR uConnectionParam) IPURE; \\")
  195. cpp_quote(" STDMETHOD(Configure)(THIS_ ULONG_PTR uConnectionParam, \\")
  196. cpp_quote(" HWND hWnd, ULONG_PTR dwRes1, ULONG_PTR dwRes2) IPURE; \\")
  197. cpp_quote(" ")