source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/certpol.h@ 1166

Last change on this file since 1166 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 8.5 KB
Line 
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 __certpol_h__
23#define __certpol_h__
24
25#ifndef __ICertPolicy_FWD_DEFINED__
26#define __ICertPolicy_FWD_DEFINED__
27typedef struct ICertPolicy ICertPolicy;
28#endif
29
30#ifndef __ICertPolicy2_FWD_DEFINED__
31#define __ICertPolicy2_FWD_DEFINED__
32typedef struct ICertPolicy2 ICertPolicy2;
33#endif
34
35#include "wtypes.h"
36#include "certmod.h"
37
38#ifdef __cplusplus
39extern "C"{
40#endif
41
42#ifndef __MIDL_user_allocate_free_DEFINED__
43#define __MIDL_user_allocate_free_DEFINED__
44 void *__RPC_API MIDL_user_allocate(size_t);
45 void __RPC_API MIDL_user_free(void *);
46#endif
47
48#ifndef __ICertPolicy_INTERFACE_DEFINED__
49#define __ICertPolicy_INTERFACE_DEFINED__
50 EXTERN_C const IID IID_ICertPolicy;
51#if defined(__cplusplus) && !defined(CINTERFACE)
52 struct ICertPolicy : public IDispatch {
53 public:
54 virtual HRESULT WINAPI Initialize(const BSTR strConfig) = 0;
55 virtual HRESULT WINAPI VerifyRequest(const BSTR strConfig,LONG Context,LONG bNewRequest,LONG Flags,LONG *pDisposition) = 0;
56 virtual HRESULT WINAPI GetDescription(BSTR *pstrDescription) = 0;
57 virtual HRESULT WINAPI ShutDown(void) = 0;
58 };
59#else
60 typedef struct ICertPolicyVtbl {
61 BEGIN_INTERFACE
62 HRESULT (WINAPI *QueryInterface)(ICertPolicy *This,REFIID riid,void **ppvObject);
63 ULONG (WINAPI *AddRef)(ICertPolicy *This);
64 ULONG (WINAPI *Release)(ICertPolicy *This);
65 HRESULT (WINAPI *GetTypeInfoCount)(ICertPolicy *This,UINT *pctinfo);
66 HRESULT (WINAPI *GetTypeInfo)(ICertPolicy *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
67 HRESULT (WINAPI *GetIDsOfNames)(ICertPolicy *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
68 HRESULT (WINAPI *Invoke)(ICertPolicy *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
69 HRESULT (WINAPI *Initialize)(ICertPolicy *This,const BSTR strConfig);
70 HRESULT (WINAPI *VerifyRequest)(ICertPolicy *This,const BSTR strConfig,LONG Context,LONG bNewRequest,LONG Flags,LONG *pDisposition);
71 HRESULT (WINAPI *GetDescription)(ICertPolicy *This,BSTR *pstrDescription);
72 HRESULT (WINAPI *ShutDown)(ICertPolicy *This);
73 END_INTERFACE
74 } ICertPolicyVtbl;
75 struct ICertPolicy {
76 CONST_VTBL struct ICertPolicyVtbl *lpVtbl;
77 };
78#ifdef COBJMACROS
79#define ICertPolicy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
80#define ICertPolicy_AddRef(This) (This)->lpVtbl->AddRef(This)
81#define ICertPolicy_Release(This) (This)->lpVtbl->Release(This)
82#define ICertPolicy_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
83#define ICertPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
84#define ICertPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
85#define ICertPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
86#define ICertPolicy_Initialize(This,strConfig) (This)->lpVtbl->Initialize(This,strConfig)
87#define ICertPolicy_VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition) (This)->lpVtbl->VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)
88#define ICertPolicy_GetDescription(This,pstrDescription) (This)->lpVtbl->GetDescription(This,pstrDescription)
89#define ICertPolicy_ShutDown(This) (This)->lpVtbl->ShutDown(This)
90#endif
91#endif
92 HRESULT WINAPI ICertPolicy_Initialize_Proxy(ICertPolicy *This,const BSTR strConfig);
93 void __RPC_STUB ICertPolicy_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
94 HRESULT WINAPI ICertPolicy_VerifyRequest_Proxy(ICertPolicy *This,const BSTR strConfig,LONG Context,LONG bNewRequest,LONG Flags,LONG *pDisposition);
95 void __RPC_STUB ICertPolicy_VerifyRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
96 HRESULT WINAPI ICertPolicy_GetDescription_Proxy(ICertPolicy *This,BSTR *pstrDescription);
97 void __RPC_STUB ICertPolicy_GetDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
98 HRESULT WINAPI ICertPolicy_ShutDown_Proxy(ICertPolicy *This);
99 void __RPC_STUB ICertPolicy_ShutDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
100#endif
101
102#ifndef __ICertPolicy2_INTERFACE_DEFINED__
103#define __ICertPolicy2_INTERFACE_DEFINED__
104 EXTERN_C const IID IID_ICertPolicy2;
105#if defined(__cplusplus) && !defined(CINTERFACE)
106 struct ICertPolicy2 : public ICertPolicy {
107 public:
108 virtual HRESULT WINAPI GetManageModule(ICertManageModule **ppManageModule) = 0;
109 };
110#else
111 typedef struct ICertPolicy2Vtbl {
112 BEGIN_INTERFACE
113 HRESULT (WINAPI *QueryInterface)(ICertPolicy2 *This,REFIID riid,void **ppvObject);
114 ULONG (WINAPI *AddRef)(ICertPolicy2 *This);
115 ULONG (WINAPI *Release)(ICertPolicy2 *This);
116 HRESULT (WINAPI *GetTypeInfoCount)(ICertPolicy2 *This,UINT *pctinfo);
117 HRESULT (WINAPI *GetTypeInfo)(ICertPolicy2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
118 HRESULT (WINAPI *GetIDsOfNames)(ICertPolicy2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
119 HRESULT (WINAPI *Invoke)(ICertPolicy2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
120 HRESULT (WINAPI *Initialize)(ICertPolicy2 *This,const BSTR strConfig);
121 HRESULT (WINAPI *VerifyRequest)(ICertPolicy2 *This,const BSTR strConfig,LONG Context,LONG bNewRequest,LONG Flags,LONG *pDisposition);
122 HRESULT (WINAPI *GetDescription)(ICertPolicy2 *This,BSTR *pstrDescription);
123 HRESULT (WINAPI *ShutDown)(ICertPolicy2 *This);
124 HRESULT (WINAPI *GetManageModule)(ICertPolicy2 *This,ICertManageModule **ppManageModule);
125 END_INTERFACE
126 } ICertPolicy2Vtbl;
127 struct ICertPolicy2 {
128 CONST_VTBL struct ICertPolicy2Vtbl *lpVtbl;
129 };
130#ifdef COBJMACROS
131#define ICertPolicy2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
132#define ICertPolicy2_AddRef(This) (This)->lpVtbl->AddRef(This)
133#define ICertPolicy2_Release(This) (This)->lpVtbl->Release(This)
134#define ICertPolicy2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
135#define ICertPolicy2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
136#define ICertPolicy2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
137#define ICertPolicy2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
138#define ICertPolicy2_Initialize(This,strConfig) (This)->lpVtbl->Initialize(This,strConfig)
139#define ICertPolicy2_VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition) (This)->lpVtbl->VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)
140#define ICertPolicy2_GetDescription(This,pstrDescription) (This)->lpVtbl->GetDescription(This,pstrDescription)
141#define ICertPolicy2_ShutDown(This) (This)->lpVtbl->ShutDown(This)
142#define ICertPolicy2_GetManageModule(This,ppManageModule) (This)->lpVtbl->GetManageModule(This,ppManageModule)
143#endif
144#endif
145 HRESULT WINAPI ICertPolicy2_GetManageModule_Proxy(ICertPolicy2 *This,ICertManageModule **ppManageModule);
146 void __RPC_STUB ICertPolicy2_GetManageModule_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
147#endif
148
149 ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
150 unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
151 unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
152 void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
153
154#ifdef __cplusplus
155}
156#endif
157#endif
Note: See TracBrowser for help on using the repository browser.