master
  1/*** Autogenerated by WIDL 10.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__
 23typedef interface INapCertRelyingParty INapCertRelyingParty;
 24#ifdef __cplusplus
 25interface 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
 35extern "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
 47EXTERN_C const CLSID CLSID_NapCertRelyingParty;
 48/*****************************************************************************
 49 * INapCertRelyingParty interface
 50 */
 51#ifndef __INapCertRelyingParty_INTERFACE_DEFINED__
 52#define __INapCertRelyingParty_INTERFACE_DEFINED__
 53
 54DEFINE_GUID(IID_INapCertRelyingParty, 0x62c02ffc, 0x4c77, 0x4158, 0x87,0x54, 0x78,0x2d,0x5b,0x4e,0xe6,0x6e);
 55#if defined(__cplusplus) && !defined(CINTERFACE)
 56MIDL_INTERFACE("62c02ffc-4c77-4158-8754-782d5b4ee66e")
 57INapCertRelyingParty : 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
 78typedef 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
114interface 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 ***/
130static inline HRESULT INapCertRelyingParty_QueryInterface(INapCertRelyingParty* This,REFIID riid,void **ppvObject) {
131    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
132}
133static inline ULONG INapCertRelyingParty_AddRef(INapCertRelyingParty* This) {
134    return This->lpVtbl->AddRef(This);
135}
136static inline ULONG INapCertRelyingParty_Release(INapCertRelyingParty* This) {
137    return This->lpVtbl->Release(This);
138}
139/*** INapCertRelyingParty methods ***/
140static inline 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}
143static inline HRESULT INapCertRelyingParty_UnSubscribeCertByGroup(INapCertRelyingParty* This,EnforcementEntityId id,const VARIANT *reserved) {
144    return This->lpVtbl->UnSubscribeCertByGroup(This,id,reserved);
145}
146static inline 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
160ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
161unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
162unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
163void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
164ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
165unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
166unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
167void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
168
169/* End additional prototypes */
170
171#ifdef __cplusplus
172}
173#endif
174
175#endif /* __napcertrelyingparty_h__ */