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.

936 lines
32 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 certif.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 __certif_h__
  27. #define __certif_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICertServerPolicy_FWD_DEFINED__
  33. #define __ICertServerPolicy_FWD_DEFINED__
  34. typedef interface ICertServerPolicy ICertServerPolicy;
  35. #endif /* __ICertServerPolicy_FWD_DEFINED__ */
  36. #ifndef __ICertServerExit_FWD_DEFINED__
  37. #define __ICertServerExit_FWD_DEFINED__
  38. typedef interface ICertServerExit ICertServerExit;
  39. #endif /* __ICertServerExit_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "wtypes.h"
  42. #include "oaidl.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. /* interface __MIDL_itf_certif_0000 */
  49. /* [local] */
  50. #define ENUMEXT_OBJECTID ( 0x1 )
  51. extern RPC_IF_HANDLE __MIDL_itf_certif_0000_v0_0_c_ifspec;
  52. extern RPC_IF_HANDLE __MIDL_itf_certif_0000_v0_0_s_ifspec;
  53. #ifndef __ICertServerPolicy_INTERFACE_DEFINED__
  54. #define __ICertServerPolicy_INTERFACE_DEFINED__
  55. /* interface ICertServerPolicy */
  56. /* [unique][helpstring][dual][uuid][object] */
  57. EXTERN_C const IID IID_ICertServerPolicy;
  58. #if defined(__cplusplus) && !defined(CINTERFACE)
  59. MIDL_INTERFACE("aa000922-ffbe-11cf-8800-00a0c903b83c")
  60. ICertServerPolicy : public IDispatch
  61. {
  62. public:
  63. virtual HRESULT STDMETHODCALLTYPE SetContext(
  64. /* [in] */ LONG Context) = 0;
  65. virtual HRESULT STDMETHODCALLTYPE GetRequestProperty(
  66. /* [in] */ const BSTR strPropertyName,
  67. /* [in] */ LONG PropertyType,
  68. /* [retval][out] */ VARIANT *pvarPropertyValue) = 0;
  69. virtual HRESULT STDMETHODCALLTYPE GetRequestAttribute(
  70. /* [in] */ const BSTR strAttributeName,
  71. /* [retval][out] */ BSTR *pstrAttributeValue) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE GetCertificateProperty(
  73. /* [in] */ const BSTR strPropertyName,
  74. /* [in] */ LONG PropertyType,
  75. /* [retval][out] */ VARIANT *pvarPropertyValue) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE SetCertificateProperty(
  77. /* [in] */ const BSTR strPropertyName,
  78. /* [in] */ LONG PropertyType,
  79. /* [in] */ const VARIANT *pvarPropertyValue) = 0;
  80. virtual HRESULT STDMETHODCALLTYPE GetCertificateExtension(
  81. /* [in] */ const BSTR strExtensionName,
  82. /* [in] */ LONG Type,
  83. /* [retval][out] */ VARIANT *pvarValue) = 0;
  84. virtual HRESULT STDMETHODCALLTYPE GetCertificateExtensionFlags(
  85. /* [retval][out] */ LONG *pExtFlags) = 0;
  86. virtual HRESULT STDMETHODCALLTYPE SetCertificateExtension(
  87. /* [in] */ const BSTR strExtensionName,
  88. /* [in] */ LONG Type,
  89. /* [in] */ LONG ExtFlags,
  90. /* [in] */ const VARIANT *pvarValue) = 0;
  91. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensionsSetup(
  92. /* [in] */ LONG Flags) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensions(
  94. /* [retval][out] */ BSTR *pstrExtensionName) = 0;
  95. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensionsClose( void) = 0;
  96. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributesSetup(
  97. /* [in] */ LONG Flags) = 0;
  98. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributes(
  99. /* [retval][out] */ BSTR *pstrAttributeName) = 0;
  100. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributesClose( void) = 0;
  101. };
  102. #else /* C style interface */
  103. typedef struct ICertServerPolicyVtbl
  104. {
  105. BEGIN_INTERFACE
  106. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  107. ICertServerPolicy * This,
  108. /* [in] */ REFIID riid,
  109. /* [iid_is][out] */ void **ppvObject);
  110. ULONG ( STDMETHODCALLTYPE *AddRef )(
  111. ICertServerPolicy * This);
  112. ULONG ( STDMETHODCALLTYPE *Release )(
  113. ICertServerPolicy * This);
  114. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  115. ICertServerPolicy * This,
  116. /* [out] */ UINT *pctinfo);
  117. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  118. ICertServerPolicy * This,
  119. /* [in] */ UINT iTInfo,
  120. /* [in] */ LCID lcid,
  121. /* [out] */ ITypeInfo **ppTInfo);
  122. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  123. ICertServerPolicy * This,
  124. /* [in] */ REFIID riid,
  125. /* [size_is][in] */ LPOLESTR *rgszNames,
  126. /* [in] */ UINT cNames,
  127. /* [in] */ LCID lcid,
  128. /* [size_is][out] */ DISPID *rgDispId);
  129. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  130. ICertServerPolicy * This,
  131. /* [in] */ DISPID dispIdMember,
  132. /* [in] */ REFIID riid,
  133. /* [in] */ LCID lcid,
  134. /* [in] */ WORD wFlags,
  135. /* [out][in] */ DISPPARAMS *pDispParams,
  136. /* [out] */ VARIANT *pVarResult,
  137. /* [out] */ EXCEPINFO *pExcepInfo,
  138. /* [out] */ UINT *puArgErr);
  139. HRESULT ( STDMETHODCALLTYPE *SetContext )(
  140. ICertServerPolicy * This,
  141. /* [in] */ LONG Context);
  142. HRESULT ( STDMETHODCALLTYPE *GetRequestProperty )(
  143. ICertServerPolicy * This,
  144. /* [in] */ const BSTR strPropertyName,
  145. /* [in] */ LONG PropertyType,
  146. /* [retval][out] */ VARIANT *pvarPropertyValue);
  147. HRESULT ( STDMETHODCALLTYPE *GetRequestAttribute )(
  148. ICertServerPolicy * This,
  149. /* [in] */ const BSTR strAttributeName,
  150. /* [retval][out] */ BSTR *pstrAttributeValue);
  151. HRESULT ( STDMETHODCALLTYPE *GetCertificateProperty )(
  152. ICertServerPolicy * This,
  153. /* [in] */ const BSTR strPropertyName,
  154. /* [in] */ LONG PropertyType,
  155. /* [retval][out] */ VARIANT *pvarPropertyValue);
  156. HRESULT ( STDMETHODCALLTYPE *SetCertificateProperty )(
  157. ICertServerPolicy * This,
  158. /* [in] */ const BSTR strPropertyName,
  159. /* [in] */ LONG PropertyType,
  160. /* [in] */ const VARIANT *pvarPropertyValue);
  161. HRESULT ( STDMETHODCALLTYPE *GetCertificateExtension )(
  162. ICertServerPolicy * This,
  163. /* [in] */ const BSTR strExtensionName,
  164. /* [in] */ LONG Type,
  165. /* [retval][out] */ VARIANT *pvarValue);
  166. HRESULT ( STDMETHODCALLTYPE *GetCertificateExtensionFlags )(
  167. ICertServerPolicy * This,
  168. /* [retval][out] */ LONG *pExtFlags);
  169. HRESULT ( STDMETHODCALLTYPE *SetCertificateExtension )(
  170. ICertServerPolicy * This,
  171. /* [in] */ const BSTR strExtensionName,
  172. /* [in] */ LONG Type,
  173. /* [in] */ LONG ExtFlags,
  174. /* [in] */ const VARIANT *pvarValue);
  175. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensionsSetup )(
  176. ICertServerPolicy * This,
  177. /* [in] */ LONG Flags);
  178. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensions )(
  179. ICertServerPolicy * This,
  180. /* [retval][out] */ BSTR *pstrExtensionName);
  181. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensionsClose )(
  182. ICertServerPolicy * This);
  183. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributesSetup )(
  184. ICertServerPolicy * This,
  185. /* [in] */ LONG Flags);
  186. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributes )(
  187. ICertServerPolicy * This,
  188. /* [retval][out] */ BSTR *pstrAttributeName);
  189. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributesClose )(
  190. ICertServerPolicy * This);
  191. END_INTERFACE
  192. } ICertServerPolicyVtbl;
  193. interface ICertServerPolicy
  194. {
  195. CONST_VTBL struct ICertServerPolicyVtbl *lpVtbl;
  196. };
  197. #ifdef COBJMACROS
  198. #define ICertServerPolicy_QueryInterface(This,riid,ppvObject) \
  199. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  200. #define ICertServerPolicy_AddRef(This) \
  201. (This)->lpVtbl -> AddRef(This)
  202. #define ICertServerPolicy_Release(This) \
  203. (This)->lpVtbl -> Release(This)
  204. #define ICertServerPolicy_GetTypeInfoCount(This,pctinfo) \
  205. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  206. #define ICertServerPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  207. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  208. #define ICertServerPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  209. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  210. #define ICertServerPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  211. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  212. #define ICertServerPolicy_SetContext(This,Context) \
  213. (This)->lpVtbl -> SetContext(This,Context)
  214. #define ICertServerPolicy_GetRequestProperty(This,strPropertyName,PropertyType,pvarPropertyValue) \
  215. (This)->lpVtbl -> GetRequestProperty(This,strPropertyName,PropertyType,pvarPropertyValue)
  216. #define ICertServerPolicy_GetRequestAttribute(This,strAttributeName,pstrAttributeValue) \
  217. (This)->lpVtbl -> GetRequestAttribute(This,strAttributeName,pstrAttributeValue)
  218. #define ICertServerPolicy_GetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue) \
  219. (This)->lpVtbl -> GetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue)
  220. #define ICertServerPolicy_SetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue) \
  221. (This)->lpVtbl -> SetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue)
  222. #define ICertServerPolicy_GetCertificateExtension(This,strExtensionName,Type,pvarValue) \
  223. (This)->lpVtbl -> GetCertificateExtension(This,strExtensionName,Type,pvarValue)
  224. #define ICertServerPolicy_GetCertificateExtensionFlags(This,pExtFlags) \
  225. (This)->lpVtbl -> GetCertificateExtensionFlags(This,pExtFlags)
  226. #define ICertServerPolicy_SetCertificateExtension(This,strExtensionName,Type,ExtFlags,pvarValue) \
  227. (This)->lpVtbl -> SetCertificateExtension(This,strExtensionName,Type,ExtFlags,pvarValue)
  228. #define ICertServerPolicy_EnumerateExtensionsSetup(This,Flags) \
  229. (This)->lpVtbl -> EnumerateExtensionsSetup(This,Flags)
  230. #define ICertServerPolicy_EnumerateExtensions(This,pstrExtensionName) \
  231. (This)->lpVtbl -> EnumerateExtensions(This,pstrExtensionName)
  232. #define ICertServerPolicy_EnumerateExtensionsClose(This) \
  233. (This)->lpVtbl -> EnumerateExtensionsClose(This)
  234. #define ICertServerPolicy_EnumerateAttributesSetup(This,Flags) \
  235. (This)->lpVtbl -> EnumerateAttributesSetup(This,Flags)
  236. #define ICertServerPolicy_EnumerateAttributes(This,pstrAttributeName) \
  237. (This)->lpVtbl -> EnumerateAttributes(This,pstrAttributeName)
  238. #define ICertServerPolicy_EnumerateAttributesClose(This) \
  239. (This)->lpVtbl -> EnumerateAttributesClose(This)
  240. #endif /* COBJMACROS */
  241. #endif /* C style interface */
  242. HRESULT STDMETHODCALLTYPE ICertServerPolicy_SetContext_Proxy(
  243. ICertServerPolicy * This,
  244. /* [in] */ LONG Context);
  245. void __RPC_STUB ICertServerPolicy_SetContext_Stub(
  246. IRpcStubBuffer *This,
  247. IRpcChannelBuffer *_pRpcChannelBuffer,
  248. PRPC_MESSAGE _pRpcMessage,
  249. DWORD *_pdwStubPhase);
  250. HRESULT STDMETHODCALLTYPE ICertServerPolicy_GetRequestProperty_Proxy(
  251. ICertServerPolicy * This,
  252. /* [in] */ const BSTR strPropertyName,
  253. /* [in] */ LONG PropertyType,
  254. /* [retval][out] */ VARIANT *pvarPropertyValue);
  255. void __RPC_STUB ICertServerPolicy_GetRequestProperty_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. HRESULT STDMETHODCALLTYPE ICertServerPolicy_GetRequestAttribute_Proxy(
  261. ICertServerPolicy * This,
  262. /* [in] */ const BSTR strAttributeName,
  263. /* [retval][out] */ BSTR *pstrAttributeValue);
  264. void __RPC_STUB ICertServerPolicy_GetRequestAttribute_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE ICertServerPolicy_GetCertificateProperty_Proxy(
  270. ICertServerPolicy * This,
  271. /* [in] */ const BSTR strPropertyName,
  272. /* [in] */ LONG PropertyType,
  273. /* [retval][out] */ VARIANT *pvarPropertyValue);
  274. void __RPC_STUB ICertServerPolicy_GetCertificateProperty_Stub(
  275. IRpcStubBuffer *This,
  276. IRpcChannelBuffer *_pRpcChannelBuffer,
  277. PRPC_MESSAGE _pRpcMessage,
  278. DWORD *_pdwStubPhase);
  279. HRESULT STDMETHODCALLTYPE ICertServerPolicy_SetCertificateProperty_Proxy(
  280. ICertServerPolicy * This,
  281. /* [in] */ const BSTR strPropertyName,
  282. /* [in] */ LONG PropertyType,
  283. /* [in] */ const VARIANT *pvarPropertyValue);
  284. void __RPC_STUB ICertServerPolicy_SetCertificateProperty_Stub(
  285. IRpcStubBuffer *This,
  286. IRpcChannelBuffer *_pRpcChannelBuffer,
  287. PRPC_MESSAGE _pRpcMessage,
  288. DWORD *_pdwStubPhase);
  289. HRESULT STDMETHODCALLTYPE ICertServerPolicy_GetCertificateExtension_Proxy(
  290. ICertServerPolicy * This,
  291. /* [in] */ const BSTR strExtensionName,
  292. /* [in] */ LONG Type,
  293. /* [retval][out] */ VARIANT *pvarValue);
  294. void __RPC_STUB ICertServerPolicy_GetCertificateExtension_Stub(
  295. IRpcStubBuffer *This,
  296. IRpcChannelBuffer *_pRpcChannelBuffer,
  297. PRPC_MESSAGE _pRpcMessage,
  298. DWORD *_pdwStubPhase);
  299. HRESULT STDMETHODCALLTYPE ICertServerPolicy_GetCertificateExtensionFlags_Proxy(
  300. ICertServerPolicy * This,
  301. /* [retval][out] */ LONG *pExtFlags);
  302. void __RPC_STUB ICertServerPolicy_GetCertificateExtensionFlags_Stub(
  303. IRpcStubBuffer *This,
  304. IRpcChannelBuffer *_pRpcChannelBuffer,
  305. PRPC_MESSAGE _pRpcMessage,
  306. DWORD *_pdwStubPhase);
  307. HRESULT STDMETHODCALLTYPE ICertServerPolicy_SetCertificateExtension_Proxy(
  308. ICertServerPolicy * This,
  309. /* [in] */ const BSTR strExtensionName,
  310. /* [in] */ LONG Type,
  311. /* [in] */ LONG ExtFlags,
  312. /* [in] */ const VARIANT *pvarValue);
  313. void __RPC_STUB ICertServerPolicy_SetCertificateExtension_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateExtensionsSetup_Proxy(
  319. ICertServerPolicy * This,
  320. /* [in] */ LONG Flags);
  321. void __RPC_STUB ICertServerPolicy_EnumerateExtensionsSetup_Stub(
  322. IRpcStubBuffer *This,
  323. IRpcChannelBuffer *_pRpcChannelBuffer,
  324. PRPC_MESSAGE _pRpcMessage,
  325. DWORD *_pdwStubPhase);
  326. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateExtensions_Proxy(
  327. ICertServerPolicy * This,
  328. /* [retval][out] */ BSTR *pstrExtensionName);
  329. void __RPC_STUB ICertServerPolicy_EnumerateExtensions_Stub(
  330. IRpcStubBuffer *This,
  331. IRpcChannelBuffer *_pRpcChannelBuffer,
  332. PRPC_MESSAGE _pRpcMessage,
  333. DWORD *_pdwStubPhase);
  334. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateExtensionsClose_Proxy(
  335. ICertServerPolicy * This);
  336. void __RPC_STUB ICertServerPolicy_EnumerateExtensionsClose_Stub(
  337. IRpcStubBuffer *This,
  338. IRpcChannelBuffer *_pRpcChannelBuffer,
  339. PRPC_MESSAGE _pRpcMessage,
  340. DWORD *_pdwStubPhase);
  341. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateAttributesSetup_Proxy(
  342. ICertServerPolicy * This,
  343. /* [in] */ LONG Flags);
  344. void __RPC_STUB ICertServerPolicy_EnumerateAttributesSetup_Stub(
  345. IRpcStubBuffer *This,
  346. IRpcChannelBuffer *_pRpcChannelBuffer,
  347. PRPC_MESSAGE _pRpcMessage,
  348. DWORD *_pdwStubPhase);
  349. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateAttributes_Proxy(
  350. ICertServerPolicy * This,
  351. /* [retval][out] */ BSTR *pstrAttributeName);
  352. void __RPC_STUB ICertServerPolicy_EnumerateAttributes_Stub(
  353. IRpcStubBuffer *This,
  354. IRpcChannelBuffer *_pRpcChannelBuffer,
  355. PRPC_MESSAGE _pRpcMessage,
  356. DWORD *_pdwStubPhase);
  357. HRESULT STDMETHODCALLTYPE ICertServerPolicy_EnumerateAttributesClose_Proxy(
  358. ICertServerPolicy * This);
  359. void __RPC_STUB ICertServerPolicy_EnumerateAttributesClose_Stub(
  360. IRpcStubBuffer *This,
  361. IRpcChannelBuffer *_pRpcChannelBuffer,
  362. PRPC_MESSAGE _pRpcMessage,
  363. DWORD *_pdwStubPhase);
  364. #endif /* __ICertServerPolicy_INTERFACE_DEFINED__ */
  365. #ifndef __ICertServerExit_INTERFACE_DEFINED__
  366. #define __ICertServerExit_INTERFACE_DEFINED__
  367. /* interface ICertServerExit */
  368. /* [unique][helpstring][dual][uuid][object] */
  369. EXTERN_C const IID IID_ICertServerExit;
  370. #if defined(__cplusplus) && !defined(CINTERFACE)
  371. MIDL_INTERFACE("4ba9eb90-732c-11d0-8816-00a0c903b83c")
  372. ICertServerExit : public IDispatch
  373. {
  374. public:
  375. virtual HRESULT STDMETHODCALLTYPE SetContext(
  376. /* [in] */ LONG Context) = 0;
  377. virtual HRESULT STDMETHODCALLTYPE GetRequestProperty(
  378. /* [in] */ const BSTR strPropertyName,
  379. /* [in] */ LONG PropertyType,
  380. /* [retval][out] */ VARIANT *pvarPropertyValue) = 0;
  381. virtual HRESULT STDMETHODCALLTYPE GetRequestAttribute(
  382. /* [in] */ const BSTR strAttributeName,
  383. /* [retval][out] */ BSTR *pstrAttributeValue) = 0;
  384. virtual HRESULT STDMETHODCALLTYPE GetCertificateProperty(
  385. /* [in] */ const BSTR strPropertyName,
  386. /* [in] */ LONG PropertyType,
  387. /* [retval][out] */ VARIANT *pvarPropertyValue) = 0;
  388. virtual HRESULT STDMETHODCALLTYPE GetCertificateExtension(
  389. /* [in] */ const BSTR strExtensionName,
  390. /* [in] */ LONG Type,
  391. /* [retval][out] */ VARIANT *pvarValue) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE GetCertificateExtensionFlags(
  393. /* [retval][out] */ LONG *pExtFlags) = 0;
  394. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensionsSetup(
  395. /* [in] */ LONG Flags) = 0;
  396. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensions(
  397. /* [retval][out] */ BSTR *pstrExtensionName) = 0;
  398. virtual HRESULT STDMETHODCALLTYPE EnumerateExtensionsClose( void) = 0;
  399. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributesSetup(
  400. /* [in] */ LONG Flags) = 0;
  401. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributes(
  402. /* [retval][out] */ BSTR *pstrAttributeName) = 0;
  403. virtual HRESULT STDMETHODCALLTYPE EnumerateAttributesClose( void) = 0;
  404. };
  405. #else /* C style interface */
  406. typedef struct ICertServerExitVtbl
  407. {
  408. BEGIN_INTERFACE
  409. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  410. ICertServerExit * This,
  411. /* [in] */ REFIID riid,
  412. /* [iid_is][out] */ void **ppvObject);
  413. ULONG ( STDMETHODCALLTYPE *AddRef )(
  414. ICertServerExit * This);
  415. ULONG ( STDMETHODCALLTYPE *Release )(
  416. ICertServerExit * This);
  417. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  418. ICertServerExit * This,
  419. /* [out] */ UINT *pctinfo);
  420. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  421. ICertServerExit * This,
  422. /* [in] */ UINT iTInfo,
  423. /* [in] */ LCID lcid,
  424. /* [out] */ ITypeInfo **ppTInfo);
  425. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  426. ICertServerExit * This,
  427. /* [in] */ REFIID riid,
  428. /* [size_is][in] */ LPOLESTR *rgszNames,
  429. /* [in] */ UINT cNames,
  430. /* [in] */ LCID lcid,
  431. /* [size_is][out] */ DISPID *rgDispId);
  432. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  433. ICertServerExit * This,
  434. /* [in] */ DISPID dispIdMember,
  435. /* [in] */ REFIID riid,
  436. /* [in] */ LCID lcid,
  437. /* [in] */ WORD wFlags,
  438. /* [out][in] */ DISPPARAMS *pDispParams,
  439. /* [out] */ VARIANT *pVarResult,
  440. /* [out] */ EXCEPINFO *pExcepInfo,
  441. /* [out] */ UINT *puArgErr);
  442. HRESULT ( STDMETHODCALLTYPE *SetContext )(
  443. ICertServerExit * This,
  444. /* [in] */ LONG Context);
  445. HRESULT ( STDMETHODCALLTYPE *GetRequestProperty )(
  446. ICertServerExit * This,
  447. /* [in] */ const BSTR strPropertyName,
  448. /* [in] */ LONG PropertyType,
  449. /* [retval][out] */ VARIANT *pvarPropertyValue);
  450. HRESULT ( STDMETHODCALLTYPE *GetRequestAttribute )(
  451. ICertServerExit * This,
  452. /* [in] */ const BSTR strAttributeName,
  453. /* [retval][out] */ BSTR *pstrAttributeValue);
  454. HRESULT ( STDMETHODCALLTYPE *GetCertificateProperty )(
  455. ICertServerExit * This,
  456. /* [in] */ const BSTR strPropertyName,
  457. /* [in] */ LONG PropertyType,
  458. /* [retval][out] */ VARIANT *pvarPropertyValue);
  459. HRESULT ( STDMETHODCALLTYPE *GetCertificateExtension )(
  460. ICertServerExit * This,
  461. /* [in] */ const BSTR strExtensionName,
  462. /* [in] */ LONG Type,
  463. /* [retval][out] */ VARIANT *pvarValue);
  464. HRESULT ( STDMETHODCALLTYPE *GetCertificateExtensionFlags )(
  465. ICertServerExit * This,
  466. /* [retval][out] */ LONG *pExtFlags);
  467. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensionsSetup )(
  468. ICertServerExit * This,
  469. /* [in] */ LONG Flags);
  470. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensions )(
  471. ICertServerExit * This,
  472. /* [retval][out] */ BSTR *pstrExtensionName);
  473. HRESULT ( STDMETHODCALLTYPE *EnumerateExtensionsClose )(
  474. ICertServerExit * This);
  475. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributesSetup )(
  476. ICertServerExit * This,
  477. /* [in] */ LONG Flags);
  478. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributes )(
  479. ICertServerExit * This,
  480. /* [retval][out] */ BSTR *pstrAttributeName);
  481. HRESULT ( STDMETHODCALLTYPE *EnumerateAttributesClose )(
  482. ICertServerExit * This);
  483. END_INTERFACE
  484. } ICertServerExitVtbl;
  485. interface ICertServerExit
  486. {
  487. CONST_VTBL struct ICertServerExitVtbl *lpVtbl;
  488. };
  489. #ifdef COBJMACROS
  490. #define ICertServerExit_QueryInterface(This,riid,ppvObject) \
  491. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  492. #define ICertServerExit_AddRef(This) \
  493. (This)->lpVtbl -> AddRef(This)
  494. #define ICertServerExit_Release(This) \
  495. (This)->lpVtbl -> Release(This)
  496. #define ICertServerExit_GetTypeInfoCount(This,pctinfo) \
  497. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  498. #define ICertServerExit_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  499. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  500. #define ICertServerExit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  501. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  502. #define ICertServerExit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  503. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  504. #define ICertServerExit_SetContext(This,Context) \
  505. (This)->lpVtbl -> SetContext(This,Context)
  506. #define ICertServerExit_GetRequestProperty(This,strPropertyName,PropertyType,pvarPropertyValue) \
  507. (This)->lpVtbl -> GetRequestProperty(This,strPropertyName,PropertyType,pvarPropertyValue)
  508. #define ICertServerExit_GetRequestAttribute(This,strAttributeName,pstrAttributeValue) \
  509. (This)->lpVtbl -> GetRequestAttribute(This,strAttributeName,pstrAttributeValue)
  510. #define ICertServerExit_GetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue) \
  511. (This)->lpVtbl -> GetCertificateProperty(This,strPropertyName,PropertyType,pvarPropertyValue)
  512. #define ICertServerExit_GetCertificateExtension(This,strExtensionName,Type,pvarValue) \
  513. (This)->lpVtbl -> GetCertificateExtension(This,strExtensionName,Type,pvarValue)
  514. #define ICertServerExit_GetCertificateExtensionFlags(This,pExtFlags) \
  515. (This)->lpVtbl -> GetCertificateExtensionFlags(This,pExtFlags)
  516. #define ICertServerExit_EnumerateExtensionsSetup(This,Flags) \
  517. (This)->lpVtbl -> EnumerateExtensionsSetup(This,Flags)
  518. #define ICertServerExit_EnumerateExtensions(This,pstrExtensionName) \
  519. (This)->lpVtbl -> EnumerateExtensions(This,pstrExtensionName)
  520. #define ICertServerExit_EnumerateExtensionsClose(This) \
  521. (This)->lpVtbl -> EnumerateExtensionsClose(This)
  522. #define ICertServerExit_EnumerateAttributesSetup(This,Flags) \
  523. (This)->lpVtbl -> EnumerateAttributesSetup(This,Flags)
  524. #define ICertServerExit_EnumerateAttributes(This,pstrAttributeName) \
  525. (This)->lpVtbl -> EnumerateAttributes(This,pstrAttributeName)
  526. #define ICertServerExit_EnumerateAttributesClose(This) \
  527. (This)->lpVtbl -> EnumerateAttributesClose(This)
  528. #endif /* COBJMACROS */
  529. #endif /* C style interface */
  530. HRESULT STDMETHODCALLTYPE ICertServerExit_SetContext_Proxy(
  531. ICertServerExit * This,
  532. /* [in] */ LONG Context);
  533. void __RPC_STUB ICertServerExit_SetContext_Stub(
  534. IRpcStubBuffer *This,
  535. IRpcChannelBuffer *_pRpcChannelBuffer,
  536. PRPC_MESSAGE _pRpcMessage,
  537. DWORD *_pdwStubPhase);
  538. HRESULT STDMETHODCALLTYPE ICertServerExit_GetRequestProperty_Proxy(
  539. ICertServerExit * This,
  540. /* [in] */ const BSTR strPropertyName,
  541. /* [in] */ LONG PropertyType,
  542. /* [retval][out] */ VARIANT *pvarPropertyValue);
  543. void __RPC_STUB ICertServerExit_GetRequestProperty_Stub(
  544. IRpcStubBuffer *This,
  545. IRpcChannelBuffer *_pRpcChannelBuffer,
  546. PRPC_MESSAGE _pRpcMessage,
  547. DWORD *_pdwStubPhase);
  548. HRESULT STDMETHODCALLTYPE ICertServerExit_GetRequestAttribute_Proxy(
  549. ICertServerExit * This,
  550. /* [in] */ const BSTR strAttributeName,
  551. /* [retval][out] */ BSTR *pstrAttributeValue);
  552. void __RPC_STUB ICertServerExit_GetRequestAttribute_Stub(
  553. IRpcStubBuffer *This,
  554. IRpcChannelBuffer *_pRpcChannelBuffer,
  555. PRPC_MESSAGE _pRpcMessage,
  556. DWORD *_pdwStubPhase);
  557. HRESULT STDMETHODCALLTYPE ICertServerExit_GetCertificateProperty_Proxy(
  558. ICertServerExit * This,
  559. /* [in] */ const BSTR strPropertyName,
  560. /* [in] */ LONG PropertyType,
  561. /* [retval][out] */ VARIANT *pvarPropertyValue);
  562. void __RPC_STUB ICertServerExit_GetCertificateProperty_Stub(
  563. IRpcStubBuffer *This,
  564. IRpcChannelBuffer *_pRpcChannelBuffer,
  565. PRPC_MESSAGE _pRpcMessage,
  566. DWORD *_pdwStubPhase);
  567. HRESULT STDMETHODCALLTYPE ICertServerExit_GetCertificateExtension_Proxy(
  568. ICertServerExit * This,
  569. /* [in] */ const BSTR strExtensionName,
  570. /* [in] */ LONG Type,
  571. /* [retval][out] */ VARIANT *pvarValue);
  572. void __RPC_STUB ICertServerExit_GetCertificateExtension_Stub(
  573. IRpcStubBuffer *This,
  574. IRpcChannelBuffer *_pRpcChannelBuffer,
  575. PRPC_MESSAGE _pRpcMessage,
  576. DWORD *_pdwStubPhase);
  577. HRESULT STDMETHODCALLTYPE ICertServerExit_GetCertificateExtensionFlags_Proxy(
  578. ICertServerExit * This,
  579. /* [retval][out] */ LONG *pExtFlags);
  580. void __RPC_STUB ICertServerExit_GetCertificateExtensionFlags_Stub(
  581. IRpcStubBuffer *This,
  582. IRpcChannelBuffer *_pRpcChannelBuffer,
  583. PRPC_MESSAGE _pRpcMessage,
  584. DWORD *_pdwStubPhase);
  585. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateExtensionsSetup_Proxy(
  586. ICertServerExit * This,
  587. /* [in] */ LONG Flags);
  588. void __RPC_STUB ICertServerExit_EnumerateExtensionsSetup_Stub(
  589. IRpcStubBuffer *This,
  590. IRpcChannelBuffer *_pRpcChannelBuffer,
  591. PRPC_MESSAGE _pRpcMessage,
  592. DWORD *_pdwStubPhase);
  593. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateExtensions_Proxy(
  594. ICertServerExit * This,
  595. /* [retval][out] */ BSTR *pstrExtensionName);
  596. void __RPC_STUB ICertServerExit_EnumerateExtensions_Stub(
  597. IRpcStubBuffer *This,
  598. IRpcChannelBuffer *_pRpcChannelBuffer,
  599. PRPC_MESSAGE _pRpcMessage,
  600. DWORD *_pdwStubPhase);
  601. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateExtensionsClose_Proxy(
  602. ICertServerExit * This);
  603. void __RPC_STUB ICertServerExit_EnumerateExtensionsClose_Stub(
  604. IRpcStubBuffer *This,
  605. IRpcChannelBuffer *_pRpcChannelBuffer,
  606. PRPC_MESSAGE _pRpcMessage,
  607. DWORD *_pdwStubPhase);
  608. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateAttributesSetup_Proxy(
  609. ICertServerExit * This,
  610. /* [in] */ LONG Flags);
  611. void __RPC_STUB ICertServerExit_EnumerateAttributesSetup_Stub(
  612. IRpcStubBuffer *This,
  613. IRpcChannelBuffer *_pRpcChannelBuffer,
  614. PRPC_MESSAGE _pRpcMessage,
  615. DWORD *_pdwStubPhase);
  616. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateAttributes_Proxy(
  617. ICertServerExit * This,
  618. /* [retval][out] */ BSTR *pstrAttributeName);
  619. void __RPC_STUB ICertServerExit_EnumerateAttributes_Stub(
  620. IRpcStubBuffer *This,
  621. IRpcChannelBuffer *_pRpcChannelBuffer,
  622. PRPC_MESSAGE _pRpcMessage,
  623. DWORD *_pdwStubPhase);
  624. HRESULT STDMETHODCALLTYPE ICertServerExit_EnumerateAttributesClose_Proxy(
  625. ICertServerExit * This);
  626. void __RPC_STUB ICertServerExit_EnumerateAttributesClose_Stub(
  627. IRpcStubBuffer *This,
  628. IRpcChannelBuffer *_pRpcChannelBuffer,
  629. PRPC_MESSAGE _pRpcMessage,
  630. DWORD *_pdwStubPhase);
  631. #endif /* __ICertServerExit_INTERFACE_DEFINED__ */
  632. /* Additional Prototypes for ALL interfaces */
  633. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  634. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  635. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  636. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  637. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  638. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  639. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  640. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  641. /* end of Additional Prototypes */
  642. #ifdef __cplusplus
  643. }
  644. #endif
  645. #endif