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.

455 lines
14 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for certpol.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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__ 475
  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 __certpol_h__
  27. #define __certpol_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICertPolicy_FWD_DEFINED__
  33. #define __ICertPolicy_FWD_DEFINED__
  34. typedef interface ICertPolicy ICertPolicy;
  35. #endif /* __ICertPolicy_FWD_DEFINED__ */
  36. #ifndef __ICertPolicy2_FWD_DEFINED__
  37. #define __ICertPolicy2_FWD_DEFINED__
  38. typedef interface ICertPolicy2 ICertPolicy2;
  39. #endif /* __ICertPolicy2_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "wtypes.h"
  42. #include "certmod.h"
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif
  46. void * __RPC_USER MIDL_user_allocate(size_t);
  47. void __RPC_USER MIDL_user_free( void * );
  48. #ifndef __ICertPolicy_INTERFACE_DEFINED__
  49. #define __ICertPolicy_INTERFACE_DEFINED__
  50. /* interface ICertPolicy */
  51. /* [unique][helpstring][dual][uuid][object] */
  52. EXTERN_C const IID IID_ICertPolicy;
  53. #if defined(__cplusplus) && !defined(CINTERFACE)
  54. MIDL_INTERFACE("38bb5a00-7636-11d0-b413-00a0c91bbf8c")
  55. ICertPolicy : public IDispatch
  56. {
  57. public:
  58. virtual HRESULT STDMETHODCALLTYPE Initialize(
  59. /* [in] */ const BSTR strConfig) = 0;
  60. virtual HRESULT STDMETHODCALLTYPE VerifyRequest(
  61. /* [in] */ const BSTR strConfig,
  62. /* [in] */ LONG Context,
  63. /* [in] */ LONG bNewRequest,
  64. /* [in] */ LONG Flags,
  65. /* [retval][out] */ LONG *pDisposition) = 0;
  66. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  67. /* [retval][out] */ BSTR *pstrDescription) = 0;
  68. virtual HRESULT STDMETHODCALLTYPE ShutDown( void) = 0;
  69. };
  70. #else /* C style interface */
  71. typedef struct ICertPolicyVtbl
  72. {
  73. BEGIN_INTERFACE
  74. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  75. ICertPolicy * This,
  76. /* [in] */ REFIID riid,
  77. /* [iid_is][out] */ void **ppvObject);
  78. ULONG ( STDMETHODCALLTYPE *AddRef )(
  79. ICertPolicy * This);
  80. ULONG ( STDMETHODCALLTYPE *Release )(
  81. ICertPolicy * This);
  82. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  83. ICertPolicy * This,
  84. /* [out] */ UINT *pctinfo);
  85. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  86. ICertPolicy * This,
  87. /* [in] */ UINT iTInfo,
  88. /* [in] */ LCID lcid,
  89. /* [out] */ ITypeInfo **ppTInfo);
  90. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  91. ICertPolicy * This,
  92. /* [in] */ REFIID riid,
  93. /* [size_is][in] */ LPOLESTR *rgszNames,
  94. /* [in] */ UINT cNames,
  95. /* [in] */ LCID lcid,
  96. /* [size_is][out] */ DISPID *rgDispId);
  97. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  98. ICertPolicy * This,
  99. /* [in] */ DISPID dispIdMember,
  100. /* [in] */ REFIID riid,
  101. /* [in] */ LCID lcid,
  102. /* [in] */ WORD wFlags,
  103. /* [out][in] */ DISPPARAMS *pDispParams,
  104. /* [out] */ VARIANT *pVarResult,
  105. /* [out] */ EXCEPINFO *pExcepInfo,
  106. /* [out] */ UINT *puArgErr);
  107. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  108. ICertPolicy * This,
  109. /* [in] */ const BSTR strConfig);
  110. HRESULT ( STDMETHODCALLTYPE *VerifyRequest )(
  111. ICertPolicy * This,
  112. /* [in] */ const BSTR strConfig,
  113. /* [in] */ LONG Context,
  114. /* [in] */ LONG bNewRequest,
  115. /* [in] */ LONG Flags,
  116. /* [retval][out] */ LONG *pDisposition);
  117. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  118. ICertPolicy * This,
  119. /* [retval][out] */ BSTR *pstrDescription);
  120. HRESULT ( STDMETHODCALLTYPE *ShutDown )(
  121. ICertPolicy * This);
  122. END_INTERFACE
  123. } ICertPolicyVtbl;
  124. interface ICertPolicy
  125. {
  126. CONST_VTBL struct ICertPolicyVtbl *lpVtbl;
  127. };
  128. #ifdef COBJMACROS
  129. #define ICertPolicy_QueryInterface(This,riid,ppvObject) \
  130. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  131. #define ICertPolicy_AddRef(This) \
  132. (This)->lpVtbl -> AddRef(This)
  133. #define ICertPolicy_Release(This) \
  134. (This)->lpVtbl -> Release(This)
  135. #define ICertPolicy_GetTypeInfoCount(This,pctinfo) \
  136. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  137. #define ICertPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  138. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  139. #define ICertPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  140. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  141. #define ICertPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  142. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  143. #define ICertPolicy_Initialize(This,strConfig) \
  144. (This)->lpVtbl -> Initialize(This,strConfig)
  145. #define ICertPolicy_VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition) \
  146. (This)->lpVtbl -> VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)
  147. #define ICertPolicy_GetDescription(This,pstrDescription) \
  148. (This)->lpVtbl -> GetDescription(This,pstrDescription)
  149. #define ICertPolicy_ShutDown(This) \
  150. (This)->lpVtbl -> ShutDown(This)
  151. #endif /* COBJMACROS */
  152. #endif /* C style interface */
  153. HRESULT STDMETHODCALLTYPE ICertPolicy_Initialize_Proxy(
  154. ICertPolicy * This,
  155. /* [in] */ const BSTR strConfig);
  156. void __RPC_STUB ICertPolicy_Initialize_Stub(
  157. IRpcStubBuffer *This,
  158. IRpcChannelBuffer *_pRpcChannelBuffer,
  159. PRPC_MESSAGE _pRpcMessage,
  160. DWORD *_pdwStubPhase);
  161. HRESULT STDMETHODCALLTYPE ICertPolicy_VerifyRequest_Proxy(
  162. ICertPolicy * This,
  163. /* [in] */ const BSTR strConfig,
  164. /* [in] */ LONG Context,
  165. /* [in] */ LONG bNewRequest,
  166. /* [in] */ LONG Flags,
  167. /* [retval][out] */ LONG *pDisposition);
  168. void __RPC_STUB ICertPolicy_VerifyRequest_Stub(
  169. IRpcStubBuffer *This,
  170. IRpcChannelBuffer *_pRpcChannelBuffer,
  171. PRPC_MESSAGE _pRpcMessage,
  172. DWORD *_pdwStubPhase);
  173. HRESULT STDMETHODCALLTYPE ICertPolicy_GetDescription_Proxy(
  174. ICertPolicy * This,
  175. /* [retval][out] */ BSTR *pstrDescription);
  176. void __RPC_STUB ICertPolicy_GetDescription_Stub(
  177. IRpcStubBuffer *This,
  178. IRpcChannelBuffer *_pRpcChannelBuffer,
  179. PRPC_MESSAGE _pRpcMessage,
  180. DWORD *_pdwStubPhase);
  181. HRESULT STDMETHODCALLTYPE ICertPolicy_ShutDown_Proxy(
  182. ICertPolicy * This);
  183. void __RPC_STUB ICertPolicy_ShutDown_Stub(
  184. IRpcStubBuffer *This,
  185. IRpcChannelBuffer *_pRpcChannelBuffer,
  186. PRPC_MESSAGE _pRpcMessage,
  187. DWORD *_pdwStubPhase);
  188. #endif /* __ICertPolicy_INTERFACE_DEFINED__ */
  189. #ifndef __ICertPolicy2_INTERFACE_DEFINED__
  190. #define __ICertPolicy2_INTERFACE_DEFINED__
  191. /* interface ICertPolicy2 */
  192. /* [unique][helpstring][dual][uuid][object] */
  193. EXTERN_C const IID IID_ICertPolicy2;
  194. #if defined(__cplusplus) && !defined(CINTERFACE)
  195. MIDL_INTERFACE("3db4910e-8001-4bf1-aa1b-f43a808317a0")
  196. ICertPolicy2 : public ICertPolicy
  197. {
  198. public:
  199. virtual HRESULT STDMETHODCALLTYPE GetManageModule(
  200. /* [retval][out] */ ICertManageModule **ppManageModule) = 0;
  201. };
  202. #else /* C style interface */
  203. typedef struct ICertPolicy2Vtbl
  204. {
  205. BEGIN_INTERFACE
  206. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  207. ICertPolicy2 * This,
  208. /* [in] */ REFIID riid,
  209. /* [iid_is][out] */ void **ppvObject);
  210. ULONG ( STDMETHODCALLTYPE *AddRef )(
  211. ICertPolicy2 * This);
  212. ULONG ( STDMETHODCALLTYPE *Release )(
  213. ICertPolicy2 * This);
  214. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  215. ICertPolicy2 * This,
  216. /* [out] */ UINT *pctinfo);
  217. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  218. ICertPolicy2 * This,
  219. /* [in] */ UINT iTInfo,
  220. /* [in] */ LCID lcid,
  221. /* [out] */ ITypeInfo **ppTInfo);
  222. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  223. ICertPolicy2 * This,
  224. /* [in] */ REFIID riid,
  225. /* [size_is][in] */ LPOLESTR *rgszNames,
  226. /* [in] */ UINT cNames,
  227. /* [in] */ LCID lcid,
  228. /* [size_is][out] */ DISPID *rgDispId);
  229. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  230. ICertPolicy2 * This,
  231. /* [in] */ DISPID dispIdMember,
  232. /* [in] */ REFIID riid,
  233. /* [in] */ LCID lcid,
  234. /* [in] */ WORD wFlags,
  235. /* [out][in] */ DISPPARAMS *pDispParams,
  236. /* [out] */ VARIANT *pVarResult,
  237. /* [out] */ EXCEPINFO *pExcepInfo,
  238. /* [out] */ UINT *puArgErr);
  239. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  240. ICertPolicy2 * This,
  241. /* [in] */ const BSTR strConfig);
  242. HRESULT ( STDMETHODCALLTYPE *VerifyRequest )(
  243. ICertPolicy2 * This,
  244. /* [in] */ const BSTR strConfig,
  245. /* [in] */ LONG Context,
  246. /* [in] */ LONG bNewRequest,
  247. /* [in] */ LONG Flags,
  248. /* [retval][out] */ LONG *pDisposition);
  249. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  250. ICertPolicy2 * This,
  251. /* [retval][out] */ BSTR *pstrDescription);
  252. HRESULT ( STDMETHODCALLTYPE *ShutDown )(
  253. ICertPolicy2 * This);
  254. HRESULT ( STDMETHODCALLTYPE *GetManageModule )(
  255. ICertPolicy2 * This,
  256. /* [retval][out] */ ICertManageModule **ppManageModule);
  257. END_INTERFACE
  258. } ICertPolicy2Vtbl;
  259. interface ICertPolicy2
  260. {
  261. CONST_VTBL struct ICertPolicy2Vtbl *lpVtbl;
  262. };
  263. #ifdef COBJMACROS
  264. #define ICertPolicy2_QueryInterface(This,riid,ppvObject) \
  265. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  266. #define ICertPolicy2_AddRef(This) \
  267. (This)->lpVtbl -> AddRef(This)
  268. #define ICertPolicy2_Release(This) \
  269. (This)->lpVtbl -> Release(This)
  270. #define ICertPolicy2_GetTypeInfoCount(This,pctinfo) \
  271. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  272. #define ICertPolicy2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  273. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  274. #define ICertPolicy2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  275. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  276. #define ICertPolicy2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  277. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  278. #define ICertPolicy2_Initialize(This,strConfig) \
  279. (This)->lpVtbl -> Initialize(This,strConfig)
  280. #define ICertPolicy2_VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition) \
  281. (This)->lpVtbl -> VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)
  282. #define ICertPolicy2_GetDescription(This,pstrDescription) \
  283. (This)->lpVtbl -> GetDescription(This,pstrDescription)
  284. #define ICertPolicy2_ShutDown(This) \
  285. (This)->lpVtbl -> ShutDown(This)
  286. #define ICertPolicy2_GetManageModule(This,ppManageModule) \
  287. (This)->lpVtbl -> GetManageModule(This,ppManageModule)
  288. #endif /* COBJMACROS */
  289. #endif /* C style interface */
  290. HRESULT STDMETHODCALLTYPE ICertPolicy2_GetManageModule_Proxy(
  291. ICertPolicy2 * This,
  292. /* [retval][out] */ ICertManageModule **ppManageModule);
  293. void __RPC_STUB ICertPolicy2_GetManageModule_Stub(
  294. IRpcStubBuffer *This,
  295. IRpcChannelBuffer *_pRpcChannelBuffer,
  296. PRPC_MESSAGE _pRpcMessage,
  297. DWORD *_pdwStubPhase);
  298. #endif /* __ICertPolicy2_INTERFACE_DEFINED__ */
  299. /* Additional Prototypes for ALL interfaces */
  300. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  301. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  302. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  303. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  304. /* end of Additional Prototypes */
  305. #ifdef __cplusplus
  306. }
  307. #endif
  308. #endif