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.

525 lines
17 KiB

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