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.

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