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