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.

1727 lines
46 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 certdb.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  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__ 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 __certdb_h__
  27. #define __certdb_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumCERTDBCOLUMN_FWD_DEFINED__
  33. #define __IEnumCERTDBCOLUMN_FWD_DEFINED__
  34. typedef interface IEnumCERTDBCOLUMN IEnumCERTDBCOLUMN;
  35. #endif /* __IEnumCERTDBCOLUMN_FWD_DEFINED__ */
  36. #ifndef __IEnumCERTDBRESULTROW_FWD_DEFINED__
  37. #define __IEnumCERTDBRESULTROW_FWD_DEFINED__
  38. typedef interface IEnumCERTDBRESULTROW IEnumCERTDBRESULTROW;
  39. #endif /* __IEnumCERTDBRESULTROW_FWD_DEFINED__ */
  40. #ifndef __IEnumCERTDBNAME_FWD_DEFINED__
  41. #define __IEnumCERTDBNAME_FWD_DEFINED__
  42. typedef interface IEnumCERTDBNAME IEnumCERTDBNAME;
  43. #endif /* __IEnumCERTDBNAME_FWD_DEFINED__ */
  44. #ifndef __ICertDBRow_FWD_DEFINED__
  45. #define __ICertDBRow_FWD_DEFINED__
  46. typedef interface ICertDBRow ICertDBRow;
  47. #endif /* __ICertDBRow_FWD_DEFINED__ */
  48. #ifndef __ICertDBBackup_FWD_DEFINED__
  49. #define __ICertDBBackup_FWD_DEFINED__
  50. typedef interface ICertDBBackup ICertDBBackup;
  51. #endif /* __ICertDBBackup_FWD_DEFINED__ */
  52. #ifndef __ICertDBRestore_FWD_DEFINED__
  53. #define __ICertDBRestore_FWD_DEFINED__
  54. typedef interface ICertDBRestore ICertDBRestore;
  55. #endif /* __ICertDBRestore_FWD_DEFINED__ */
  56. #ifndef __ICertDB_FWD_DEFINED__
  57. #define __ICertDB_FWD_DEFINED__
  58. typedef interface ICertDB ICertDB;
  59. #endif /* __ICertDB_FWD_DEFINED__ */
  60. #ifndef __CCertDBRestore_FWD_DEFINED__
  61. #define __CCertDBRestore_FWD_DEFINED__
  62. #ifdef __cplusplus
  63. typedef class CCertDBRestore CCertDBRestore;
  64. #else
  65. typedef struct CCertDBRestore CCertDBRestore;
  66. #endif /* __cplusplus */
  67. #endif /* __CCertDBRestore_FWD_DEFINED__ */
  68. #ifndef __CCertDB_FWD_DEFINED__
  69. #define __CCertDB_FWD_DEFINED__
  70. #ifdef __cplusplus
  71. typedef class CCertDB CCertDB;
  72. #else
  73. typedef struct CCertDB CCertDB;
  74. #endif /* __cplusplus */
  75. #endif /* __CCertDB_FWD_DEFINED__ */
  76. /* header files for imported files */
  77. #include "wtypes.h"
  78. #include "certbase.h"
  79. #include "certbcli.h"
  80. #include "oaidl.h"
  81. #ifdef __cplusplus
  82. extern "C"{
  83. #endif
  84. void * __RPC_USER MIDL_user_allocate(size_t);
  85. void __RPC_USER MIDL_user_free( void * );
  86. /* interface __MIDL_itf_certdb_0000 */
  87. /* [local] */
  88. typedef struct _CERTTRANSDBATTRIBUTE
  89. {
  90. ULONG obwszName;
  91. ULONG obwszValue;
  92. } CERTTRANSDBATTRIBUTE;
  93. typedef struct _CERTDBATTRIBUTE
  94. {
  95. WCHAR *pwszName;
  96. WCHAR *pwszValue;
  97. } CERTDBATTRIBUTE;
  98. typedef struct _CERTTRANSDBEXTENSION
  99. {
  100. ULONG obwszName;
  101. LONG ExtFlags;
  102. DWORD cbValue;
  103. ULONG obValue;
  104. } CERTTRANSDBEXTENSION;
  105. typedef struct _CERTDBEXTENSION
  106. {
  107. WCHAR *pwszName;
  108. LONG ExtFlags;
  109. DWORD cbValue;
  110. BYTE *pbValue;
  111. } CERTDBEXTENSION;
  112. #define CDBENUM_ATTRIBUTES ( 0 )
  113. #define CDBENUM_EXTENSIONS ( 0x1 )
  114. typedef struct _CERTTRANSDBCOLUMN
  115. {
  116. DWORD Type;
  117. DWORD Index;
  118. DWORD cbMax;
  119. ULONG obwszName;
  120. ULONG obwszDisplayName;
  121. } CERTTRANSDBCOLUMN;
  122. typedef struct _CERTDBCOLUMN
  123. {
  124. DWORD Type;
  125. DWORD Index;
  126. DWORD cbMax;
  127. WCHAR *pwszName;
  128. WCHAR *pwszDisplayName;
  129. } CERTDBCOLUMN;
  130. extern RPC_IF_HANDLE __MIDL_itf_certdb_0000_v0_0_c_ifspec;
  131. extern RPC_IF_HANDLE __MIDL_itf_certdb_0000_v0_0_s_ifspec;
  132. #ifndef __IEnumCERTDBCOLUMN_INTERFACE_DEFINED__
  133. #define __IEnumCERTDBCOLUMN_INTERFACE_DEFINED__
  134. /* interface IEnumCERTDBCOLUMN */
  135. /* [unique][helpstring][local][uuid][object] */
  136. EXTERN_C const IID IID_IEnumCERTDBCOLUMN;
  137. #if defined(__cplusplus) && !defined(CINTERFACE)
  138. MIDL_INTERFACE("90a27030-8bd5-11d3-b32e-00c04f79dc72")
  139. IEnumCERTDBCOLUMN : public IUnknown
  140. {
  141. public:
  142. virtual HRESULT STDMETHODCALLTYPE Next(
  143. /* [in] */ ULONG celt,
  144. /* [out] */ CERTDBCOLUMN *rgelt,
  145. /* [out] */ ULONG *pceltFetched) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE Skip(
  147. /* [in] */ LONG celt,
  148. /* [out] */ LONG *pielt) = 0;
  149. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  150. virtual HRESULT STDMETHODCALLTYPE Clone(
  151. /* [out] */ IEnumCERTDBCOLUMN **ppenum) = 0;
  152. };
  153. #else /* C style interface */
  154. typedef struct IEnumCERTDBCOLUMNVtbl
  155. {
  156. BEGIN_INTERFACE
  157. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  158. IEnumCERTDBCOLUMN * This,
  159. /* [in] */ REFIID riid,
  160. /* [iid_is][out] */ void **ppvObject);
  161. ULONG ( STDMETHODCALLTYPE *AddRef )(
  162. IEnumCERTDBCOLUMN * This);
  163. ULONG ( STDMETHODCALLTYPE *Release )(
  164. IEnumCERTDBCOLUMN * This);
  165. HRESULT ( STDMETHODCALLTYPE *Next )(
  166. IEnumCERTDBCOLUMN * This,
  167. /* [in] */ ULONG celt,
  168. /* [out] */ CERTDBCOLUMN *rgelt,
  169. /* [out] */ ULONG *pceltFetched);
  170. HRESULT ( STDMETHODCALLTYPE *Skip )(
  171. IEnumCERTDBCOLUMN * This,
  172. /* [in] */ LONG celt,
  173. /* [out] */ LONG *pielt);
  174. HRESULT ( STDMETHODCALLTYPE *Reset )(
  175. IEnumCERTDBCOLUMN * This);
  176. HRESULT ( STDMETHODCALLTYPE *Clone )(
  177. IEnumCERTDBCOLUMN * This,
  178. /* [out] */ IEnumCERTDBCOLUMN **ppenum);
  179. END_INTERFACE
  180. } IEnumCERTDBCOLUMNVtbl;
  181. interface IEnumCERTDBCOLUMN
  182. {
  183. CONST_VTBL struct IEnumCERTDBCOLUMNVtbl *lpVtbl;
  184. };
  185. #ifdef COBJMACROS
  186. #define IEnumCERTDBCOLUMN_QueryInterface(This,riid,ppvObject) \
  187. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  188. #define IEnumCERTDBCOLUMN_AddRef(This) \
  189. (This)->lpVtbl -> AddRef(This)
  190. #define IEnumCERTDBCOLUMN_Release(This) \
  191. (This)->lpVtbl -> Release(This)
  192. #define IEnumCERTDBCOLUMN_Next(This,celt,rgelt,pceltFetched) \
  193. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  194. #define IEnumCERTDBCOLUMN_Skip(This,celt,pielt) \
  195. (This)->lpVtbl -> Skip(This,celt,pielt)
  196. #define IEnumCERTDBCOLUMN_Reset(This) \
  197. (This)->lpVtbl -> Reset(This)
  198. #define IEnumCERTDBCOLUMN_Clone(This,ppenum) \
  199. (This)->lpVtbl -> Clone(This,ppenum)
  200. #endif /* COBJMACROS */
  201. #endif /* C style interface */
  202. HRESULT STDMETHODCALLTYPE IEnumCERTDBCOLUMN_Next_Proxy(
  203. IEnumCERTDBCOLUMN * This,
  204. /* [in] */ ULONG celt,
  205. /* [out] */ CERTDBCOLUMN *rgelt,
  206. /* [out] */ ULONG *pceltFetched);
  207. void __RPC_STUB IEnumCERTDBCOLUMN_Next_Stub(
  208. IRpcStubBuffer *This,
  209. IRpcChannelBuffer *_pRpcChannelBuffer,
  210. PRPC_MESSAGE _pRpcMessage,
  211. DWORD *_pdwStubPhase);
  212. HRESULT STDMETHODCALLTYPE IEnumCERTDBCOLUMN_Skip_Proxy(
  213. IEnumCERTDBCOLUMN * This,
  214. /* [in] */ LONG celt,
  215. /* [out] */ LONG *pielt);
  216. void __RPC_STUB IEnumCERTDBCOLUMN_Skip_Stub(
  217. IRpcStubBuffer *This,
  218. IRpcChannelBuffer *_pRpcChannelBuffer,
  219. PRPC_MESSAGE _pRpcMessage,
  220. DWORD *_pdwStubPhase);
  221. HRESULT STDMETHODCALLTYPE IEnumCERTDBCOLUMN_Reset_Proxy(
  222. IEnumCERTDBCOLUMN * This);
  223. void __RPC_STUB IEnumCERTDBCOLUMN_Reset_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE IEnumCERTDBCOLUMN_Clone_Proxy(
  229. IEnumCERTDBCOLUMN * This,
  230. /* [out] */ IEnumCERTDBCOLUMN **ppenum);
  231. void __RPC_STUB IEnumCERTDBCOLUMN_Clone_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. #endif /* __IEnumCERTDBCOLUMN_INTERFACE_DEFINED__ */
  237. /* interface __MIDL_itf_certdb_0115 */
  238. /* [local] */
  239. typedef struct _CERTTRANSDBRESULTCOLUMN
  240. {
  241. DWORD Type;
  242. DWORD Index;
  243. ULONG obValue;
  244. DWORD cbValue;
  245. } CERTTRANSDBRESULTCOLUMN;
  246. typedef struct _CERTDBRESULTCOLUMN
  247. {
  248. DWORD Type;
  249. DWORD Index;
  250. BYTE *pbValue;
  251. DWORD cbValue;
  252. } CERTDBRESULTCOLUMN;
  253. typedef struct _CERTTRANSDBRESULTROW
  254. {
  255. DWORD rowid;
  256. DWORD ccol;
  257. ULONG cbrow;
  258. } CERTTRANSDBRESULTROW;
  259. typedef struct _CERTDBRESULTROW
  260. {
  261. DWORD rowid;
  262. DWORD ccol;
  263. CERTDBRESULTCOLUMN *acol;
  264. } CERTDBRESULTROW;
  265. extern RPC_IF_HANDLE __MIDL_itf_certdb_0115_v0_0_c_ifspec;
  266. extern RPC_IF_HANDLE __MIDL_itf_certdb_0115_v0_0_s_ifspec;
  267. #ifndef __IEnumCERTDBRESULTROW_INTERFACE_DEFINED__
  268. #define __IEnumCERTDBRESULTROW_INTERFACE_DEFINED__
  269. /* interface IEnumCERTDBRESULTROW */
  270. /* [unique][helpstring][local][uuid][object] */
  271. EXTERN_C const IID IID_IEnumCERTDBRESULTROW;
  272. #if defined(__cplusplus) && !defined(CINTERFACE)
  273. MIDL_INTERFACE("915feb70-8bd5-11d3-b32e-00c04f79dc72")
  274. IEnumCERTDBRESULTROW : public IUnknown
  275. {
  276. public:
  277. virtual HRESULT STDMETHODCALLTYPE Next(
  278. /* [in] */ ULONG celt,
  279. /* [out] */ CERTDBRESULTROW *rgelt,
  280. /* [out] */ ULONG *pceltFetched) = 0;
  281. virtual HRESULT STDMETHODCALLTYPE ReleaseResultRow(
  282. /* [in] */ ULONG celt,
  283. /* [out][in] */ CERTDBRESULTROW *rgelt) = 0;
  284. virtual HRESULT STDMETHODCALLTYPE Skip(
  285. /* [in] */ LONG celt,
  286. /* [out] */ LONG *pielt) = 0;
  287. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  288. virtual HRESULT STDMETHODCALLTYPE Clone(
  289. /* [out] */ IEnumCERTDBRESULTROW **ppenum) = 0;
  290. };
  291. #else /* C style interface */
  292. typedef struct IEnumCERTDBRESULTROWVtbl
  293. {
  294. BEGIN_INTERFACE
  295. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  296. IEnumCERTDBRESULTROW * This,
  297. /* [in] */ REFIID riid,
  298. /* [iid_is][out] */ void **ppvObject);
  299. ULONG ( STDMETHODCALLTYPE *AddRef )(
  300. IEnumCERTDBRESULTROW * This);
  301. ULONG ( STDMETHODCALLTYPE *Release )(
  302. IEnumCERTDBRESULTROW * This);
  303. HRESULT ( STDMETHODCALLTYPE *Next )(
  304. IEnumCERTDBRESULTROW * This,
  305. /* [in] */ ULONG celt,
  306. /* [out] */ CERTDBRESULTROW *rgelt,
  307. /* [out] */ ULONG *pceltFetched);
  308. HRESULT ( STDMETHODCALLTYPE *ReleaseResultRow )(
  309. IEnumCERTDBRESULTROW * This,
  310. /* [in] */ ULONG celt,
  311. /* [out][in] */ CERTDBRESULTROW *rgelt);
  312. HRESULT ( STDMETHODCALLTYPE *Skip )(
  313. IEnumCERTDBRESULTROW * This,
  314. /* [in] */ LONG celt,
  315. /* [out] */ LONG *pielt);
  316. HRESULT ( STDMETHODCALLTYPE *Reset )(
  317. IEnumCERTDBRESULTROW * This);
  318. HRESULT ( STDMETHODCALLTYPE *Clone )(
  319. IEnumCERTDBRESULTROW * This,
  320. /* [out] */ IEnumCERTDBRESULTROW **ppenum);
  321. END_INTERFACE
  322. } IEnumCERTDBRESULTROWVtbl;
  323. interface IEnumCERTDBRESULTROW
  324. {
  325. CONST_VTBL struct IEnumCERTDBRESULTROWVtbl *lpVtbl;
  326. };
  327. #ifdef COBJMACROS
  328. #define IEnumCERTDBRESULTROW_QueryInterface(This,riid,ppvObject) \
  329. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  330. #define IEnumCERTDBRESULTROW_AddRef(This) \
  331. (This)->lpVtbl -> AddRef(This)
  332. #define IEnumCERTDBRESULTROW_Release(This) \
  333. (This)->lpVtbl -> Release(This)
  334. #define IEnumCERTDBRESULTROW_Next(This,celt,rgelt,pceltFetched) \
  335. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  336. #define IEnumCERTDBRESULTROW_ReleaseResultRow(This,celt,rgelt) \
  337. (This)->lpVtbl -> ReleaseResultRow(This,celt,rgelt)
  338. #define IEnumCERTDBRESULTROW_Skip(This,celt,pielt) \
  339. (This)->lpVtbl -> Skip(This,celt,pielt)
  340. #define IEnumCERTDBRESULTROW_Reset(This) \
  341. (This)->lpVtbl -> Reset(This)
  342. #define IEnumCERTDBRESULTROW_Clone(This,ppenum) \
  343. (This)->lpVtbl -> Clone(This,ppenum)
  344. #endif /* COBJMACROS */
  345. #endif /* C style interface */
  346. HRESULT STDMETHODCALLTYPE IEnumCERTDBRESULTROW_Next_Proxy(
  347. IEnumCERTDBRESULTROW * This,
  348. /* [in] */ ULONG celt,
  349. /* [out] */ CERTDBRESULTROW *rgelt,
  350. /* [out] */ ULONG *pceltFetched);
  351. void __RPC_STUB IEnumCERTDBRESULTROW_Next_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. HRESULT STDMETHODCALLTYPE IEnumCERTDBRESULTROW_ReleaseResultRow_Proxy(
  357. IEnumCERTDBRESULTROW * This,
  358. /* [in] */ ULONG celt,
  359. /* [out][in] */ CERTDBRESULTROW *rgelt);
  360. void __RPC_STUB IEnumCERTDBRESULTROW_ReleaseResultRow_Stub(
  361. IRpcStubBuffer *This,
  362. IRpcChannelBuffer *_pRpcChannelBuffer,
  363. PRPC_MESSAGE _pRpcMessage,
  364. DWORD *_pdwStubPhase);
  365. HRESULT STDMETHODCALLTYPE IEnumCERTDBRESULTROW_Skip_Proxy(
  366. IEnumCERTDBRESULTROW * This,
  367. /* [in] */ LONG celt,
  368. /* [out] */ LONG *pielt);
  369. void __RPC_STUB IEnumCERTDBRESULTROW_Skip_Stub(
  370. IRpcStubBuffer *This,
  371. IRpcChannelBuffer *_pRpcChannelBuffer,
  372. PRPC_MESSAGE _pRpcMessage,
  373. DWORD *_pdwStubPhase);
  374. HRESULT STDMETHODCALLTYPE IEnumCERTDBRESULTROW_Reset_Proxy(
  375. IEnumCERTDBRESULTROW * This);
  376. void __RPC_STUB IEnumCERTDBRESULTROW_Reset_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. HRESULT STDMETHODCALLTYPE IEnumCERTDBRESULTROW_Clone_Proxy(
  382. IEnumCERTDBRESULTROW * This,
  383. /* [out] */ IEnumCERTDBRESULTROW **ppenum);
  384. void __RPC_STUB IEnumCERTDBRESULTROW_Clone_Stub(
  385. IRpcStubBuffer *This,
  386. IRpcChannelBuffer *_pRpcChannelBuffer,
  387. PRPC_MESSAGE _pRpcMessage,
  388. DWORD *_pdwStubPhase);
  389. #endif /* __IEnumCERTDBRESULTROW_INTERFACE_DEFINED__ */
  390. /* interface __MIDL_itf_certdb_0117 */
  391. /* [local] */
  392. typedef struct _CERTDBNAME
  393. {
  394. WCHAR *pwszName;
  395. } CERTDBNAME;
  396. extern RPC_IF_HANDLE __MIDL_itf_certdb_0117_v0_0_c_ifspec;
  397. extern RPC_IF_HANDLE __MIDL_itf_certdb_0117_v0_0_s_ifspec;
  398. #ifndef __IEnumCERTDBNAME_INTERFACE_DEFINED__
  399. #define __IEnumCERTDBNAME_INTERFACE_DEFINED__
  400. /* interface IEnumCERTDBNAME */
  401. /* [unique][helpstring][local][uuid][object] */
  402. EXTERN_C const IID IID_IEnumCERTDBNAME;
  403. #if defined(__cplusplus) && !defined(CINTERFACE)
  404. MIDL_INTERFACE("91dbb1a0-8bd5-11d3-b32e-00c04f79dc72")
  405. IEnumCERTDBNAME : public IUnknown
  406. {
  407. public:
  408. virtual HRESULT STDMETHODCALLTYPE Next(
  409. /* [in] */ ULONG celt,
  410. /* [out] */ CERTDBNAME *rgelt,
  411. /* [out] */ ULONG *pceltFetched) = 0;
  412. virtual HRESULT STDMETHODCALLTYPE Skip(
  413. /* [in] */ LONG celt,
  414. /* [out] */ LONG *pielt) = 0;
  415. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  416. virtual HRESULT STDMETHODCALLTYPE Clone(
  417. /* [out] */ IEnumCERTDBNAME **ppenum) = 0;
  418. };
  419. #else /* C style interface */
  420. typedef struct IEnumCERTDBNAMEVtbl
  421. {
  422. BEGIN_INTERFACE
  423. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  424. IEnumCERTDBNAME * This,
  425. /* [in] */ REFIID riid,
  426. /* [iid_is][out] */ void **ppvObject);
  427. ULONG ( STDMETHODCALLTYPE *AddRef )(
  428. IEnumCERTDBNAME * This);
  429. ULONG ( STDMETHODCALLTYPE *Release )(
  430. IEnumCERTDBNAME * This);
  431. HRESULT ( STDMETHODCALLTYPE *Next )(
  432. IEnumCERTDBNAME * This,
  433. /* [in] */ ULONG celt,
  434. /* [out] */ CERTDBNAME *rgelt,
  435. /* [out] */ ULONG *pceltFetched);
  436. HRESULT ( STDMETHODCALLTYPE *Skip )(
  437. IEnumCERTDBNAME * This,
  438. /* [in] */ LONG celt,
  439. /* [out] */ LONG *pielt);
  440. HRESULT ( STDMETHODCALLTYPE *Reset )(
  441. IEnumCERTDBNAME * This);
  442. HRESULT ( STDMETHODCALLTYPE *Clone )(
  443. IEnumCERTDBNAME * This,
  444. /* [out] */ IEnumCERTDBNAME **ppenum);
  445. END_INTERFACE
  446. } IEnumCERTDBNAMEVtbl;
  447. interface IEnumCERTDBNAME
  448. {
  449. CONST_VTBL struct IEnumCERTDBNAMEVtbl *lpVtbl;
  450. };
  451. #ifdef COBJMACROS
  452. #define IEnumCERTDBNAME_QueryInterface(This,riid,ppvObject) \
  453. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  454. #define IEnumCERTDBNAME_AddRef(This) \
  455. (This)->lpVtbl -> AddRef(This)
  456. #define IEnumCERTDBNAME_Release(This) \
  457. (This)->lpVtbl -> Release(This)
  458. #define IEnumCERTDBNAME_Next(This,celt,rgelt,pceltFetched) \
  459. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  460. #define IEnumCERTDBNAME_Skip(This,celt,pielt) \
  461. (This)->lpVtbl -> Skip(This,celt,pielt)
  462. #define IEnumCERTDBNAME_Reset(This) \
  463. (This)->lpVtbl -> Reset(This)
  464. #define IEnumCERTDBNAME_Clone(This,ppenum) \
  465. (This)->lpVtbl -> Clone(This,ppenum)
  466. #endif /* COBJMACROS */
  467. #endif /* C style interface */
  468. HRESULT STDMETHODCALLTYPE IEnumCERTDBNAME_Next_Proxy(
  469. IEnumCERTDBNAME * This,
  470. /* [in] */ ULONG celt,
  471. /* [out] */ CERTDBNAME *rgelt,
  472. /* [out] */ ULONG *pceltFetched);
  473. void __RPC_STUB IEnumCERTDBNAME_Next_Stub(
  474. IRpcStubBuffer *This,
  475. IRpcChannelBuffer *_pRpcChannelBuffer,
  476. PRPC_MESSAGE _pRpcMessage,
  477. DWORD *_pdwStubPhase);
  478. HRESULT STDMETHODCALLTYPE IEnumCERTDBNAME_Skip_Proxy(
  479. IEnumCERTDBNAME * This,
  480. /* [in] */ LONG celt,
  481. /* [out] */ LONG *pielt);
  482. void __RPC_STUB IEnumCERTDBNAME_Skip_Stub(
  483. IRpcStubBuffer *This,
  484. IRpcChannelBuffer *_pRpcChannelBuffer,
  485. PRPC_MESSAGE _pRpcMessage,
  486. DWORD *_pdwStubPhase);
  487. HRESULT STDMETHODCALLTYPE IEnumCERTDBNAME_Reset_Proxy(
  488. IEnumCERTDBNAME * This);
  489. void __RPC_STUB IEnumCERTDBNAME_Reset_Stub(
  490. IRpcStubBuffer *This,
  491. IRpcChannelBuffer *_pRpcChannelBuffer,
  492. PRPC_MESSAGE _pRpcMessage,
  493. DWORD *_pdwStubPhase);
  494. HRESULT STDMETHODCALLTYPE IEnumCERTDBNAME_Clone_Proxy(
  495. IEnumCERTDBNAME * This,
  496. /* [out] */ IEnumCERTDBNAME **ppenum);
  497. void __RPC_STUB IEnumCERTDBNAME_Clone_Stub(
  498. IRpcStubBuffer *This,
  499. IRpcChannelBuffer *_pRpcChannelBuffer,
  500. PRPC_MESSAGE _pRpcMessage,
  501. DWORD *_pdwStubPhase);
  502. #endif /* __IEnumCERTDBNAME_INTERFACE_DEFINED__ */
  503. #ifndef __ICertDBRow_INTERFACE_DEFINED__
  504. #define __ICertDBRow_INTERFACE_DEFINED__
  505. /* interface ICertDBRow */
  506. /* [unique][helpstring][local][uuid][object] */
  507. EXTERN_C const IID IID_ICertDBRow;
  508. #if defined(__cplusplus) && !defined(CINTERFACE)
  509. MIDL_INTERFACE("924b3e50-8bd5-11d3-b32e-00c04f79dc72")
  510. ICertDBRow : public IUnknown
  511. {
  512. public:
  513. virtual HRESULT STDMETHODCALLTYPE BeginTransaction( void) = 0;
  514. virtual HRESULT STDMETHODCALLTYPE CommitTransaction(
  515. /* [in] */ BOOL fCommit) = 0;
  516. virtual HRESULT STDMETHODCALLTYPE GetRowId(
  517. /* [out] */ DWORD *pRowId) = 0;
  518. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  519. virtual HRESULT STDMETHODCALLTYPE SetProperty(
  520. /* [in] */ const WCHAR *pwszPropName,
  521. /* [in] */ DWORD dwFlags,
  522. /* [in] */ DWORD cbProp,
  523. /* [in] */ const BYTE *pbProp) = 0;
  524. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  525. /* [in] */ const WCHAR *pwszPropName,
  526. /* [in] */ DWORD dwFlags,
  527. /* [out][in] */ DWORD *pcbProp,
  528. /* [out] */ BYTE *pbProp) = 0;
  529. virtual HRESULT STDMETHODCALLTYPE SetExtension(
  530. /* [in] */ const WCHAR *pwszExtensionName,
  531. /* [in] */ DWORD dwExtFlags,
  532. /* [in] */ DWORD cbValue,
  533. /* [in] */ const BYTE *pbValue) = 0;
  534. virtual HRESULT STDMETHODCALLTYPE GetExtension(
  535. /* [in] */ const WCHAR *pwszExtensionName,
  536. /* [out] */ DWORD *pdwExtFlags,
  537. /* [out][in] */ DWORD *pcbValue,
  538. /* [out] */ BYTE *pbValue) = 0;
  539. virtual HRESULT STDMETHODCALLTYPE CopyRequestNames( void) = 0;
  540. virtual HRESULT STDMETHODCALLTYPE EnumCertDBName(
  541. /* [in] */ DWORD dwFlags,
  542. /* [out] */ IEnumCERTDBNAME **ppenum) = 0;
  543. };
  544. #else /* C style interface */
  545. typedef struct ICertDBRowVtbl
  546. {
  547. BEGIN_INTERFACE
  548. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  549. ICertDBRow * This,
  550. /* [in] */ REFIID riid,
  551. /* [iid_is][out] */ void **ppvObject);
  552. ULONG ( STDMETHODCALLTYPE *AddRef )(
  553. ICertDBRow * This);
  554. ULONG ( STDMETHODCALLTYPE *Release )(
  555. ICertDBRow * This);
  556. HRESULT ( STDMETHODCALLTYPE *BeginTransaction )(
  557. ICertDBRow * This);
  558. HRESULT ( STDMETHODCALLTYPE *CommitTransaction )(
  559. ICertDBRow * This,
  560. /* [in] */ BOOL fCommit);
  561. HRESULT ( STDMETHODCALLTYPE *GetRowId )(
  562. ICertDBRow * This,
  563. /* [out] */ DWORD *pRowId);
  564. HRESULT ( STDMETHODCALLTYPE *Delete )(
  565. ICertDBRow * This);
  566. HRESULT ( STDMETHODCALLTYPE *SetProperty )(
  567. ICertDBRow * This,
  568. /* [in] */ const WCHAR *pwszPropName,
  569. /* [in] */ DWORD dwFlags,
  570. /* [in] */ DWORD cbProp,
  571. /* [in] */ const BYTE *pbProp);
  572. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  573. ICertDBRow * This,
  574. /* [in] */ const WCHAR *pwszPropName,
  575. /* [in] */ DWORD dwFlags,
  576. /* [out][in] */ DWORD *pcbProp,
  577. /* [out] */ BYTE *pbProp);
  578. HRESULT ( STDMETHODCALLTYPE *SetExtension )(
  579. ICertDBRow * This,
  580. /* [in] */ const WCHAR *pwszExtensionName,
  581. /* [in] */ DWORD dwExtFlags,
  582. /* [in] */ DWORD cbValue,
  583. /* [in] */ const BYTE *pbValue);
  584. HRESULT ( STDMETHODCALLTYPE *GetExtension )(
  585. ICertDBRow * This,
  586. /* [in] */ const WCHAR *pwszExtensionName,
  587. /* [out] */ DWORD *pdwExtFlags,
  588. /* [out][in] */ DWORD *pcbValue,
  589. /* [out] */ BYTE *pbValue);
  590. HRESULT ( STDMETHODCALLTYPE *CopyRequestNames )(
  591. ICertDBRow * This);
  592. HRESULT ( STDMETHODCALLTYPE *EnumCertDBName )(
  593. ICertDBRow * This,
  594. /* [in] */ DWORD dwFlags,
  595. /* [out] */ IEnumCERTDBNAME **ppenum);
  596. END_INTERFACE
  597. } ICertDBRowVtbl;
  598. interface ICertDBRow
  599. {
  600. CONST_VTBL struct ICertDBRowVtbl *lpVtbl;
  601. };
  602. #ifdef COBJMACROS
  603. #define ICertDBRow_QueryInterface(This,riid,ppvObject) \
  604. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  605. #define ICertDBRow_AddRef(This) \
  606. (This)->lpVtbl -> AddRef(This)
  607. #define ICertDBRow_Release(This) \
  608. (This)->lpVtbl -> Release(This)
  609. #define ICertDBRow_BeginTransaction(This) \
  610. (This)->lpVtbl -> BeginTransaction(This)
  611. #define ICertDBRow_CommitTransaction(This,fCommit) \
  612. (This)->lpVtbl -> CommitTransaction(This,fCommit)
  613. #define ICertDBRow_GetRowId(This,pRowId) \
  614. (This)->lpVtbl -> GetRowId(This,pRowId)
  615. #define ICertDBRow_Delete(This) \
  616. (This)->lpVtbl -> Delete(This)
  617. #define ICertDBRow_SetProperty(This,pwszPropName,dwFlags,cbProp,pbProp) \
  618. (This)->lpVtbl -> SetProperty(This,pwszPropName,dwFlags,cbProp,pbProp)
  619. #define ICertDBRow_GetProperty(This,pwszPropName,dwFlags,pcbProp,pbProp) \
  620. (This)->lpVtbl -> GetProperty(This,pwszPropName,dwFlags,pcbProp,pbProp)
  621. #define ICertDBRow_SetExtension(This,pwszExtensionName,dwExtFlags,cbValue,pbValue) \
  622. (This)->lpVtbl -> SetExtension(This,pwszExtensionName,dwExtFlags,cbValue,pbValue)
  623. #define ICertDBRow_GetExtension(This,pwszExtensionName,pdwExtFlags,pcbValue,pbValue) \
  624. (This)->lpVtbl -> GetExtension(This,pwszExtensionName,pdwExtFlags,pcbValue,pbValue)
  625. #define ICertDBRow_CopyRequestNames(This) \
  626. (This)->lpVtbl -> CopyRequestNames(This)
  627. #define ICertDBRow_EnumCertDBName(This,dwFlags,ppenum) \
  628. (This)->lpVtbl -> EnumCertDBName(This,dwFlags,ppenum)
  629. #endif /* COBJMACROS */
  630. #endif /* C style interface */
  631. HRESULT STDMETHODCALLTYPE ICertDBRow_BeginTransaction_Proxy(
  632. ICertDBRow * This);
  633. void __RPC_STUB ICertDBRow_BeginTransaction_Stub(
  634. IRpcStubBuffer *This,
  635. IRpcChannelBuffer *_pRpcChannelBuffer,
  636. PRPC_MESSAGE _pRpcMessage,
  637. DWORD *_pdwStubPhase);
  638. HRESULT STDMETHODCALLTYPE ICertDBRow_CommitTransaction_Proxy(
  639. ICertDBRow * This,
  640. /* [in] */ BOOL fCommit);
  641. void __RPC_STUB ICertDBRow_CommitTransaction_Stub(
  642. IRpcStubBuffer *This,
  643. IRpcChannelBuffer *_pRpcChannelBuffer,
  644. PRPC_MESSAGE _pRpcMessage,
  645. DWORD *_pdwStubPhase);
  646. HRESULT STDMETHODCALLTYPE ICertDBRow_GetRowId_Proxy(
  647. ICertDBRow * This,
  648. /* [out] */ DWORD *pRowId);
  649. void __RPC_STUB ICertDBRow_GetRowId_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. HRESULT STDMETHODCALLTYPE ICertDBRow_Delete_Proxy(
  655. ICertDBRow * This);
  656. void __RPC_STUB ICertDBRow_Delete_Stub(
  657. IRpcStubBuffer *This,
  658. IRpcChannelBuffer *_pRpcChannelBuffer,
  659. PRPC_MESSAGE _pRpcMessage,
  660. DWORD *_pdwStubPhase);
  661. HRESULT STDMETHODCALLTYPE ICertDBRow_SetProperty_Proxy(
  662. ICertDBRow * This,
  663. /* [in] */ const WCHAR *pwszPropName,
  664. /* [in] */ DWORD dwFlags,
  665. /* [in] */ DWORD cbProp,
  666. /* [in] */ const BYTE *pbProp);
  667. void __RPC_STUB ICertDBRow_SetProperty_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. HRESULT STDMETHODCALLTYPE ICertDBRow_GetProperty_Proxy(
  673. ICertDBRow * This,
  674. /* [in] */ const WCHAR *pwszPropName,
  675. /* [in] */ DWORD dwFlags,
  676. /* [out][in] */ DWORD *pcbProp,
  677. /* [out] */ BYTE *pbProp);
  678. void __RPC_STUB ICertDBRow_GetProperty_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. HRESULT STDMETHODCALLTYPE ICertDBRow_SetExtension_Proxy(
  684. ICertDBRow * This,
  685. /* [in] */ const WCHAR *pwszExtensionName,
  686. /* [in] */ DWORD dwExtFlags,
  687. /* [in] */ DWORD cbValue,
  688. /* [in] */ const BYTE *pbValue);
  689. void __RPC_STUB ICertDBRow_SetExtension_Stub(
  690. IRpcStubBuffer *This,
  691. IRpcChannelBuffer *_pRpcChannelBuffer,
  692. PRPC_MESSAGE _pRpcMessage,
  693. DWORD *_pdwStubPhase);
  694. HRESULT STDMETHODCALLTYPE ICertDBRow_GetExtension_Proxy(
  695. ICertDBRow * This,
  696. /* [in] */ const WCHAR *pwszExtensionName,
  697. /* [out] */ DWORD *pdwExtFlags,
  698. /* [out][in] */ DWORD *pcbValue,
  699. /* [out] */ BYTE *pbValue);
  700. void __RPC_STUB ICertDBRow_GetExtension_Stub(
  701. IRpcStubBuffer *This,
  702. IRpcChannelBuffer *_pRpcChannelBuffer,
  703. PRPC_MESSAGE _pRpcMessage,
  704. DWORD *_pdwStubPhase);
  705. HRESULT STDMETHODCALLTYPE ICertDBRow_CopyRequestNames_Proxy(
  706. ICertDBRow * This);
  707. void __RPC_STUB ICertDBRow_CopyRequestNames_Stub(
  708. IRpcStubBuffer *This,
  709. IRpcChannelBuffer *_pRpcChannelBuffer,
  710. PRPC_MESSAGE _pRpcMessage,
  711. DWORD *_pdwStubPhase);
  712. HRESULT STDMETHODCALLTYPE ICertDBRow_EnumCertDBName_Proxy(
  713. ICertDBRow * This,
  714. /* [in] */ DWORD dwFlags,
  715. /* [out] */ IEnumCERTDBNAME **ppenum);
  716. void __RPC_STUB ICertDBRow_EnumCertDBName_Stub(
  717. IRpcStubBuffer *This,
  718. IRpcChannelBuffer *_pRpcChannelBuffer,
  719. PRPC_MESSAGE _pRpcMessage,
  720. DWORD *_pdwStubPhase);
  721. #endif /* __ICertDBRow_INTERFACE_DEFINED__ */
  722. #ifndef __ICertDBBackup_INTERFACE_DEFINED__
  723. #define __ICertDBBackup_INTERFACE_DEFINED__
  724. /* interface ICertDBBackup */
  725. /* [unique][helpstring][local][uuid][object] */
  726. EXTERN_C const IID IID_ICertDBBackup;
  727. #if defined(__cplusplus) && !defined(CINTERFACE)
  728. MIDL_INTERFACE("92a56660-8bd5-11d3-b32e-00c04f79dc72")
  729. ICertDBBackup : public IUnknown
  730. {
  731. public:
  732. virtual HRESULT STDMETHODCALLTYPE GetDBFileList(
  733. /* [out][in] */ DWORD *pcwcList,
  734. /* [out] */ WCHAR *pwszzList) = 0;
  735. virtual HRESULT STDMETHODCALLTYPE GetLogFileList(
  736. /* [out][in] */ DWORD *pcwcList,
  737. /* [out] */ WCHAR *pwszzList) = 0;
  738. virtual HRESULT STDMETHODCALLTYPE OpenFile(
  739. /* [in] */ const WCHAR *pwszFile,
  740. /* [out] */ ULARGE_INTEGER *pliSize) = 0;
  741. virtual HRESULT STDMETHODCALLTYPE ReadFile(
  742. /* [out][in] */ DWORD *pcb,
  743. /* [out] */ BYTE *pb) = 0;
  744. virtual HRESULT STDMETHODCALLTYPE CloseFile( void) = 0;
  745. virtual HRESULT STDMETHODCALLTYPE TruncateLog( void) = 0;
  746. };
  747. #else /* C style interface */
  748. typedef struct ICertDBBackupVtbl
  749. {
  750. BEGIN_INTERFACE
  751. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  752. ICertDBBackup * This,
  753. /* [in] */ REFIID riid,
  754. /* [iid_is][out] */ void **ppvObject);
  755. ULONG ( STDMETHODCALLTYPE *AddRef )(
  756. ICertDBBackup * This);
  757. ULONG ( STDMETHODCALLTYPE *Release )(
  758. ICertDBBackup * This);
  759. HRESULT ( STDMETHODCALLTYPE *GetDBFileList )(
  760. ICertDBBackup * This,
  761. /* [out][in] */ DWORD *pcwcList,
  762. /* [out] */ WCHAR *pwszzList);
  763. HRESULT ( STDMETHODCALLTYPE *GetLogFileList )(
  764. ICertDBBackup * This,
  765. /* [out][in] */ DWORD *pcwcList,
  766. /* [out] */ WCHAR *pwszzList);
  767. HRESULT ( STDMETHODCALLTYPE *OpenFile )(
  768. ICertDBBackup * This,
  769. /* [in] */ const WCHAR *pwszFile,
  770. /* [out] */ ULARGE_INTEGER *pliSize);
  771. HRESULT ( STDMETHODCALLTYPE *ReadFile )(
  772. ICertDBBackup * This,
  773. /* [out][in] */ DWORD *pcb,
  774. /* [out] */ BYTE *pb);
  775. HRESULT ( STDMETHODCALLTYPE *CloseFile )(
  776. ICertDBBackup * This);
  777. HRESULT ( STDMETHODCALLTYPE *TruncateLog )(
  778. ICertDBBackup * This);
  779. END_INTERFACE
  780. } ICertDBBackupVtbl;
  781. interface ICertDBBackup
  782. {
  783. CONST_VTBL struct ICertDBBackupVtbl *lpVtbl;
  784. };
  785. #ifdef COBJMACROS
  786. #define ICertDBBackup_QueryInterface(This,riid,ppvObject) \
  787. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  788. #define ICertDBBackup_AddRef(This) \
  789. (This)->lpVtbl -> AddRef(This)
  790. #define ICertDBBackup_Release(This) \
  791. (This)->lpVtbl -> Release(This)
  792. #define ICertDBBackup_GetDBFileList(This,pcwcList,pwszzList) \
  793. (This)->lpVtbl -> GetDBFileList(This,pcwcList,pwszzList)
  794. #define ICertDBBackup_GetLogFileList(This,pcwcList,pwszzList) \
  795. (This)->lpVtbl -> GetLogFileList(This,pcwcList,pwszzList)
  796. #define ICertDBBackup_OpenFile(This,pwszFile,pliSize) \
  797. (This)->lpVtbl -> OpenFile(This,pwszFile,pliSize)
  798. #define ICertDBBackup_ReadFile(This,pcb,pb) \
  799. (This)->lpVtbl -> ReadFile(This,pcb,pb)
  800. #define ICertDBBackup_CloseFile(This) \
  801. (This)->lpVtbl -> CloseFile(This)
  802. #define ICertDBBackup_TruncateLog(This) \
  803. (This)->lpVtbl -> TruncateLog(This)
  804. #endif /* COBJMACROS */
  805. #endif /* C style interface */
  806. HRESULT STDMETHODCALLTYPE ICertDBBackup_GetDBFileList_Proxy(
  807. ICertDBBackup * This,
  808. /* [out][in] */ DWORD *pcwcList,
  809. /* [out] */ WCHAR *pwszzList);
  810. void __RPC_STUB ICertDBBackup_GetDBFileList_Stub(
  811. IRpcStubBuffer *This,
  812. IRpcChannelBuffer *_pRpcChannelBuffer,
  813. PRPC_MESSAGE _pRpcMessage,
  814. DWORD *_pdwStubPhase);
  815. HRESULT STDMETHODCALLTYPE ICertDBBackup_GetLogFileList_Proxy(
  816. ICertDBBackup * This,
  817. /* [out][in] */ DWORD *pcwcList,
  818. /* [out] */ WCHAR *pwszzList);
  819. void __RPC_STUB ICertDBBackup_GetLogFileList_Stub(
  820. IRpcStubBuffer *This,
  821. IRpcChannelBuffer *_pRpcChannelBuffer,
  822. PRPC_MESSAGE _pRpcMessage,
  823. DWORD *_pdwStubPhase);
  824. HRESULT STDMETHODCALLTYPE ICertDBBackup_OpenFile_Proxy(
  825. ICertDBBackup * This,
  826. /* [in] */ const WCHAR *pwszFile,
  827. /* [out] */ ULARGE_INTEGER *pliSize);
  828. void __RPC_STUB ICertDBBackup_OpenFile_Stub(
  829. IRpcStubBuffer *This,
  830. IRpcChannelBuffer *_pRpcChannelBuffer,
  831. PRPC_MESSAGE _pRpcMessage,
  832. DWORD *_pdwStubPhase);
  833. HRESULT STDMETHODCALLTYPE ICertDBBackup_ReadFile_Proxy(
  834. ICertDBBackup * This,
  835. /* [out][in] */ DWORD *pcb,
  836. /* [out] */ BYTE *pb);
  837. void __RPC_STUB ICertDBBackup_ReadFile_Stub(
  838. IRpcStubBuffer *This,
  839. IRpcChannelBuffer *_pRpcChannelBuffer,
  840. PRPC_MESSAGE _pRpcMessage,
  841. DWORD *_pdwStubPhase);
  842. HRESULT STDMETHODCALLTYPE ICertDBBackup_CloseFile_Proxy(
  843. ICertDBBackup * This);
  844. void __RPC_STUB ICertDBBackup_CloseFile_Stub(
  845. IRpcStubBuffer *This,
  846. IRpcChannelBuffer *_pRpcChannelBuffer,
  847. PRPC_MESSAGE _pRpcMessage,
  848. DWORD *_pdwStubPhase);
  849. HRESULT STDMETHODCALLTYPE ICertDBBackup_TruncateLog_Proxy(
  850. ICertDBBackup * This);
  851. void __RPC_STUB ICertDBBackup_TruncateLog_Stub(
  852. IRpcStubBuffer *This,
  853. IRpcChannelBuffer *_pRpcChannelBuffer,
  854. PRPC_MESSAGE _pRpcMessage,
  855. DWORD *_pdwStubPhase);
  856. #endif /* __ICertDBBackup_INTERFACE_DEFINED__ */
  857. #ifndef __ICertDBRestore_INTERFACE_DEFINED__
  858. #define __ICertDBRestore_INTERFACE_DEFINED__
  859. /* interface ICertDBRestore */
  860. /* [unique][helpstring][local][uuid][object] */
  861. EXTERN_C const IID IID_ICertDBRestore;
  862. #if defined(__cplusplus) && !defined(CINTERFACE)
  863. MIDL_INTERFACE("93042400-8bd5-11d3-b32e-00c04f79dc72")
  864. ICertDBRestore : public IUnknown
  865. {
  866. public:
  867. virtual HRESULT STDMETHODCALLTYPE RecoverAfterRestore(
  868. /* [in] */ DWORD cSession,
  869. /* [in] */ const WCHAR *pwszEventSource,
  870. /* [in] */ const WCHAR *pwszLogDir,
  871. /* [in] */ const WCHAR *pwszSystemDir,
  872. /* [in] */ const WCHAR *pwszTempDir,
  873. /* [in] */ const WCHAR *pwszCheckPointFile,
  874. /* [in] */ const WCHAR *pwszLogPath,
  875. /* [in] */ CSEDB_RSTMAPW rgrstmap[ ],
  876. /* [in] */ LONG crstmap,
  877. /* [in] */ const WCHAR *pwszBackupLogPath,
  878. /* [in] */ DWORD genLow,
  879. /* [in] */ DWORD genHigh) = 0;
  880. };
  881. #else /* C style interface */
  882. typedef struct ICertDBRestoreVtbl
  883. {
  884. BEGIN_INTERFACE
  885. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  886. ICertDBRestore * This,
  887. /* [in] */ REFIID riid,
  888. /* [iid_is][out] */ void **ppvObject);
  889. ULONG ( STDMETHODCALLTYPE *AddRef )(
  890. ICertDBRestore * This);
  891. ULONG ( STDMETHODCALLTYPE *Release )(
  892. ICertDBRestore * This);
  893. HRESULT ( STDMETHODCALLTYPE *RecoverAfterRestore )(
  894. ICertDBRestore * This,
  895. /* [in] */ DWORD cSession,
  896. /* [in] */ const WCHAR *pwszEventSource,
  897. /* [in] */ const WCHAR *pwszLogDir,
  898. /* [in] */ const WCHAR *pwszSystemDir,
  899. /* [in] */ const WCHAR *pwszTempDir,
  900. /* [in] */ const WCHAR *pwszCheckPointFile,
  901. /* [in] */ const WCHAR *pwszLogPath,
  902. /* [in] */ CSEDB_RSTMAPW rgrstmap[ ],
  903. /* [in] */ LONG crstmap,
  904. /* [in] */ const WCHAR *pwszBackupLogPath,
  905. /* [in] */ DWORD genLow,
  906. /* [in] */ DWORD genHigh);
  907. END_INTERFACE
  908. } ICertDBRestoreVtbl;
  909. interface ICertDBRestore
  910. {
  911. CONST_VTBL struct ICertDBRestoreVtbl *lpVtbl;
  912. };
  913. #ifdef COBJMACROS
  914. #define ICertDBRestore_QueryInterface(This,riid,ppvObject) \
  915. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  916. #define ICertDBRestore_AddRef(This) \
  917. (This)->lpVtbl -> AddRef(This)
  918. #define ICertDBRestore_Release(This) \
  919. (This)->lpVtbl -> Release(This)
  920. #define ICertDBRestore_RecoverAfterRestore(This,cSession,pwszEventSource,pwszLogDir,pwszSystemDir,pwszTempDir,pwszCheckPointFile,pwszLogPath,rgrstmap,crstmap,pwszBackupLogPath,genLow,genHigh) \
  921. (This)->lpVtbl -> RecoverAfterRestore(This,cSession,pwszEventSource,pwszLogDir,pwszSystemDir,pwszTempDir,pwszCheckPointFile,pwszLogPath,rgrstmap,crstmap,pwszBackupLogPath,genLow,genHigh)
  922. #endif /* COBJMACROS */
  923. #endif /* C style interface */
  924. HRESULT STDMETHODCALLTYPE ICertDBRestore_RecoverAfterRestore_Proxy(
  925. ICertDBRestore * This,
  926. /* [in] */ DWORD cSession,
  927. /* [in] */ const WCHAR *pwszEventSource,
  928. /* [in] */ const WCHAR *pwszLogDir,
  929. /* [in] */ const WCHAR *pwszSystemDir,
  930. /* [in] */ const WCHAR *pwszTempDir,
  931. /* [in] */ const WCHAR *pwszCheckPointFile,
  932. /* [in] */ const WCHAR *pwszLogPath,
  933. /* [in] */ CSEDB_RSTMAPW rgrstmap[ ],
  934. /* [in] */ LONG crstmap,
  935. /* [in] */ const WCHAR *pwszBackupLogPath,
  936. /* [in] */ DWORD genLow,
  937. /* [in] */ DWORD genHigh);
  938. void __RPC_STUB ICertDBRestore_RecoverAfterRestore_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. #endif /* __ICertDBRestore_INTERFACE_DEFINED__ */
  944. /* interface __MIDL_itf_certdb_0125 */
  945. /* [local] */
  946. #define CDBOPEN_READONLY ( 1 )
  947. #define CDBOPEN_CREATEIFNEEDED ( 2 )
  948. #define CDBOPEN_CIRCULARLOGGING ( 4 )
  949. #define CDBOPENVIEW_WORKERTHREAD ( 1 )
  950. #define CDBSHUTDOWN_PENDING ( 1 )
  951. extern RPC_IF_HANDLE __MIDL_itf_certdb_0125_v0_0_c_ifspec;
  952. extern RPC_IF_HANDLE __MIDL_itf_certdb_0125_v0_0_s_ifspec;
  953. #ifndef __ICertDB_INTERFACE_DEFINED__
  954. #define __ICertDB_INTERFACE_DEFINED__
  955. /* interface ICertDB */
  956. /* [unique][helpstring][local][uuid][object] */
  957. EXTERN_C const IID IID_ICertDB;
  958. #if defined(__cplusplus) && !defined(CINTERFACE)
  959. MIDL_INTERFACE("93582f50-8bd5-11d3-b32e-00c04f79dc72")
  960. ICertDB : public IUnknown
  961. {
  962. public:
  963. virtual HRESULT STDMETHODCALLTYPE Open(
  964. /* [in] */ DWORD dwFlags,
  965. /* [in] */ DWORD cSession,
  966. /* [in] */ const WCHAR *pwszEventSource,
  967. /* [in] */ const WCHAR *pwszDBFile,
  968. /* [in] */ const WCHAR *pwszLogDir,
  969. /* [in] */ const WCHAR *pwszSystemDir,
  970. /* [in] */ const WCHAR *pwszTempDir) = 0;
  971. virtual HRESULT STDMETHODCALLTYPE ShutDown(
  972. /* [in] */ DWORD dwFlags) = 0;
  973. virtual HRESULT STDMETHODCALLTYPE OpenRow(
  974. /* [in] */ DWORD dwFlags,
  975. /* [in] */ DWORD RowId,
  976. /* [in] */ const WCHAR *pwszSerialNumberOrCertHash,
  977. /* [out] */ ICertDBRow **pprow) = 0;
  978. virtual HRESULT STDMETHODCALLTYPE OpenView(
  979. /* [in] */ DWORD ccvr,
  980. /* [in] */ const CERTVIEWRESTRICTION *acvr,
  981. /* [in] */ DWORD ccolOut,
  982. /* [in] */ const DWORD *acolOut,
  983. /* [in] */ const DWORD dwFlags,
  984. /* [out] */ IEnumCERTDBRESULTROW **ppenum) = 0;
  985. virtual HRESULT STDMETHODCALLTYPE EnumCertDBColumn(
  986. /* [in] */ DWORD dwTable,
  987. /* [out] */ IEnumCERTDBCOLUMN **ppenum) = 0;
  988. virtual HRESULT STDMETHODCALLTYPE OpenBackup(
  989. /* [in] */ LONG grbitJet,
  990. /* [out] */ ICertDBBackup **ppBackup) = 0;
  991. virtual HRESULT STDMETHODCALLTYPE GetDefaultColumnSet(
  992. /* [in] */ DWORD iColumnSetDefault,
  993. /* [in] */ DWORD cColumnIds,
  994. /* [out] */ DWORD *pcColumnIds,
  995. /* [ref][out] */ DWORD *pColumnIds) = 0;
  996. };
  997. #else /* C style interface */
  998. typedef struct ICertDBVtbl
  999. {
  1000. BEGIN_INTERFACE
  1001. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1002. ICertDB * This,
  1003. /* [in] */ REFIID riid,
  1004. /* [iid_is][out] */ void **ppvObject);
  1005. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1006. ICertDB * This);
  1007. ULONG ( STDMETHODCALLTYPE *Release )(
  1008. ICertDB * This);
  1009. HRESULT ( STDMETHODCALLTYPE *Open )(
  1010. ICertDB * This,
  1011. /* [in] */ DWORD dwFlags,
  1012. /* [in] */ DWORD cSession,
  1013. /* [in] */ const WCHAR *pwszEventSource,
  1014. /* [in] */ const WCHAR *pwszDBFile,
  1015. /* [in] */ const WCHAR *pwszLogDir,
  1016. /* [in] */ const WCHAR *pwszSystemDir,
  1017. /* [in] */ const WCHAR *pwszTempDir);
  1018. HRESULT ( STDMETHODCALLTYPE *ShutDown )(
  1019. ICertDB * This,
  1020. /* [in] */ DWORD dwFlags);
  1021. HRESULT ( STDMETHODCALLTYPE *OpenRow )(
  1022. ICertDB * This,
  1023. /* [in] */ DWORD dwFlags,
  1024. /* [in] */ DWORD RowId,
  1025. /* [in] */ const WCHAR *pwszSerialNumberOrCertHash,
  1026. /* [out] */ ICertDBRow **pprow);
  1027. HRESULT ( STDMETHODCALLTYPE *OpenView )(
  1028. ICertDB * This,
  1029. /* [in] */ DWORD ccvr,
  1030. /* [in] */ const CERTVIEWRESTRICTION *acvr,
  1031. /* [in] */ DWORD ccolOut,
  1032. /* [in] */ const DWORD *acolOut,
  1033. /* [in] */ const DWORD dwFlags,
  1034. /* [out] */ IEnumCERTDBRESULTROW **ppenum);
  1035. HRESULT ( STDMETHODCALLTYPE *EnumCertDBColumn )(
  1036. ICertDB * This,
  1037. /* [in] */ DWORD dwTable,
  1038. /* [out] */ IEnumCERTDBCOLUMN **ppenum);
  1039. HRESULT ( STDMETHODCALLTYPE *OpenBackup )(
  1040. ICertDB * This,
  1041. /* [in] */ LONG grbitJet,
  1042. /* [out] */ ICertDBBackup **ppBackup);
  1043. HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnSet )(
  1044. ICertDB * This,
  1045. /* [in] */ DWORD iColumnSetDefault,
  1046. /* [in] */ DWORD cColumnIds,
  1047. /* [out] */ DWORD *pcColumnIds,
  1048. /* [ref][out] */ DWORD *pColumnIds);
  1049. END_INTERFACE
  1050. } ICertDBVtbl;
  1051. interface ICertDB
  1052. {
  1053. CONST_VTBL struct ICertDBVtbl *lpVtbl;
  1054. };
  1055. #ifdef COBJMACROS
  1056. #define ICertDB_QueryInterface(This,riid,ppvObject) \
  1057. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1058. #define ICertDB_AddRef(This) \
  1059. (This)->lpVtbl -> AddRef(This)
  1060. #define ICertDB_Release(This) \
  1061. (This)->lpVtbl -> Release(This)
  1062. #define ICertDB_Open(This,dwFlags,cSession,pwszEventSource,pwszDBFile,pwszLogDir,pwszSystemDir,pwszTempDir) \
  1063. (This)->lpVtbl -> Open(This,dwFlags,cSession,pwszEventSource,pwszDBFile,pwszLogDir,pwszSystemDir,pwszTempDir)
  1064. #define ICertDB_ShutDown(This,dwFlags) \
  1065. (This)->lpVtbl -> ShutDown(This,dwFlags)
  1066. #define ICertDB_OpenRow(This,dwFlags,RowId,pwszSerialNumberOrCertHash,pprow) \
  1067. (This)->lpVtbl -> OpenRow(This,dwFlags,RowId,pwszSerialNumberOrCertHash,pprow)
  1068. #define ICertDB_OpenView(This,ccvr,acvr,ccolOut,acolOut,dwFlags,ppenum) \
  1069. (This)->lpVtbl -> OpenView(This,ccvr,acvr,ccolOut,acolOut,dwFlags,ppenum)
  1070. #define ICertDB_EnumCertDBColumn(This,dwTable,ppenum) \
  1071. (This)->lpVtbl -> EnumCertDBColumn(This,dwTable,ppenum)
  1072. #define ICertDB_OpenBackup(This,grbitJet,ppBackup) \
  1073. (This)->lpVtbl -> OpenBackup(This,grbitJet,ppBackup)
  1074. #define ICertDB_GetDefaultColumnSet(This,iColumnSetDefault,cColumnIds,pcColumnIds,pColumnIds) \
  1075. (This)->lpVtbl -> GetDefaultColumnSet(This,iColumnSetDefault,cColumnIds,pcColumnIds,pColumnIds)
  1076. #endif /* COBJMACROS */
  1077. #endif /* C style interface */
  1078. HRESULT STDMETHODCALLTYPE ICertDB_Open_Proxy(
  1079. ICertDB * This,
  1080. /* [in] */ DWORD dwFlags,
  1081. /* [in] */ DWORD cSession,
  1082. /* [in] */ const WCHAR *pwszEventSource,
  1083. /* [in] */ const WCHAR *pwszDBFile,
  1084. /* [in] */ const WCHAR *pwszLogDir,
  1085. /* [in] */ const WCHAR *pwszSystemDir,
  1086. /* [in] */ const WCHAR *pwszTempDir);
  1087. void __RPC_STUB ICertDB_Open_Stub(
  1088. IRpcStubBuffer *This,
  1089. IRpcChannelBuffer *_pRpcChannelBuffer,
  1090. PRPC_MESSAGE _pRpcMessage,
  1091. DWORD *_pdwStubPhase);
  1092. HRESULT STDMETHODCALLTYPE ICertDB_ShutDown_Proxy(
  1093. ICertDB * This,
  1094. /* [in] */ DWORD dwFlags);
  1095. void __RPC_STUB ICertDB_ShutDown_Stub(
  1096. IRpcStubBuffer *This,
  1097. IRpcChannelBuffer *_pRpcChannelBuffer,
  1098. PRPC_MESSAGE _pRpcMessage,
  1099. DWORD *_pdwStubPhase);
  1100. HRESULT STDMETHODCALLTYPE ICertDB_OpenRow_Proxy(
  1101. ICertDB * This,
  1102. /* [in] */ DWORD dwFlags,
  1103. /* [in] */ DWORD RowId,
  1104. /* [in] */ const WCHAR *pwszSerialNumberOrCertHash,
  1105. /* [out] */ ICertDBRow **pprow);
  1106. void __RPC_STUB ICertDB_OpenRow_Stub(
  1107. IRpcStubBuffer *This,
  1108. IRpcChannelBuffer *_pRpcChannelBuffer,
  1109. PRPC_MESSAGE _pRpcMessage,
  1110. DWORD *_pdwStubPhase);
  1111. HRESULT STDMETHODCALLTYPE ICertDB_OpenView_Proxy(
  1112. ICertDB * This,
  1113. /* [in] */ DWORD ccvr,
  1114. /* [in] */ const CERTVIEWRESTRICTION *acvr,
  1115. /* [in] */ DWORD ccolOut,
  1116. /* [in] */ const DWORD *acolOut,
  1117. /* [in] */ const DWORD dwFlags,
  1118. /* [out] */ IEnumCERTDBRESULTROW **ppenum);
  1119. void __RPC_STUB ICertDB_OpenView_Stub(
  1120. IRpcStubBuffer *This,
  1121. IRpcChannelBuffer *_pRpcChannelBuffer,
  1122. PRPC_MESSAGE _pRpcMessage,
  1123. DWORD *_pdwStubPhase);
  1124. HRESULT STDMETHODCALLTYPE ICertDB_EnumCertDBColumn_Proxy(
  1125. ICertDB * This,
  1126. /* [in] */ DWORD dwTable,
  1127. /* [out] */ IEnumCERTDBCOLUMN **ppenum);
  1128. void __RPC_STUB ICertDB_EnumCertDBColumn_Stub(
  1129. IRpcStubBuffer *This,
  1130. IRpcChannelBuffer *_pRpcChannelBuffer,
  1131. PRPC_MESSAGE _pRpcMessage,
  1132. DWORD *_pdwStubPhase);
  1133. HRESULT STDMETHODCALLTYPE ICertDB_OpenBackup_Proxy(
  1134. ICertDB * This,
  1135. /* [in] */ LONG grbitJet,
  1136. /* [out] */ ICertDBBackup **ppBackup);
  1137. void __RPC_STUB ICertDB_OpenBackup_Stub(
  1138. IRpcStubBuffer *This,
  1139. IRpcChannelBuffer *_pRpcChannelBuffer,
  1140. PRPC_MESSAGE _pRpcMessage,
  1141. DWORD *_pdwStubPhase);
  1142. HRESULT STDMETHODCALLTYPE ICertDB_GetDefaultColumnSet_Proxy(
  1143. ICertDB * This,
  1144. /* [in] */ DWORD iColumnSetDefault,
  1145. /* [in] */ DWORD cColumnIds,
  1146. /* [out] */ DWORD *pcColumnIds,
  1147. /* [ref][out] */ DWORD *pColumnIds);
  1148. void __RPC_STUB ICertDB_GetDefaultColumnSet_Stub(
  1149. IRpcStubBuffer *This,
  1150. IRpcChannelBuffer *_pRpcChannelBuffer,
  1151. PRPC_MESSAGE _pRpcMessage,
  1152. DWORD *_pdwStubPhase);
  1153. #endif /* __ICertDB_INTERFACE_DEFINED__ */
  1154. #ifndef __CERTDBLib_LIBRARY_DEFINED__
  1155. #define __CERTDBLib_LIBRARY_DEFINED__
  1156. /* library CERTDBLib */
  1157. /* [helpstring][version][uuid] */
  1158. EXTERN_C const IID LIBID_CERTDBLib;
  1159. EXTERN_C const CLSID CLSID_CCertDBRestore;
  1160. #ifdef __cplusplus
  1161. class DECLSPEC_UUID("94142360-8bd5-11d3-b32e-00c04f79dc72")
  1162. CCertDBRestore;
  1163. #endif
  1164. EXTERN_C const CLSID CLSID_CCertDB;
  1165. #ifdef __cplusplus
  1166. class DECLSPEC_UUID("946e4b70-8bd5-11d3-b32e-00c04f79dc72")
  1167. CCertDB;
  1168. #endif
  1169. #endif /* __CERTDBLib_LIBRARY_DEFINED__ */
  1170. /* Additional Prototypes for ALL interfaces */
  1171. /* end of Additional Prototypes */
  1172. #ifdef __cplusplus
  1173. }
  1174. #endif
  1175. #endif