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.

312 lines
9.6 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 certmod.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 __certmod_h__
  27. #define __certmod_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICertManageModule_FWD_DEFINED__
  33. #define __ICertManageModule_FWD_DEFINED__
  34. typedef interface ICertManageModule ICertManageModule;
  35. #endif /* __ICertManageModule_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "wtypes.h"
  38. #include "oaidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_certmod_0000 */
  45. /* [local] */
  46. #define CMM_REFRESHONLY ( 0x1 )
  47. const WCHAR wszCMM_PROP_NAME[ ] = L"Name";
  48. const WCHAR wszCMM_PROP_DESCRIPTION[ ] = L"Description";
  49. const WCHAR wszCMM_PROP_COPYRIGHT[ ] = L"Copyright";
  50. const WCHAR wszCMM_PROP_FILEVER[ ] = L"File Version";
  51. const WCHAR wszCMM_PROP_PRODUCTVER[ ] = L"Product Version";
  52. const WCHAR wszCMM_PROP_DISPLAY_HWND[ ] = L"HWND";
  53. const WCHAR wszCMM_PROP_ISMULTITHREADED[ ] = L"IsMultiThreaded";
  54. extern RPC_IF_HANDLE __MIDL_itf_certmod_0000_v0_0_c_ifspec;
  55. extern RPC_IF_HANDLE __MIDL_itf_certmod_0000_v0_0_s_ifspec;
  56. #ifndef __ICertManageModule_INTERFACE_DEFINED__
  57. #define __ICertManageModule_INTERFACE_DEFINED__
  58. /* interface ICertManageModule */
  59. /* [unique][helpstring][dual][uuid][object] */
  60. EXTERN_C const IID IID_ICertManageModule;
  61. #if defined(__cplusplus) && !defined(CINTERFACE)
  62. MIDL_INTERFACE("e7d7ad42-bd3d-11d1-9a4d-00c04fc297eb")
  63. ICertManageModule : public IDispatch
  64. {
  65. public:
  66. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  67. /* [in] */ const BSTR strConfig,
  68. /* [in] */ BSTR strStorageLocation,
  69. /* [in] */ BSTR strPropertyName,
  70. /* [in] */ LONG Flags,
  71. /* [retval][out] */ VARIANT *pvarProperty) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE SetProperty(
  73. /* [in] */ const BSTR strConfig,
  74. /* [in] */ BSTR strStorageLocation,
  75. /* [in] */ BSTR strPropertyName,
  76. /* [in] */ LONG Flags,
  77. /* [in] */ const VARIANT *pvarProperty) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE Configure(
  79. /* [in] */ const BSTR strConfig,
  80. /* [in] */ BSTR strStorageLocation,
  81. /* [in] */ LONG Flags) = 0;
  82. };
  83. #else /* C style interface */
  84. typedef struct ICertManageModuleVtbl
  85. {
  86. BEGIN_INTERFACE
  87. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  88. ICertManageModule * This,
  89. /* [in] */ REFIID riid,
  90. /* [iid_is][out] */ void **ppvObject);
  91. ULONG ( STDMETHODCALLTYPE *AddRef )(
  92. ICertManageModule * This);
  93. ULONG ( STDMETHODCALLTYPE *Release )(
  94. ICertManageModule * This);
  95. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  96. ICertManageModule * This,
  97. /* [out] */ UINT *pctinfo);
  98. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  99. ICertManageModule * This,
  100. /* [in] */ UINT iTInfo,
  101. /* [in] */ LCID lcid,
  102. /* [out] */ ITypeInfo **ppTInfo);
  103. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  104. ICertManageModule * This,
  105. /* [in] */ REFIID riid,
  106. /* [size_is][in] */ LPOLESTR *rgszNames,
  107. /* [in] */ UINT cNames,
  108. /* [in] */ LCID lcid,
  109. /* [size_is][out] */ DISPID *rgDispId);
  110. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  111. ICertManageModule * This,
  112. /* [in] */ DISPID dispIdMember,
  113. /* [in] */ REFIID riid,
  114. /* [in] */ LCID lcid,
  115. /* [in] */ WORD wFlags,
  116. /* [out][in] */ DISPPARAMS *pDispParams,
  117. /* [out] */ VARIANT *pVarResult,
  118. /* [out] */ EXCEPINFO *pExcepInfo,
  119. /* [out] */ UINT *puArgErr);
  120. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  121. ICertManageModule * This,
  122. /* [in] */ const BSTR strConfig,
  123. /* [in] */ BSTR strStorageLocation,
  124. /* [in] */ BSTR strPropertyName,
  125. /* [in] */ LONG Flags,
  126. /* [retval][out] */ VARIANT *pvarProperty);
  127. HRESULT ( STDMETHODCALLTYPE *SetProperty )(
  128. ICertManageModule * This,
  129. /* [in] */ const BSTR strConfig,
  130. /* [in] */ BSTR strStorageLocation,
  131. /* [in] */ BSTR strPropertyName,
  132. /* [in] */ LONG Flags,
  133. /* [in] */ const VARIANT *pvarProperty);
  134. HRESULT ( STDMETHODCALLTYPE *Configure )(
  135. ICertManageModule * This,
  136. /* [in] */ const BSTR strConfig,
  137. /* [in] */ BSTR strStorageLocation,
  138. /* [in] */ LONG Flags);
  139. END_INTERFACE
  140. } ICertManageModuleVtbl;
  141. interface ICertManageModule
  142. {
  143. CONST_VTBL struct ICertManageModuleVtbl *lpVtbl;
  144. };
  145. #ifdef COBJMACROS
  146. #define ICertManageModule_QueryInterface(This,riid,ppvObject) \
  147. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  148. #define ICertManageModule_AddRef(This) \
  149. (This)->lpVtbl -> AddRef(This)
  150. #define ICertManageModule_Release(This) \
  151. (This)->lpVtbl -> Release(This)
  152. #define ICertManageModule_GetTypeInfoCount(This,pctinfo) \
  153. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  154. #define ICertManageModule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  155. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  156. #define ICertManageModule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  157. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  158. #define ICertManageModule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  159. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  160. #define ICertManageModule_GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty) \
  161. (This)->lpVtbl -> GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  162. #define ICertManageModule_SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty) \
  163. (This)->lpVtbl -> SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  164. #define ICertManageModule_Configure(This,strConfig,strStorageLocation,Flags) \
  165. (This)->lpVtbl -> Configure(This,strConfig,strStorageLocation,Flags)
  166. #endif /* COBJMACROS */
  167. #endif /* C style interface */
  168. HRESULT STDMETHODCALLTYPE ICertManageModule_GetProperty_Proxy(
  169. ICertManageModule * This,
  170. /* [in] */ const BSTR strConfig,
  171. /* [in] */ BSTR strStorageLocation,
  172. /* [in] */ BSTR strPropertyName,
  173. /* [in] */ LONG Flags,
  174. /* [retval][out] */ VARIANT *pvarProperty);
  175. void __RPC_STUB ICertManageModule_GetProperty_Stub(
  176. IRpcStubBuffer *This,
  177. IRpcChannelBuffer *_pRpcChannelBuffer,
  178. PRPC_MESSAGE _pRpcMessage,
  179. DWORD *_pdwStubPhase);
  180. HRESULT STDMETHODCALLTYPE ICertManageModule_SetProperty_Proxy(
  181. ICertManageModule * This,
  182. /* [in] */ const BSTR strConfig,
  183. /* [in] */ BSTR strStorageLocation,
  184. /* [in] */ BSTR strPropertyName,
  185. /* [in] */ LONG Flags,
  186. /* [in] */ const VARIANT *pvarProperty);
  187. void __RPC_STUB ICertManageModule_SetProperty_Stub(
  188. IRpcStubBuffer *This,
  189. IRpcChannelBuffer *_pRpcChannelBuffer,
  190. PRPC_MESSAGE _pRpcMessage,
  191. DWORD *_pdwStubPhase);
  192. HRESULT STDMETHODCALLTYPE ICertManageModule_Configure_Proxy(
  193. ICertManageModule * This,
  194. /* [in] */ const BSTR strConfig,
  195. /* [in] */ BSTR strStorageLocation,
  196. /* [in] */ LONG Flags);
  197. void __RPC_STUB ICertManageModule_Configure_Stub(
  198. IRpcStubBuffer *This,
  199. IRpcChannelBuffer *_pRpcChannelBuffer,
  200. PRPC_MESSAGE _pRpcMessage,
  201. DWORD *_pdwStubPhase);
  202. #endif /* __ICertManageModule_INTERFACE_DEFINED__ */
  203. /* Additional Prototypes for ALL interfaces */
  204. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  205. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  206. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  207. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  208. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  209. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  210. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  211. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  212. /* end of Additional Prototypes */
  213. #ifdef __cplusplus
  214. }
  215. #endif
  216. #endif