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.

846 lines
25 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.02.88 */
  3. /* at Thu Jun 05 08:58:34 1997
  4. */
  5. /* Compiler settings for certcli.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __certcli_h__
  17. #define __certcli_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __ICertGetConfig_FWD_DEFINED__
  23. #define __ICertGetConfig_FWD_DEFINED__
  24. typedef interface ICertGetConfig ICertGetConfig;
  25. #endif /* __ICertGetConfig_FWD_DEFINED__ */
  26. #ifndef __ICertConfig_FWD_DEFINED__
  27. #define __ICertConfig_FWD_DEFINED__
  28. typedef interface ICertConfig ICertConfig;
  29. #endif /* __ICertConfig_FWD_DEFINED__ */
  30. #ifndef __ICertRequest_FWD_DEFINED__
  31. #define __ICertRequest_FWD_DEFINED__
  32. typedef interface ICertRequest ICertRequest;
  33. #endif /* __ICertRequest_FWD_DEFINED__ */
  34. #ifndef __CCertGetConfig_FWD_DEFINED__
  35. #define __CCertGetConfig_FWD_DEFINED__
  36. #ifdef __cplusplus
  37. typedef class CCertGetConfig CCertGetConfig;
  38. #else
  39. typedef struct CCertGetConfig CCertGetConfig;
  40. #endif /* __cplusplus */
  41. #endif /* __CCertGetConfig_FWD_DEFINED__ */
  42. #ifndef __CCertConfig_FWD_DEFINED__
  43. #define __CCertConfig_FWD_DEFINED__
  44. #ifdef __cplusplus
  45. typedef class CCertConfig CCertConfig;
  46. #else
  47. typedef struct CCertConfig CCertConfig;
  48. #endif /* __cplusplus */
  49. #endif /* __CCertConfig_FWD_DEFINED__ */
  50. #ifndef __CCertRequest_FWD_DEFINED__
  51. #define __CCertRequest_FWD_DEFINED__
  52. #ifdef __cplusplus
  53. typedef class CCertRequest CCertRequest;
  54. #else
  55. typedef struct CCertRequest CCertRequest;
  56. #endif /* __cplusplus */
  57. #endif /* __CCertRequest_FWD_DEFINED__ */
  58. /* header files for imported files */
  59. #include "wtypes.h"
  60. #include "oaidl.h"
  61. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  62. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  63. #ifndef __ICertGetConfig_INTERFACE_DEFINED__
  64. #define __ICertGetConfig_INTERFACE_DEFINED__
  65. /****************************************
  66. * Generated header for interface: ICertGetConfig
  67. * at Thu Jun 05 08:58:34 1997
  68. * using MIDL 3.02.88
  69. ****************************************/
  70. /* [unique][helpstring][dual][uuid][object] */
  71. EXTERN_C const IID IID_ICertGetConfig;
  72. #if defined(__cplusplus) && !defined(CINTERFACE)
  73. interface DECLSPEC_UUID("c7ea09c0-ce17-11d0-8833-00a0c903b83c")
  74. ICertGetConfig : public IDispatch
  75. {
  76. public:
  77. virtual HRESULT STDMETHODCALLTYPE GetConfig(
  78. /* [in] */ LONG Flags,
  79. /* [retval][out] */ BSTR __RPC_FAR *pstrOut) = 0;
  80. };
  81. #else /* C style interface */
  82. typedef struct ICertGetConfigVtbl
  83. {
  84. BEGIN_INTERFACE
  85. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  86. ICertGetConfig __RPC_FAR * This,
  87. /* [in] */ REFIID riid,
  88. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  89. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  90. ICertGetConfig __RPC_FAR * This);
  91. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  92. ICertGetConfig __RPC_FAR * This);
  93. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  94. ICertGetConfig __RPC_FAR * This,
  95. /* [out] */ UINT __RPC_FAR *pctinfo);
  96. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  97. ICertGetConfig __RPC_FAR * This,
  98. /* [in] */ UINT iTInfo,
  99. /* [in] */ LCID lcid,
  100. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  101. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  102. ICertGetConfig __RPC_FAR * This,
  103. /* [in] */ REFIID riid,
  104. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  105. /* [in] */ UINT cNames,
  106. /* [in] */ LCID lcid,
  107. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  108. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  109. ICertGetConfig __RPC_FAR * This,
  110. /* [in] */ DISPID dispIdMember,
  111. /* [in] */ REFIID riid,
  112. /* [in] */ LCID lcid,
  113. /* [in] */ WORD wFlags,
  114. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  115. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  116. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  117. /* [out] */ UINT __RPC_FAR *puArgErr);
  118. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfig )(
  119. ICertGetConfig __RPC_FAR * This,
  120. /* [in] */ LONG Flags,
  121. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  122. END_INTERFACE
  123. } ICertGetConfigVtbl;
  124. interface ICertGetConfig
  125. {
  126. CONST_VTBL struct ICertGetConfigVtbl __RPC_FAR *lpVtbl;
  127. };
  128. #ifdef COBJMACROS
  129. #define ICertGetConfig_QueryInterface(This,riid,ppvObject) \
  130. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  131. #define ICertGetConfig_AddRef(This) \
  132. (This)->lpVtbl -> AddRef(This)
  133. #define ICertGetConfig_Release(This) \
  134. (This)->lpVtbl -> Release(This)
  135. #define ICertGetConfig_GetTypeInfoCount(This,pctinfo) \
  136. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  137. #define ICertGetConfig_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  138. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  139. #define ICertGetConfig_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  140. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  141. #define ICertGetConfig_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 ICertGetConfig_GetConfig(This,Flags,pstrOut) \
  144. (This)->lpVtbl -> GetConfig(This,Flags,pstrOut)
  145. #endif /* COBJMACROS */
  146. #endif /* C style interface */
  147. HRESULT STDMETHODCALLTYPE ICertGetConfig_GetConfig_Proxy(
  148. ICertGetConfig __RPC_FAR * This,
  149. /* [in] */ LONG Flags,
  150. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  151. void __RPC_STUB ICertGetConfig_GetConfig_Stub(
  152. IRpcStubBuffer *This,
  153. IRpcChannelBuffer *_pRpcChannelBuffer,
  154. PRPC_MESSAGE _pRpcMessage,
  155. DWORD *_pdwStubPhase);
  156. #endif /* __ICertGetConfig_INTERFACE_DEFINED__ */
  157. #ifndef __ICertConfig_INTERFACE_DEFINED__
  158. #define __ICertConfig_INTERFACE_DEFINED__
  159. /****************************************
  160. * Generated header for interface: ICertConfig
  161. * at Thu Jun 05 08:58:34 1997
  162. * using MIDL 3.02.88
  163. ****************************************/
  164. /* [unique][helpstring][dual][uuid][object] */
  165. EXTERN_C const IID IID_ICertConfig;
  166. #if defined(__cplusplus) && !defined(CINTERFACE)
  167. interface DECLSPEC_UUID("372fce34-4324-11d0-8810-00a0c903b83c")
  168. ICertConfig : public IDispatch
  169. {
  170. public:
  171. virtual HRESULT STDMETHODCALLTYPE Reset(
  172. /* [in] */ LONG Index,
  173. /* [retval][out] */ LONG __RPC_FAR *pCount) = 0;
  174. virtual HRESULT STDMETHODCALLTYPE Next(
  175. /* [retval][out] */ LONG __RPC_FAR *pIndex) = 0;
  176. virtual HRESULT STDMETHODCALLTYPE GetField(
  177. /* [in] */ const BSTR strFieldName,
  178. /* [retval][out] */ BSTR __RPC_FAR *pstrOut) = 0;
  179. virtual HRESULT STDMETHODCALLTYPE GetConfig(
  180. /* [in] */ LONG Flags,
  181. /* [retval][out] */ BSTR __RPC_FAR *pstrOut) = 0;
  182. };
  183. #else /* C style interface */
  184. typedef struct ICertConfigVtbl
  185. {
  186. BEGIN_INTERFACE
  187. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  188. ICertConfig __RPC_FAR * This,
  189. /* [in] */ REFIID riid,
  190. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  191. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  192. ICertConfig __RPC_FAR * This);
  193. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  194. ICertConfig __RPC_FAR * This);
  195. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  196. ICertConfig __RPC_FAR * This,
  197. /* [out] */ UINT __RPC_FAR *pctinfo);
  198. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  199. ICertConfig __RPC_FAR * This,
  200. /* [in] */ UINT iTInfo,
  201. /* [in] */ LCID lcid,
  202. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  203. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  204. ICertConfig __RPC_FAR * This,
  205. /* [in] */ REFIID riid,
  206. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  207. /* [in] */ UINT cNames,
  208. /* [in] */ LCID lcid,
  209. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  210. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  211. ICertConfig __RPC_FAR * This,
  212. /* [in] */ DISPID dispIdMember,
  213. /* [in] */ REFIID riid,
  214. /* [in] */ LCID lcid,
  215. /* [in] */ WORD wFlags,
  216. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  217. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  218. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  219. /* [out] */ UINT __RPC_FAR *puArgErr);
  220. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  221. ICertConfig __RPC_FAR * This,
  222. /* [in] */ LONG Index,
  223. /* [retval][out] */ LONG __RPC_FAR *pCount);
  224. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  225. ICertConfig __RPC_FAR * This,
  226. /* [retval][out] */ LONG __RPC_FAR *pIndex);
  227. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetField )(
  228. ICertConfig __RPC_FAR * This,
  229. /* [in] */ const BSTR strFieldName,
  230. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  231. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfig )(
  232. ICertConfig __RPC_FAR * This,
  233. /* [in] */ LONG Flags,
  234. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  235. END_INTERFACE
  236. } ICertConfigVtbl;
  237. interface ICertConfig
  238. {
  239. CONST_VTBL struct ICertConfigVtbl __RPC_FAR *lpVtbl;
  240. };
  241. #ifdef COBJMACROS
  242. #define ICertConfig_QueryInterface(This,riid,ppvObject) \
  243. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  244. #define ICertConfig_AddRef(This) \
  245. (This)->lpVtbl -> AddRef(This)
  246. #define ICertConfig_Release(This) \
  247. (This)->lpVtbl -> Release(This)
  248. #define ICertConfig_GetTypeInfoCount(This,pctinfo) \
  249. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  250. #define ICertConfig_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  251. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  252. #define ICertConfig_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  253. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  254. #define ICertConfig_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  255. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  256. #define ICertConfig_Reset(This,Index,pCount) \
  257. (This)->lpVtbl -> Reset(This,Index,pCount)
  258. #define ICertConfig_Next(This,pIndex) \
  259. (This)->lpVtbl -> Next(This,pIndex)
  260. #define ICertConfig_GetField(This,strFieldName,pstrOut) \
  261. (This)->lpVtbl -> GetField(This,strFieldName,pstrOut)
  262. #define ICertConfig_GetConfig(This,Flags,pstrOut) \
  263. (This)->lpVtbl -> GetConfig(This,Flags,pstrOut)
  264. #endif /* COBJMACROS */
  265. #endif /* C style interface */
  266. HRESULT STDMETHODCALLTYPE ICertConfig_Reset_Proxy(
  267. ICertConfig __RPC_FAR * This,
  268. /* [in] */ LONG Index,
  269. /* [retval][out] */ LONG __RPC_FAR *pCount);
  270. void __RPC_STUB ICertConfig_Reset_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. HRESULT STDMETHODCALLTYPE ICertConfig_Next_Proxy(
  276. ICertConfig __RPC_FAR * This,
  277. /* [retval][out] */ LONG __RPC_FAR *pIndex);
  278. void __RPC_STUB ICertConfig_Next_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. HRESULT STDMETHODCALLTYPE ICertConfig_GetField_Proxy(
  284. ICertConfig __RPC_FAR * This,
  285. /* [in] */ const BSTR strFieldName,
  286. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  287. void __RPC_STUB ICertConfig_GetField_Stub(
  288. IRpcStubBuffer *This,
  289. IRpcChannelBuffer *_pRpcChannelBuffer,
  290. PRPC_MESSAGE _pRpcMessage,
  291. DWORD *_pdwStubPhase);
  292. HRESULT STDMETHODCALLTYPE ICertConfig_GetConfig_Proxy(
  293. ICertConfig __RPC_FAR * This,
  294. /* [in] */ LONG Flags,
  295. /* [retval][out] */ BSTR __RPC_FAR *pstrOut);
  296. void __RPC_STUB ICertConfig_GetConfig_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. #endif /* __ICertConfig_INTERFACE_DEFINED__ */
  302. /****************************************
  303. * Generated header for interface: __MIDL_itf_certcli_0092
  304. * at Thu Jun 05 08:58:34 1997
  305. * using MIDL 3.02.88
  306. ****************************************/
  307. /* [local] */
  308. #define CR_IN_BASE64HEADER ( 0 )
  309. #define CR_IN_BASE64 ( 0x1 )
  310. #define CR_IN_BINARY ( 0x2 )
  311. #define CR_IN_ENCODEMASK ( 0xff )
  312. #define CR_IN_PKCS10 ( 0x100 )
  313. #define CR_IN_KEYGEN ( 0x200 )
  314. #define CR_IN_FORMATMASK ( 0xff00 )
  315. #define CR_IN_ENCRYPTED_REQUEST ( 0x10000 )
  316. #define CR_IN_ENCRYPTED_ATTRIBUTES ( 0x20000 )
  317. #define CR_DISP_INCOMPLETE ( 0 )
  318. #define CR_DISP_ERROR ( 0x1 )
  319. #define CR_DISP_DENIED ( 0x2 )
  320. #define CR_DISP_ISSUED ( 0x3 )
  321. #define CR_DISP_ISSUED_OUT_OF_BAND ( 0x4 )
  322. #define CR_DISP_UNDER_SUBMISSION ( 0x5 )
  323. #define CR_OUT_BASE64HEADER ( 0 )
  324. #define CR_OUT_BASE64 ( 0x1 )
  325. #define CR_OUT_BINARY ( 0x2 )
  326. #define CR_OUT_ENCODEMASK ( 0xff )
  327. #define CR_OUT_CHAIN ( 0x100 )
  328. extern RPC_IF_HANDLE __MIDL_itf_certcli_0092_v0_0_c_ifspec;
  329. extern RPC_IF_HANDLE __MIDL_itf_certcli_0092_v0_0_s_ifspec;
  330. #ifndef __ICertRequest_INTERFACE_DEFINED__
  331. #define __ICertRequest_INTERFACE_DEFINED__
  332. /****************************************
  333. * Generated header for interface: ICertRequest
  334. * at Thu Jun 05 08:58:34 1997
  335. * using MIDL 3.02.88
  336. ****************************************/
  337. /* [unique][helpstring][dual][uuid][object] */
  338. EXTERN_C const IID IID_ICertRequest;
  339. #if defined(__cplusplus) && !defined(CINTERFACE)
  340. interface DECLSPEC_UUID("014e4840-5523-11d0-8812-00a0c903b83c")
  341. ICertRequest : public IDispatch
  342. {
  343. public:
  344. virtual HRESULT STDMETHODCALLTYPE Submit(
  345. /* [in] */ LONG Flags,
  346. /* [in] */ const BSTR strRequest,
  347. /* [in] */ const BSTR strAttributes,
  348. /* [in] */ const BSTR strConfig,
  349. /* [retval][out] */ LONG __RPC_FAR *pDisposition) = 0;
  350. virtual HRESULT STDMETHODCALLTYPE RetrievePending(
  351. /* [in] */ LONG RequestId,
  352. /* [in] */ const BSTR strConfig,
  353. /* [retval][out] */ LONG __RPC_FAR *pDisposition) = 0;
  354. virtual HRESULT STDMETHODCALLTYPE GetLastStatus(
  355. /* [retval][out] */ LONG __RPC_FAR *pStatus) = 0;
  356. virtual HRESULT STDMETHODCALLTYPE GetRequestId(
  357. /* [retval][out] */ LONG __RPC_FAR *pRequestId) = 0;
  358. virtual HRESULT STDMETHODCALLTYPE GetDispositionMessage(
  359. /* [retval][out] */ BSTR __RPC_FAR *pstrDispositionMessage) = 0;
  360. virtual HRESULT STDMETHODCALLTYPE GetCACertificate(
  361. /* [in] */ LONG fExchangeCertificate,
  362. /* [in] */ const BSTR strConfig,
  363. /* [in] */ LONG Flags,
  364. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate) = 0;
  365. virtual HRESULT STDMETHODCALLTYPE GetCertificate(
  366. /* [in] */ LONG Flags,
  367. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate) = 0;
  368. };
  369. #else /* C style interface */
  370. typedef struct ICertRequestVtbl
  371. {
  372. BEGIN_INTERFACE
  373. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  374. ICertRequest __RPC_FAR * This,
  375. /* [in] */ REFIID riid,
  376. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  377. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  378. ICertRequest __RPC_FAR * This);
  379. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  380. ICertRequest __RPC_FAR * This);
  381. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  382. ICertRequest __RPC_FAR * This,
  383. /* [out] */ UINT __RPC_FAR *pctinfo);
  384. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  385. ICertRequest __RPC_FAR * This,
  386. /* [in] */ UINT iTInfo,
  387. /* [in] */ LCID lcid,
  388. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  389. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  390. ICertRequest __RPC_FAR * This,
  391. /* [in] */ REFIID riid,
  392. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  393. /* [in] */ UINT cNames,
  394. /* [in] */ LCID lcid,
  395. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  396. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  397. ICertRequest __RPC_FAR * This,
  398. /* [in] */ DISPID dispIdMember,
  399. /* [in] */ REFIID riid,
  400. /* [in] */ LCID lcid,
  401. /* [in] */ WORD wFlags,
  402. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  403. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  404. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  405. /* [out] */ UINT __RPC_FAR *puArgErr);
  406. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Submit )(
  407. ICertRequest __RPC_FAR * This,
  408. /* [in] */ LONG Flags,
  409. /* [in] */ const BSTR strRequest,
  410. /* [in] */ const BSTR strAttributes,
  411. /* [in] */ const BSTR strConfig,
  412. /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  413. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrievePending )(
  414. ICertRequest __RPC_FAR * This,
  415. /* [in] */ LONG RequestId,
  416. /* [in] */ const BSTR strConfig,
  417. /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  418. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLastStatus )(
  419. ICertRequest __RPC_FAR * This,
  420. /* [retval][out] */ LONG __RPC_FAR *pStatus);
  421. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRequestId )(
  422. ICertRequest __RPC_FAR * This,
  423. /* [retval][out] */ LONG __RPC_FAR *pRequestId);
  424. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDispositionMessage )(
  425. ICertRequest __RPC_FAR * This,
  426. /* [retval][out] */ BSTR __RPC_FAR *pstrDispositionMessage);
  427. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCACertificate )(
  428. ICertRequest __RPC_FAR * This,
  429. /* [in] */ LONG fExchangeCertificate,
  430. /* [in] */ const BSTR strConfig,
  431. /* [in] */ LONG Flags,
  432. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate);
  433. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCertificate )(
  434. ICertRequest __RPC_FAR * This,
  435. /* [in] */ LONG Flags,
  436. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate);
  437. END_INTERFACE
  438. } ICertRequestVtbl;
  439. interface ICertRequest
  440. {
  441. CONST_VTBL struct ICertRequestVtbl __RPC_FAR *lpVtbl;
  442. };
  443. #ifdef COBJMACROS
  444. #define ICertRequest_QueryInterface(This,riid,ppvObject) \
  445. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  446. #define ICertRequest_AddRef(This) \
  447. (This)->lpVtbl -> AddRef(This)
  448. #define ICertRequest_Release(This) \
  449. (This)->lpVtbl -> Release(This)
  450. #define ICertRequest_GetTypeInfoCount(This,pctinfo) \
  451. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  452. #define ICertRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  453. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  454. #define ICertRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  455. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  456. #define ICertRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  457. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  458. #define ICertRequest_Submit(This,Flags,strRequest,strAttributes,strConfig,pDisposition) \
  459. (This)->lpVtbl -> Submit(This,Flags,strRequest,strAttributes,strConfig,pDisposition)
  460. #define ICertRequest_RetrievePending(This,RequestId,strConfig,pDisposition) \
  461. (This)->lpVtbl -> RetrievePending(This,RequestId,strConfig,pDisposition)
  462. #define ICertRequest_GetLastStatus(This,pStatus) \
  463. (This)->lpVtbl -> GetLastStatus(This,pStatus)
  464. #define ICertRequest_GetRequestId(This,pRequestId) \
  465. (This)->lpVtbl -> GetRequestId(This,pRequestId)
  466. #define ICertRequest_GetDispositionMessage(This,pstrDispositionMessage) \
  467. (This)->lpVtbl -> GetDispositionMessage(This,pstrDispositionMessage)
  468. #define ICertRequest_GetCACertificate(This,fExchangeCertificate,strConfig,Flags,pstrCertificate) \
  469. (This)->lpVtbl -> GetCACertificate(This,fExchangeCertificate,strConfig,Flags,pstrCertificate)
  470. #define ICertRequest_GetCertificate(This,Flags,pstrCertificate) \
  471. (This)->lpVtbl -> GetCertificate(This,Flags,pstrCertificate)
  472. #endif /* COBJMACROS */
  473. #endif /* C style interface */
  474. HRESULT STDMETHODCALLTYPE ICertRequest_Submit_Proxy(
  475. ICertRequest __RPC_FAR * This,
  476. /* [in] */ LONG Flags,
  477. /* [in] */ const BSTR strRequest,
  478. /* [in] */ const BSTR strAttributes,
  479. /* [in] */ const BSTR strConfig,
  480. /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  481. void __RPC_STUB ICertRequest_Submit_Stub(
  482. IRpcStubBuffer *This,
  483. IRpcChannelBuffer *_pRpcChannelBuffer,
  484. PRPC_MESSAGE _pRpcMessage,
  485. DWORD *_pdwStubPhase);
  486. HRESULT STDMETHODCALLTYPE ICertRequest_RetrievePending_Proxy(
  487. ICertRequest __RPC_FAR * This,
  488. /* [in] */ LONG RequestId,
  489. /* [in] */ const BSTR strConfig,
  490. /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  491. void __RPC_STUB ICertRequest_RetrievePending_Stub(
  492. IRpcStubBuffer *This,
  493. IRpcChannelBuffer *_pRpcChannelBuffer,
  494. PRPC_MESSAGE _pRpcMessage,
  495. DWORD *_pdwStubPhase);
  496. HRESULT STDMETHODCALLTYPE ICertRequest_GetLastStatus_Proxy(
  497. ICertRequest __RPC_FAR * This,
  498. /* [retval][out] */ LONG __RPC_FAR *pStatus);
  499. void __RPC_STUB ICertRequest_GetLastStatus_Stub(
  500. IRpcStubBuffer *This,
  501. IRpcChannelBuffer *_pRpcChannelBuffer,
  502. PRPC_MESSAGE _pRpcMessage,
  503. DWORD *_pdwStubPhase);
  504. HRESULT STDMETHODCALLTYPE ICertRequest_GetRequestId_Proxy(
  505. ICertRequest __RPC_FAR * This,
  506. /* [retval][out] */ LONG __RPC_FAR *pRequestId);
  507. void __RPC_STUB ICertRequest_GetRequestId_Stub(
  508. IRpcStubBuffer *This,
  509. IRpcChannelBuffer *_pRpcChannelBuffer,
  510. PRPC_MESSAGE _pRpcMessage,
  511. DWORD *_pdwStubPhase);
  512. HRESULT STDMETHODCALLTYPE ICertRequest_GetDispositionMessage_Proxy(
  513. ICertRequest __RPC_FAR * This,
  514. /* [retval][out] */ BSTR __RPC_FAR *pstrDispositionMessage);
  515. void __RPC_STUB ICertRequest_GetDispositionMessage_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. HRESULT STDMETHODCALLTYPE ICertRequest_GetCACertificate_Proxy(
  521. ICertRequest __RPC_FAR * This,
  522. /* [in] */ LONG fExchangeCertificate,
  523. /* [in] */ const BSTR strConfig,
  524. /* [in] */ LONG Flags,
  525. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate);
  526. void __RPC_STUB ICertRequest_GetCACertificate_Stub(
  527. IRpcStubBuffer *This,
  528. IRpcChannelBuffer *_pRpcChannelBuffer,
  529. PRPC_MESSAGE _pRpcMessage,
  530. DWORD *_pdwStubPhase);
  531. HRESULT STDMETHODCALLTYPE ICertRequest_GetCertificate_Proxy(
  532. ICertRequest __RPC_FAR * This,
  533. /* [in] */ LONG Flags,
  534. /* [retval][out] */ BSTR __RPC_FAR *pstrCertificate);
  535. void __RPC_STUB ICertRequest_GetCertificate_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. #endif /* __ICertRequest_INTERFACE_DEFINED__ */
  541. #ifndef __CERTCLIENTLib_LIBRARY_DEFINED__
  542. #define __CERTCLIENTLib_LIBRARY_DEFINED__
  543. /****************************************
  544. * Generated header for library: CERTCLIENTLib
  545. * at Thu Jun 05 08:58:34 1997
  546. * using MIDL 3.02.88
  547. ****************************************/
  548. /* [helpstring][version][uuid] */
  549. EXTERN_C const IID LIBID_CERTCLIENTLib;
  550. EXTERN_C const CLSID CLSID_CCertGetConfig;
  551. #ifdef __cplusplus
  552. class DECLSPEC_UUID("c6cc49b0-ce17-11d0-8833-00a0c903b83c")
  553. CCertGetConfig;
  554. #endif
  555. EXTERN_C const CLSID CLSID_CCertConfig;
  556. #ifdef __cplusplus
  557. class DECLSPEC_UUID("372fce38-4324-11d0-8810-00a0c903b83c")
  558. CCertConfig;
  559. #endif
  560. EXTERN_C const CLSID CLSID_CCertRequest;
  561. #ifdef __cplusplus
  562. class DECLSPEC_UUID("98aff3f0-5524-11d0-8812-00a0c903b83c")
  563. CCertRequest;
  564. #endif
  565. #endif /* __CERTCLIENTLib_LIBRARY_DEFINED__ */
  566. /* Additional Prototypes for ALL interfaces */
  567. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  568. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  569. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  570. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  571. /* end of Additional Prototypes */
  572. #ifdef __cplusplus
  573. }
  574. #endif
  575. #endif