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.

527 lines
17 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  3. #pragma warning( disable: 4211 ) /* redefine extent to static */
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5. /* File created by MIDL compiler version 6.00.0358 */
  6. /* Compiler settings for admex.idl:
  7. Oicf, W1, Zp8, env=Win32 (32b run)
  8. protocol : dce , ms_ext, c_ext, robust
  9. error checks: allocation ref bounds_check enum stub_data
  10. VC __declspec() decoration level:
  11. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  12. DECLSPEC_UUID(), MIDL_INTERFACE()
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __admex_h__
  29. #define __admex_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __IMSAdminReplication_FWD_DEFINED__
  35. #define __IMSAdminReplication_FWD_DEFINED__
  36. typedef interface IMSAdminReplication IMSAdminReplication;
  37. #endif /* __IMSAdminReplication_FWD_DEFINED__ */
  38. #ifndef __IMSAdminCryptoCapabilities_FWD_DEFINED__
  39. #define __IMSAdminCryptoCapabilities_FWD_DEFINED__
  40. typedef interface IMSAdminCryptoCapabilities IMSAdminCryptoCapabilities;
  41. #endif /* __IMSAdminCryptoCapabilities_FWD_DEFINED__ */
  42. /* header files for imported files */
  43. #include "unknwn.h"
  44. #include "objidl.h"
  45. #include "ocidl.h"
  46. #ifdef __cplusplus
  47. extern "C"{
  48. #endif
  49. void * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void * );
  51. /* interface __MIDL_itf_admex_0000 */
  52. /* [local] */
  53. /*++
  54. Copyright (c) 1997-1999 Microsoft Corporation
  55. Module Name: admex.h
  56. Admin Extension Objects Interfaces
  57. --*/
  58. #ifndef _ADMEX_IADM_
  59. #define _ADMEX_IADM_
  60. DEFINE_GUID(IID_IMSAdminReplication, 0xc804d980, 0xebec, 0x11d0, 0xa6, 0xa0, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);
  61. DEFINE_GUID(IID_IMSAdminCryptoCapabilities, 0x78b64540, 0xf26d, 0x11d0, 0xa6, 0xa3, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);
  62. DEFINE_GUID(CLSID_MSCryptoAdmEx, 0x9f0bd3a0, 0xec01, 0x11d0, 0xa6, 0xa0, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);
  63. /*
  64. The Replication Interface
  65. */
  66. extern RPC_IF_HANDLE __MIDL_itf_admex_0000_v0_0_c_ifspec;
  67. extern RPC_IF_HANDLE __MIDL_itf_admex_0000_v0_0_s_ifspec;
  68. #ifndef __IMSAdminReplication_INTERFACE_DEFINED__
  69. #define __IMSAdminReplication_INTERFACE_DEFINED__
  70. /* interface IMSAdminReplication */
  71. /* [unique][uuid][object] */
  72. EXTERN_C const IID IID_IMSAdminReplication;
  73. #if defined(__cplusplus) && !defined(CINTERFACE)
  74. MIDL_INTERFACE("c804d980-ebec-11d0-a6a0-00a0c922e752")
  75. IMSAdminReplication : public IUnknown
  76. {
  77. public:
  78. virtual HRESULT STDMETHODCALLTYPE GetSignature(
  79. /* [in] */ DWORD dwBufferSize,
  80. /* [size_is][out] */ unsigned char *pbBuffer,
  81. /* [out] */ DWORD *pdwMDRequiredBufferSize) = 0;
  82. virtual HRESULT STDMETHODCALLTYPE Propagate(
  83. /* [in] */ DWORD dwBufferSize,
  84. /* [size_is][in] */ unsigned char *pszBuffer) = 0;
  85. virtual HRESULT STDMETHODCALLTYPE Propagate2(
  86. /* [in] */ DWORD dwBufferSize,
  87. /* [size_is][in] */ unsigned char *pszBuffer,
  88. /* [in] */ DWORD dwSignatureMismatch) = 0;
  89. virtual HRESULT STDMETHODCALLTYPE Serialize(
  90. /* [in] */ DWORD dwBufferSize,
  91. /* [size_is][out] */ unsigned char *pbBuffer,
  92. /* [out] */ DWORD *pdwMDRequiredBufferSize) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE DeSerialize(
  94. /* [in] */ DWORD dwBufferSize,
  95. /* [size_is][in] */ unsigned char *pbBuffer) = 0;
  96. };
  97. #else /* C style interface */
  98. typedef struct IMSAdminReplicationVtbl
  99. {
  100. BEGIN_INTERFACE
  101. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  102. IMSAdminReplication * This,
  103. /* [in] */ REFIID riid,
  104. /* [iid_is][out] */ void **ppvObject);
  105. ULONG ( STDMETHODCALLTYPE *AddRef )(
  106. IMSAdminReplication * This);
  107. ULONG ( STDMETHODCALLTYPE *Release )(
  108. IMSAdminReplication * This);
  109. HRESULT ( STDMETHODCALLTYPE *GetSignature )(
  110. IMSAdminReplication * This,
  111. /* [in] */ DWORD dwBufferSize,
  112. /* [size_is][out] */ unsigned char *pbBuffer,
  113. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  114. HRESULT ( STDMETHODCALLTYPE *Propagate )(
  115. IMSAdminReplication * This,
  116. /* [in] */ DWORD dwBufferSize,
  117. /* [size_is][in] */ unsigned char *pszBuffer);
  118. HRESULT ( STDMETHODCALLTYPE *Propagate2 )(
  119. IMSAdminReplication * This,
  120. /* [in] */ DWORD dwBufferSize,
  121. /* [size_is][in] */ unsigned char *pszBuffer,
  122. /* [in] */ DWORD dwSignatureMismatch);
  123. HRESULT ( STDMETHODCALLTYPE *Serialize )(
  124. IMSAdminReplication * This,
  125. /* [in] */ DWORD dwBufferSize,
  126. /* [size_is][out] */ unsigned char *pbBuffer,
  127. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  128. HRESULT ( STDMETHODCALLTYPE *DeSerialize )(
  129. IMSAdminReplication * This,
  130. /* [in] */ DWORD dwBufferSize,
  131. /* [size_is][in] */ unsigned char *pbBuffer);
  132. END_INTERFACE
  133. } IMSAdminReplicationVtbl;
  134. interface IMSAdminReplication
  135. {
  136. CONST_VTBL struct IMSAdminReplicationVtbl *lpVtbl;
  137. };
  138. #ifdef COBJMACROS
  139. #define IMSAdminReplication_QueryInterface(This,riid,ppvObject) \
  140. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  141. #define IMSAdminReplication_AddRef(This) \
  142. (This)->lpVtbl -> AddRef(This)
  143. #define IMSAdminReplication_Release(This) \
  144. (This)->lpVtbl -> Release(This)
  145. #define IMSAdminReplication_GetSignature(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize) \
  146. (This)->lpVtbl -> GetSignature(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize)
  147. #define IMSAdminReplication_Propagate(This,dwBufferSize,pszBuffer) \
  148. (This)->lpVtbl -> Propagate(This,dwBufferSize,pszBuffer)
  149. #define IMSAdminReplication_Propagate2(This,dwBufferSize,pszBuffer,dwSignatureMismatch) \
  150. (This)->lpVtbl -> Propagate2(This,dwBufferSize,pszBuffer,dwSignatureMismatch)
  151. #define IMSAdminReplication_Serialize(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize) \
  152. (This)->lpVtbl -> Serialize(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize)
  153. #define IMSAdminReplication_DeSerialize(This,dwBufferSize,pbBuffer) \
  154. (This)->lpVtbl -> DeSerialize(This,dwBufferSize,pbBuffer)
  155. #endif /* COBJMACROS */
  156. #endif /* C style interface */
  157. HRESULT STDMETHODCALLTYPE IMSAdminReplication_GetSignature_Proxy(
  158. IMSAdminReplication * This,
  159. /* [in] */ DWORD dwBufferSize,
  160. /* [size_is][out] */ unsigned char *pbBuffer,
  161. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  162. void __RPC_STUB IMSAdminReplication_GetSignature_Stub(
  163. IRpcStubBuffer *This,
  164. IRpcChannelBuffer *_pRpcChannelBuffer,
  165. PRPC_MESSAGE _pRpcMessage,
  166. DWORD *_pdwStubPhase);
  167. HRESULT STDMETHODCALLTYPE IMSAdminReplication_Propagate_Proxy(
  168. IMSAdminReplication * This,
  169. /* [in] */ DWORD dwBufferSize,
  170. /* [size_is][in] */ unsigned char *pszBuffer);
  171. void __RPC_STUB IMSAdminReplication_Propagate_Stub(
  172. IRpcStubBuffer *This,
  173. IRpcChannelBuffer *_pRpcChannelBuffer,
  174. PRPC_MESSAGE _pRpcMessage,
  175. DWORD *_pdwStubPhase);
  176. HRESULT STDMETHODCALLTYPE IMSAdminReplication_Propagate2_Proxy(
  177. IMSAdminReplication * This,
  178. /* [in] */ DWORD dwBufferSize,
  179. /* [size_is][in] */ unsigned char *pszBuffer,
  180. /* [in] */ DWORD dwSignatureMismatch);
  181. void __RPC_STUB IMSAdminReplication_Propagate2_Stub(
  182. IRpcStubBuffer *This,
  183. IRpcChannelBuffer *_pRpcChannelBuffer,
  184. PRPC_MESSAGE _pRpcMessage,
  185. DWORD *_pdwStubPhase);
  186. HRESULT STDMETHODCALLTYPE IMSAdminReplication_Serialize_Proxy(
  187. IMSAdminReplication * This,
  188. /* [in] */ DWORD dwBufferSize,
  189. /* [size_is][out] */ unsigned char *pbBuffer,
  190. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  191. void __RPC_STUB IMSAdminReplication_Serialize_Stub(
  192. IRpcStubBuffer *This,
  193. IRpcChannelBuffer *_pRpcChannelBuffer,
  194. PRPC_MESSAGE _pRpcMessage,
  195. DWORD *_pdwStubPhase);
  196. HRESULT STDMETHODCALLTYPE IMSAdminReplication_DeSerialize_Proxy(
  197. IMSAdminReplication * This,
  198. /* [in] */ DWORD dwBufferSize,
  199. /* [size_is][in] */ unsigned char *pbBuffer);
  200. void __RPC_STUB IMSAdminReplication_DeSerialize_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. #endif /* __IMSAdminReplication_INTERFACE_DEFINED__ */
  206. /* interface __MIDL_itf_admex_0255 */
  207. /* [local] */
  208. /*
  209. The Crypto capabilities Interface
  210. */
  211. extern RPC_IF_HANDLE __MIDL_itf_admex_0255_v0_0_c_ifspec;
  212. extern RPC_IF_HANDLE __MIDL_itf_admex_0255_v0_0_s_ifspec;
  213. #ifndef __IMSAdminCryptoCapabilities_INTERFACE_DEFINED__
  214. #define __IMSAdminCryptoCapabilities_INTERFACE_DEFINED__
  215. /* interface IMSAdminCryptoCapabilities */
  216. /* [unique][uuid][object] */
  217. EXTERN_C const IID IID_IMSAdminCryptoCapabilities;
  218. #if defined(__cplusplus) && !defined(CINTERFACE)
  219. MIDL_INTERFACE("78b64540-f26d-11d0-a6a3-00a0c922e752")
  220. IMSAdminCryptoCapabilities : public IUnknown
  221. {
  222. public:
  223. virtual HRESULT STDMETHODCALLTYPE GetProtocols(
  224. /* [in] */ DWORD dwBufferSize,
  225. /* [size_is][out] */ unsigned char *pbBuffer,
  226. /* [out] */ DWORD *pdwMDRequiredBufferSize) = 0;
  227. virtual HRESULT STDMETHODCALLTYPE GetMaximumCipherStrength(
  228. /* [out] */ LPDWORD pdwMaximumCipherStrength) = 0;
  229. virtual HRESULT STDMETHODCALLTYPE GetRootCertificates(
  230. /* [in] */ DWORD dwBufferSize,
  231. /* [size_is][out] */ unsigned char *pbBuffer,
  232. /* [out] */ DWORD *pdwMDRequiredBufferSize) = 0;
  233. virtual HRESULT STDMETHODCALLTYPE GetSupportedAlgs(
  234. /* [in] */ DWORD dwBufferSize,
  235. /* [size_is][out] */ DWORD *pbBuffer,
  236. /* [out] */ DWORD *pdwMDRequiredBufferSize) = 0;
  237. virtual HRESULT STDMETHODCALLTYPE SetCAList(
  238. /* [in] */ DWORD dwBufferSize,
  239. /* [size_is][in] */ unsigned char *pbBuffer) = 0;
  240. };
  241. #else /* C style interface */
  242. typedef struct IMSAdminCryptoCapabilitiesVtbl
  243. {
  244. BEGIN_INTERFACE
  245. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  246. IMSAdminCryptoCapabilities * This,
  247. /* [in] */ REFIID riid,
  248. /* [iid_is][out] */ void **ppvObject);
  249. ULONG ( STDMETHODCALLTYPE *AddRef )(
  250. IMSAdminCryptoCapabilities * This);
  251. ULONG ( STDMETHODCALLTYPE *Release )(
  252. IMSAdminCryptoCapabilities * This);
  253. HRESULT ( STDMETHODCALLTYPE *GetProtocols )(
  254. IMSAdminCryptoCapabilities * This,
  255. /* [in] */ DWORD dwBufferSize,
  256. /* [size_is][out] */ unsigned char *pbBuffer,
  257. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  258. HRESULT ( STDMETHODCALLTYPE *GetMaximumCipherStrength )(
  259. IMSAdminCryptoCapabilities * This,
  260. /* [out] */ LPDWORD pdwMaximumCipherStrength);
  261. HRESULT ( STDMETHODCALLTYPE *GetRootCertificates )(
  262. IMSAdminCryptoCapabilities * This,
  263. /* [in] */ DWORD dwBufferSize,
  264. /* [size_is][out] */ unsigned char *pbBuffer,
  265. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  266. HRESULT ( STDMETHODCALLTYPE *GetSupportedAlgs )(
  267. IMSAdminCryptoCapabilities * This,
  268. /* [in] */ DWORD dwBufferSize,
  269. /* [size_is][out] */ DWORD *pbBuffer,
  270. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  271. HRESULT ( STDMETHODCALLTYPE *SetCAList )(
  272. IMSAdminCryptoCapabilities * This,
  273. /* [in] */ DWORD dwBufferSize,
  274. /* [size_is][in] */ unsigned char *pbBuffer);
  275. END_INTERFACE
  276. } IMSAdminCryptoCapabilitiesVtbl;
  277. interface IMSAdminCryptoCapabilities
  278. {
  279. CONST_VTBL struct IMSAdminCryptoCapabilitiesVtbl *lpVtbl;
  280. };
  281. #ifdef COBJMACROS
  282. #define IMSAdminCryptoCapabilities_QueryInterface(This,riid,ppvObject) \
  283. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  284. #define IMSAdminCryptoCapabilities_AddRef(This) \
  285. (This)->lpVtbl -> AddRef(This)
  286. #define IMSAdminCryptoCapabilities_Release(This) \
  287. (This)->lpVtbl -> Release(This)
  288. #define IMSAdminCryptoCapabilities_GetProtocols(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize) \
  289. (This)->lpVtbl -> GetProtocols(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize)
  290. #define IMSAdminCryptoCapabilities_GetMaximumCipherStrength(This,pdwMaximumCipherStrength) \
  291. (This)->lpVtbl -> GetMaximumCipherStrength(This,pdwMaximumCipherStrength)
  292. #define IMSAdminCryptoCapabilities_GetRootCertificates(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize) \
  293. (This)->lpVtbl -> GetRootCertificates(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize)
  294. #define IMSAdminCryptoCapabilities_GetSupportedAlgs(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize) \
  295. (This)->lpVtbl -> GetSupportedAlgs(This,dwBufferSize,pbBuffer,pdwMDRequiredBufferSize)
  296. #define IMSAdminCryptoCapabilities_SetCAList(This,dwBufferSize,pbBuffer) \
  297. (This)->lpVtbl -> SetCAList(This,dwBufferSize,pbBuffer)
  298. #endif /* COBJMACROS */
  299. #endif /* C style interface */
  300. HRESULT STDMETHODCALLTYPE IMSAdminCryptoCapabilities_GetProtocols_Proxy(
  301. IMSAdminCryptoCapabilities * This,
  302. /* [in] */ DWORD dwBufferSize,
  303. /* [size_is][out] */ unsigned char *pbBuffer,
  304. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  305. void __RPC_STUB IMSAdminCryptoCapabilities_GetProtocols_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. HRESULT STDMETHODCALLTYPE IMSAdminCryptoCapabilities_GetMaximumCipherStrength_Proxy(
  311. IMSAdminCryptoCapabilities * This,
  312. /* [out] */ LPDWORD pdwMaximumCipherStrength);
  313. void __RPC_STUB IMSAdminCryptoCapabilities_GetMaximumCipherStrength_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. HRESULT STDMETHODCALLTYPE IMSAdminCryptoCapabilities_GetRootCertificates_Proxy(
  319. IMSAdminCryptoCapabilities * This,
  320. /* [in] */ DWORD dwBufferSize,
  321. /* [size_is][out] */ unsigned char *pbBuffer,
  322. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  323. void __RPC_STUB IMSAdminCryptoCapabilities_GetRootCertificates_Stub(
  324. IRpcStubBuffer *This,
  325. IRpcChannelBuffer *_pRpcChannelBuffer,
  326. PRPC_MESSAGE _pRpcMessage,
  327. DWORD *_pdwStubPhase);
  328. HRESULT STDMETHODCALLTYPE IMSAdminCryptoCapabilities_GetSupportedAlgs_Proxy(
  329. IMSAdminCryptoCapabilities * This,
  330. /* [in] */ DWORD dwBufferSize,
  331. /* [size_is][out] */ DWORD *pbBuffer,
  332. /* [out] */ DWORD *pdwMDRequiredBufferSize);
  333. void __RPC_STUB IMSAdminCryptoCapabilities_GetSupportedAlgs_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. HRESULT STDMETHODCALLTYPE IMSAdminCryptoCapabilities_SetCAList_Proxy(
  339. IMSAdminCryptoCapabilities * This,
  340. /* [in] */ DWORD dwBufferSize,
  341. /* [size_is][in] */ unsigned char *pbBuffer);
  342. void __RPC_STUB IMSAdminCryptoCapabilities_SetCAList_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. #endif /* __IMSAdminCryptoCapabilities_INTERFACE_DEFINED__ */
  348. /* interface __MIDL_itf_admex_0256 */
  349. /* [local] */
  350. #endif
  351. extern RPC_IF_HANDLE __MIDL_itf_admex_0256_v0_0_c_ifspec;
  352. extern RPC_IF_HANDLE __MIDL_itf_admex_0256_v0_0_s_ifspec;
  353. /* Additional Prototypes for ALL interfaces */
  354. /* end of Additional Prototypes */
  355. #ifdef __cplusplus
  356. }
  357. #endif
  358. #endif