1 /*** Autogenerated by WIDL 6.4 from include/napcertrelyingparty.idl - Do not edit ***/
2 
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10 
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15 
16 #ifndef __napcertrelyingparty_h__
17 #define __napcertrelyingparty_h__
18 
19 /* Forward declarations */
20 
21 #ifndef __INapCertRelyingParty_FWD_DEFINED__
22 #define __INapCertRelyingParty_FWD_DEFINED__
23 typedef interface INapCertRelyingParty INapCertRelyingParty;
24 #ifdef __cplusplus
25 interface INapCertRelyingParty;
26 #endif /* __cplusplus */
27 #endif
28 
29 /* Headers for imported files */
30 
31 #include <naptypes.h>
32 #include <unknwn.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #include <winapifamily.h>
39 
40 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
41 
42 #include <wincrypt.h>
43 
44 __MINGW_ATTRIB_UNUSED static const UINT32 NapAfwZonePropId = CERT_FIRST_USER_PROP_ID;
45 __MINGW_ATTRIB_UNUSED static const UINT32 NapAfwProtectionLevelPropId = CERT_FIRST_USER_PROP_ID + 1;
46 
47 EXTERN_C const CLSID CLSID_NapCertRelyingParty;
48 /*****************************************************************************
49  * INapCertRelyingParty interface
50  */
51 #ifndef __INapCertRelyingParty_INTERFACE_DEFINED__
52 #define __INapCertRelyingParty_INTERFACE_DEFINED__
53 
54 DEFINE_GUID(IID_INapCertRelyingParty, 0x62c02ffc, 0x4c77, 0x4158, 0x87,0x54, 0x78,0x2d,0x5b,0x4e,0xe6,0x6e);
55 #if defined(__cplusplus) && !defined(CINTERFACE)
56 MIDL_INTERFACE("62c02ffc-4c77-4158-8754-782d5b4ee66e")
57 INapCertRelyingParty : public IUnknown
58 {
59     virtual HRESULT STDMETHODCALLTYPE SubscribeCertByGroup(
60         EnforcementEntityId id,
61         const BSTR subscriberName,
62         const VARIANT *reserved,
63         WINBOOL *certExists) = 0;
64 
65     virtual HRESULT STDMETHODCALLTYPE UnSubscribeCertByGroup(
66         EnforcementEntityId id,
67         const VARIANT *reserved) = 0;
68 
69     virtual HRESULT STDMETHODCALLTYPE GetSubscribedRelyingParties(
70         EnforcementEntityCount *count,
71         EnforcementEntityId **relyingParties) = 0;
72 
73 };
74 #ifdef __CRT_UUID_DECL
75 __CRT_UUID_DECL(INapCertRelyingParty, 0x62c02ffc, 0x4c77, 0x4158, 0x87,0x54, 0x78,0x2d,0x5b,0x4e,0xe6,0x6e)
76 #endif
77 #else
78 typedef struct INapCertRelyingPartyVtbl {
79     BEGIN_INTERFACE
80 
81     /*** IUnknown methods ***/
82     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
83         INapCertRelyingParty *This,
84         REFIID riid,
85         void **ppvObject);
86 
87     ULONG (STDMETHODCALLTYPE *AddRef)(
88         INapCertRelyingParty *This);
89 
90     ULONG (STDMETHODCALLTYPE *Release)(
91         INapCertRelyingParty *This);
92 
93     /*** INapCertRelyingParty methods ***/
94     HRESULT (STDMETHODCALLTYPE *SubscribeCertByGroup)(
95         INapCertRelyingParty *This,
96         EnforcementEntityId id,
97         const BSTR subscriberName,
98         const VARIANT *reserved,
99         WINBOOL *certExists);
100 
101     HRESULT (STDMETHODCALLTYPE *UnSubscribeCertByGroup)(
102         INapCertRelyingParty *This,
103         EnforcementEntityId id,
104         const VARIANT *reserved);
105 
106     HRESULT (STDMETHODCALLTYPE *GetSubscribedRelyingParties)(
107         INapCertRelyingParty *This,
108         EnforcementEntityCount *count,
109         EnforcementEntityId **relyingParties);
110 
111     END_INTERFACE
112 } INapCertRelyingPartyVtbl;
113 
114 interface INapCertRelyingParty {
115     CONST_VTBL INapCertRelyingPartyVtbl* lpVtbl;
116 };
117 
118 #ifdef COBJMACROS
119 #ifndef WIDL_C_INLINE_WRAPPERS
120 /*** IUnknown methods ***/
121 #define INapCertRelyingParty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
122 #define INapCertRelyingParty_AddRef(This) (This)->lpVtbl->AddRef(This)
123 #define INapCertRelyingParty_Release(This) (This)->lpVtbl->Release(This)
124 /*** INapCertRelyingParty methods ***/
125 #define INapCertRelyingParty_SubscribeCertByGroup(This,id,subscriberName,reserved,certExists) (This)->lpVtbl->SubscribeCertByGroup(This,id,subscriberName,reserved,certExists)
126 #define INapCertRelyingParty_UnSubscribeCertByGroup(This,id,reserved) (This)->lpVtbl->UnSubscribeCertByGroup(This,id,reserved)
127 #define INapCertRelyingParty_GetSubscribedRelyingParties(This,count,relyingParties) (This)->lpVtbl->GetSubscribedRelyingParties(This,count,relyingParties)
128 #else
129 /*** IUnknown methods ***/
130 static FORCEINLINE HRESULT INapCertRelyingParty_QueryInterface(INapCertRelyingParty* This,REFIID riid,void **ppvObject) {
131     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
132 }
133 static FORCEINLINE ULONG INapCertRelyingParty_AddRef(INapCertRelyingParty* This) {
134     return This->lpVtbl->AddRef(This);
135 }
136 static FORCEINLINE ULONG INapCertRelyingParty_Release(INapCertRelyingParty* This) {
137     return This->lpVtbl->Release(This);
138 }
139 /*** INapCertRelyingParty methods ***/
140 static FORCEINLINE HRESULT INapCertRelyingParty_SubscribeCertByGroup(INapCertRelyingParty* This,EnforcementEntityId id,const BSTR subscriberName,const VARIANT *reserved,WINBOOL *certExists) {
141     return This->lpVtbl->SubscribeCertByGroup(This,id,subscriberName,reserved,certExists);
142 }
143 static FORCEINLINE HRESULT INapCertRelyingParty_UnSubscribeCertByGroup(INapCertRelyingParty* This,EnforcementEntityId id,const VARIANT *reserved) {
144     return This->lpVtbl->UnSubscribeCertByGroup(This,id,reserved);
145 }
146 static FORCEINLINE HRESULT INapCertRelyingParty_GetSubscribedRelyingParties(INapCertRelyingParty* This,EnforcementEntityCount *count,EnforcementEntityId **relyingParties) {
147     return This->lpVtbl->GetSubscribedRelyingParties(This,count,relyingParties);
148 }
149 #endif
150 #endif
151 
152 #endif
153 
154 
155 #endif  /* __INapCertRelyingParty_INTERFACE_DEFINED__ */
156 
157 #endif
158 /* Begin additional prototypes for all interfaces */
159 
160 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
161 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
162 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
163 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
164 ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
165 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
166 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
167 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
168 
169 /* End additional prototypes */
170 
171 #ifdef __cplusplus
172 }
173 #endif
174 
175 #endif /* __napcertrelyingparty_h__ */
176