master
  1/**
  2 * This file has no copyright assigned and is placed in the Public Domain.
  3 * This file is part of the mingw-w64 runtime package.
  4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5 */
  6#ifndef __REQUIRED_RPCNDR_H_VERSION__
  7#define __REQUIRED_RPCNDR_H_VERSION__ 475
  8#endif
  9
 10#include "rpc.h"
 11#include "rpcndr.h"
 12
 13#ifndef __RPCNDR_H_VERSION__
 14#error this stub requires an updated version of <rpcndr.h>
 15#endif
 16
 17#ifndef COM_NO_WINDOWS_H
 18#include "windows.h"
 19#include "ole2.h"
 20#endif
 21
 22#ifndef __certmod_h__
 23#define __certmod_h__
 24
 25#ifndef __ICertManageModule_FWD_DEFINED__
 26#define __ICertManageModule_FWD_DEFINED__
 27typedef struct ICertManageModule ICertManageModule;
 28#endif
 29
 30#include "wtypes.h"
 31#include "oaidl.h"
 32
 33#ifdef __cplusplus
 34extern "C"{
 35#endif
 36
 37#ifndef __MIDL_user_allocate_free_DEFINED__
 38#define __MIDL_user_allocate_free_DEFINED__
 39  void *__RPC_API MIDL_user_allocate(size_t);
 40  void __RPC_API MIDL_user_free(void *);
 41#endif
 42
 43#define CMM_REFRESHONLY (0x1)
 44#define CMM_READONLY (0x2)
 45
 46  const WCHAR wszCMM_PROP_NAME[] = L"Name";
 47  const WCHAR wszCMM_PROP_DESCRIPTION[] = L"Description";
 48  const WCHAR wszCMM_PROP_COPYRIGHT[] = L"Copyright";
 49  const WCHAR wszCMM_PROP_FILEVER[] = L"File Version";
 50  const WCHAR wszCMM_PROP_PRODUCTVER[] = L"Product Version";
 51  const WCHAR wszCMM_PROP_DISPLAY_HWND[] = L"HWND";
 52  const WCHAR wszCMM_PROP_ISMULTITHREADED[] = L"IsMultiThreaded";
 53
 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
 57#ifndef __ICertManageModule_INTERFACE_DEFINED__
 58#define __ICertManageModule_INTERFACE_DEFINED__
 59  EXTERN_C const IID IID_ICertManageModule;
 60#if defined(__cplusplus) && !defined(CINTERFACE)
 61  struct ICertManageModule : public IDispatch {
 62  public:
 63    virtual HRESULT WINAPI GetProperty(const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,VARIANT *pvarProperty) = 0;
 64    virtual HRESULT WINAPI SetProperty(const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,const VARIANT *pvarProperty) = 0;
 65    virtual HRESULT WINAPI Configure(const BSTR strConfig,BSTR strStorageLocation,LONG Flags) = 0;
 66  };
 67#else
 68  typedef struct ICertManageModuleVtbl {
 69    BEGIN_INTERFACE
 70      HRESULT (WINAPI *QueryInterface)(ICertManageModule *This,REFIID riid,void **ppvObject);
 71      ULONG (WINAPI *AddRef)(ICertManageModule *This);
 72      ULONG (WINAPI *Release)(ICertManageModule *This);
 73      HRESULT (WINAPI *GetTypeInfoCount)(ICertManageModule *This,UINT *pctinfo);
 74      HRESULT (WINAPI *GetTypeInfo)(ICertManageModule *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
 75      HRESULT (WINAPI *GetIDsOfNames)(ICertManageModule *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
 76      HRESULT (WINAPI *Invoke)(ICertManageModule *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
 77      HRESULT (WINAPI *GetProperty)(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,VARIANT *pvarProperty);
 78      HRESULT (WINAPI *SetProperty)(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,const VARIANT *pvarProperty);
 79      HRESULT (WINAPI *Configure)(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,LONG Flags);
 80    END_INTERFACE
 81  } ICertManageModuleVtbl;
 82  struct ICertManageModule {
 83    CONST_VTBL struct ICertManageModuleVtbl *lpVtbl;
 84  };
 85#ifdef COBJMACROS
 86#define ICertManageModule_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
 87#define ICertManageModule_AddRef(This) (This)->lpVtbl->AddRef(This)
 88#define ICertManageModule_Release(This) (This)->lpVtbl->Release(This)
 89#define ICertManageModule_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
 90#define ICertManageModule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
 91#define ICertManageModule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
 92#define ICertManageModule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
 93#define ICertManageModule_GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty) (This)->lpVtbl->GetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
 94#define ICertManageModule_SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty) (This)->lpVtbl->SetProperty(This,strConfig,strStorageLocation,strPropertyName,Flags,pvarProperty)
 95#define ICertManageModule_Configure(This,strConfig,strStorageLocation,Flags) (This)->lpVtbl->Configure(This,strConfig,strStorageLocation,Flags)
 96#endif
 97#endif
 98  HRESULT WINAPI ICertManageModule_GetProperty_Proxy(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,VARIANT *pvarProperty);
 99  void __RPC_STUB ICertManageModule_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
100  HRESULT WINAPI ICertManageModule_SetProperty_Proxy(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,BSTR strPropertyName,LONG Flags,const VARIANT *pvarProperty);
101  void __RPC_STUB ICertManageModule_SetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
102  HRESULT WINAPI ICertManageModule_Configure_Proxy(ICertManageModule *This,const BSTR strConfig,BSTR strStorageLocation,LONG Flags);
103  void __RPC_STUB ICertManageModule_Configure_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
104#endif
105
106  ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
107  unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
108  unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
109  void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
110  ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
111  unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
112  unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
113  void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
114
115#ifdef __cplusplus
116}
117#endif
118#endif