CertMod.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:10k
源码类别:

模拟服务器

开发平台:

C/C++

  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.     
  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.         
  74.         virtual HRESULT STDMETHODCALLTYPE SetProperty( 
  75.             /* [in] */ const BSTR strConfig,
  76.             /* [in] */ BSTR strStorageLocation,
  77.             /* [in] */ BSTR strPropertyName,
  78.             /* [in] */ LONG Flags,
  79.             /* [in] */ const VARIANT *pvarProperty) = 0;
  80.         
  81.         virtual HRESULT STDMETHODCALLTYPE Configure( 
  82.             /* [in] */ const BSTR strConfig,
  83.             /* [in] */ BSTR strStorageLocation,
  84.             /* [in] */ LONG Flags) = 0;
  85.         
  86.     };
  87.     
  88. #else  /* C style interface */
  89.     typedef struct ICertManageModuleVtbl
  90.     {
  91.         BEGIN_INTERFACE
  92.         
  93.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  94.             ICertManageModule * This,
  95.             /* [in] */ REFIID riid,
  96.             /* [iid_is][out] */ void **ppvObject);
  97.         
  98.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  99.             ICertManageModule * This);
  100.         
  101.         ULONG ( STDMETHODCALLTYPE *Release )( 
  102.             ICertManageModule * This);
  103.         
  104.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  105.             ICertManageModule * This,
  106.             /* [out] */ UINT *pctinfo);
  107.         
  108.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  109.             ICertManageModule * This,
  110.             /* [in] */ UINT iTInfo,
  111.             /* [in] */ LCID lcid,
  112.             /* [out] */ ITypeInfo **ppTInfo);
  113.         
  114.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  115.             ICertManageModule * This,
  116.             /* [in] */ REFIID riid,
  117.             /* [size_is][in] */ LPOLESTR *rgszNames,
  118.             /* [in] */ UINT cNames,
  119.             /* [in] */ LCID lcid,
  120.             /* [size_is][out] */ DISPID *rgDispId);
  121.         
  122.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  123.             ICertManageModule * This,
  124.             /* [in] */ DISPID dispIdMember,
  125.             /* [in] */ REFIID riid,
  126.             /* [in] */ LCID lcid,
  127.             /* [in] */ WORD wFlags,
  128.             /* [out][in] */ DISPPARAMS *pDispParams,
  129.             /* [out] */ VARIANT *pVarResult,
  130.             /* [out] */ EXCEPINFO *pExcepInfo,
  131.             /* [out] */ UINT *puArgErr);
  132.         
  133.         HRESULT ( STDMETHODCALLTYPE *GetProperty )( 
  134.             ICertManageModule * This,
  135.             /* [in] */ const BSTR strConfig,
  136.             /* [in] */ BSTR strStorageLocation,
  137.             /* [in] */ BSTR strPropertyName,
  138.             /* [in] */ LONG Flags,
  139.             /* [retval][out] */ VARIANT *pvarProperty);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE *SetProperty )( 
  142.             ICertManageModule * This,
  143.             /* [in] */ const BSTR strConfig,
  144.             /* [in] */ BSTR strStorageLocation,
  145.             /* [in] */ BSTR strPropertyName,
  146.             /* [in] */ LONG Flags,
  147.             /* [in] */ const VARIANT *pvarProperty);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE *Configure )( 
  150.             ICertManageModule * This,
  151.             /* [in] */ const BSTR strConfig,
  152.             /* [in] */ BSTR strStorageLocation,
  153.             /* [in] */ LONG Flags);
  154.         
  155.         END_INTERFACE
  156.     } ICertManageModuleVtbl;
  157.     interface ICertManageModule
  158.     {
  159.         CONST_VTBL struct ICertManageModuleVtbl *lpVtbl;
  160.     };
  161.     
  162. #ifdef COBJMACROS
  163. #define ICertManageModule_QueryInterface(This,riid,ppvObject)
  164.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  165. #define ICertManageModule_AddRef(This)
  166.     (This)->lpVtbl -> AddRef(This)
  167. #define ICertManageModule_Release(This)
  168.     (This)->lpVtbl -> Release(This)
  169. #define ICertManageModule_GetTypeInfoCount(This,pctinfo)
  170.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  171. #define ICertManageModule_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  172.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  173. #define ICertManageModule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  174.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  175. #define ICertManageModule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  176.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  177. #define ICertManageModule_GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  178.     (This)->lpVtbl -> GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  179. #define ICertManageModule_SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  180.     (This)->lpVtbl -> SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
  181. #define ICertManageModule_Configure(This,strConfig,strStorageLocation,Flags)
  182.     (This)->lpVtbl -> Configure(This,strConfig,strStorageLocation,Flags)
  183. #endif /* COBJMACROS */
  184. #endif  /* C style interface */
  185. HRESULT STDMETHODCALLTYPE ICertManageModule_GetProperty_Proxy( 
  186.     ICertManageModule * This,
  187.     /* [in] */ const BSTR strConfig,
  188.     /* [in] */ BSTR strStorageLocation,
  189.     /* [in] */ BSTR strPropertyName,
  190.     /* [in] */ LONG Flags,
  191.     /* [retval][out] */ VARIANT *pvarProperty);
  192. void __RPC_STUB ICertManageModule_GetProperty_Stub(
  193.     IRpcStubBuffer *This,
  194.     IRpcChannelBuffer *_pRpcChannelBuffer,
  195.     PRPC_MESSAGE _pRpcMessage,
  196.     DWORD *_pdwStubPhase);
  197. HRESULT STDMETHODCALLTYPE ICertManageModule_SetProperty_Proxy( 
  198.     ICertManageModule * This,
  199.     /* [in] */ const BSTR strConfig,
  200.     /* [in] */ BSTR strStorageLocation,
  201.     /* [in] */ BSTR strPropertyName,
  202.     /* [in] */ LONG Flags,
  203.     /* [in] */ const VARIANT *pvarProperty);
  204. void __RPC_STUB ICertManageModule_SetProperty_Stub(
  205.     IRpcStubBuffer *This,
  206.     IRpcChannelBuffer *_pRpcChannelBuffer,
  207.     PRPC_MESSAGE _pRpcMessage,
  208.     DWORD *_pdwStubPhase);
  209. HRESULT STDMETHODCALLTYPE ICertManageModule_Configure_Proxy( 
  210.     ICertManageModule * This,
  211.     /* [in] */ const BSTR strConfig,
  212.     /* [in] */ BSTR strStorageLocation,
  213.     /* [in] */ LONG Flags);
  214. void __RPC_STUB ICertManageModule_Configure_Stub(
  215.     IRpcStubBuffer *This,
  216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  217.     PRPC_MESSAGE _pRpcMessage,
  218.     DWORD *_pdwStubPhase);
  219. #endif  /* __ICertManageModule_INTERFACE_DEFINED__ */
  220. /* Additional Prototypes for ALL interfaces */
  221. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  222. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  223. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  224. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  225. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  226. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  227. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  228. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  229. /* end of Additional Prototypes */
  230. #ifdef __cplusplus
  231. }
  232. #endif
  233. #endif