/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0555 */ /* Compiler settings for iaccess.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ /* @@MIDL_FILE_HEADING( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 500 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __iaccess_h__ #define __iaccess_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __IAccessControl_FWD_DEFINED__ #define __IAccessControl_FWD_DEFINED__ typedef interface IAccessControl IAccessControl; #endif /* __IAccessControl_FWD_DEFINED__ */ #ifndef __IAuditControl_FWD_DEFINED__ #define __IAuditControl_FWD_DEFINED__ typedef interface IAuditControl IAuditControl; #endif /* __IAuditControl_FWD_DEFINED__ */ /* header files for imported files */ #include "unknwn.h" #include "accctrl.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_iaccess_0000_0000 */ /* [local] */ //+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (c) Microsoft Corporation. All rights reserved. // //-------------------------------------------------------------------------- #if ( _MSC_VER >= 1020 ) #pragma once #endif typedef /* [allocate] */ PACTRL_ACCESSW PACTRL_ACCESSW_ALLOCATE_ALL_NODES; typedef /* [allocate] */ PACTRL_AUDITW PACTRL_AUDITW_ALLOCATE_ALL_NODES; extern RPC_IF_HANDLE __MIDL_itf_iaccess_0000_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_iaccess_0000_0000_v0_0_s_ifspec; #ifndef __IAccessControl_INTERFACE_DEFINED__ #define __IAccessControl_INTERFACE_DEFINED__ /* interface IAccessControl */ /* [unique][uuid][object] */ EXTERN_C const IID IID_IAccessControl; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("EEDD23E0-8410-11CE-A1C3-08002B2B8D8F") IAccessControl : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE GrantAccessRights( /* [in] */ __RPC__in PACTRL_ACCESSW pAccessList) = 0; virtual HRESULT STDMETHODCALLTYPE SetAccessRights( /* [in] */ __RPC__in PACTRL_ACCESSW pAccessList) = 0; virtual HRESULT STDMETHODCALLTYPE SetOwner( /* [in] */ __RPC__in PTRUSTEEW pOwner, /* [in] */ __RPC__in PTRUSTEEW pGroup) = 0; virtual HRESULT STDMETHODCALLTYPE RevokeAccessRights( /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ULONG cTrustees, /* [size_is][in] */ __RPC__in_ecount_full(cTrustees) TRUSTEEW prgTrustees[ ]) = 0; virtual HRESULT STDMETHODCALLTYPE GetAllAccessRights( /* [in] */ __RPC__in LPWSTR lpProperty, /* [out] */ __RPC__deref_out_opt PACTRL_ACCESSW_ALLOCATE_ALL_NODES *ppAccessList, /* [out] */ __RPC__deref_out_opt PTRUSTEEW *ppOwner, /* [out] */ __RPC__deref_out_opt PTRUSTEEW *ppGroup) = 0; virtual HRESULT STDMETHODCALLTYPE IsAccessAllowed( /* [in] */ __RPC__in PTRUSTEEW pTrustee, /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ACCESS_RIGHTS AccessRights, /* [out] */ __RPC__out BOOL *pfAccessAllowed) = 0; }; #else /* C style interface */ typedef struct IAccessControlVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IAccessControl * This); ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IAccessControl * This); HRESULT ( STDMETHODCALLTYPE *GrantAccessRights )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in PACTRL_ACCESSW pAccessList); HRESULT ( STDMETHODCALLTYPE *SetAccessRights )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in PACTRL_ACCESSW pAccessList); HRESULT ( STDMETHODCALLTYPE *SetOwner )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in PTRUSTEEW pOwner, /* [in] */ __RPC__in PTRUSTEEW pGroup); HRESULT ( STDMETHODCALLTYPE *RevokeAccessRights )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ULONG cTrustees, /* [size_is][in] */ __RPC__in_ecount_full(cTrustees) TRUSTEEW prgTrustees[ ]); HRESULT ( STDMETHODCALLTYPE *GetAllAccessRights )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in LPWSTR lpProperty, /* [out] */ __RPC__deref_out_opt PACTRL_ACCESSW_ALLOCATE_ALL_NODES *ppAccessList, /* [out] */ __RPC__deref_out_opt PTRUSTEEW *ppOwner, /* [out] */ __RPC__deref_out_opt PTRUSTEEW *ppGroup); HRESULT ( STDMETHODCALLTYPE *IsAccessAllowed )( __RPC__in IAccessControl * This, /* [in] */ __RPC__in PTRUSTEEW pTrustee, /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ACCESS_RIGHTS AccessRights, /* [out] */ __RPC__out BOOL *pfAccessAllowed); END_INTERFACE } IAccessControlVtbl; interface IAccessControl { CONST_VTBL struct IAccessControlVtbl *lpVtbl; }; #ifdef COBJMACROS #define IAccessControl_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IAccessControl_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IAccessControl_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IAccessControl_GrantAccessRights(This,pAccessList) \ ( (This)->lpVtbl -> GrantAccessRights(This,pAccessList) ) #define IAccessControl_SetAccessRights(This,pAccessList) \ ( (This)->lpVtbl -> SetAccessRights(This,pAccessList) ) #define IAccessControl_SetOwner(This,pOwner,pGroup) \ ( (This)->lpVtbl -> SetOwner(This,pOwner,pGroup) ) #define IAccessControl_RevokeAccessRights(This,lpProperty,cTrustees,prgTrustees) \ ( (This)->lpVtbl -> RevokeAccessRights(This,lpProperty,cTrustees,prgTrustees) ) #define IAccessControl_GetAllAccessRights(This,lpProperty,ppAccessList,ppOwner,ppGroup) \ ( (This)->lpVtbl -> GetAllAccessRights(This,lpProperty,ppAccessList,ppOwner,ppGroup) ) #define IAccessControl_IsAccessAllowed(This,pTrustee,lpProperty,AccessRights,pfAccessAllowed) \ ( (This)->lpVtbl -> IsAccessAllowed(This,pTrustee,lpProperty,AccessRights,pfAccessAllowed) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IAccessControl_INTERFACE_DEFINED__ */ /* interface __MIDL_itf_iaccess_0000_0001 */ /* [local] */ extern RPC_IF_HANDLE __MIDL_itf_iaccess_0000_0001_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_iaccess_0000_0001_v0_0_s_ifspec; #ifndef __IAuditControl_INTERFACE_DEFINED__ #define __IAuditControl_INTERFACE_DEFINED__ /* interface IAuditControl */ /* [unique][uuid][object] */ EXTERN_C const IID IID_IAuditControl; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("1da6292f-bc66-11ce-aae3-00aa004c2737") IAuditControl : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE GrantAuditRights( /* [in] */ __RPC__in PACTRL_AUDITW pAuditList) = 0; virtual HRESULT STDMETHODCALLTYPE SetAuditRights( /* [in] */ __RPC__in PACTRL_AUDITW pAuditList) = 0; virtual HRESULT STDMETHODCALLTYPE RevokeAuditRights( /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ULONG cTrustees, /* [size_is][in] */ __RPC__in_ecount_full(cTrustees) TRUSTEEW prgTrustees[ ]) = 0; virtual HRESULT STDMETHODCALLTYPE GetAllAuditRights( /* [in] */ __RPC__in LPWSTR lpProperty, /* [out] */ __RPC__deref_out_opt PACTRL_AUDITW *ppAuditList) = 0; virtual HRESULT STDMETHODCALLTYPE IsAccessAudited( /* [in] */ __RPC__in PTRUSTEEW pTrustee, /* [in] */ ACCESS_RIGHTS AuditRights, /* [out] */ __RPC__out BOOL *pfAccessAudited) = 0; }; #else /* C style interface */ typedef struct IAuditControlVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IAuditControl * This); ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IAuditControl * This); HRESULT ( STDMETHODCALLTYPE *GrantAuditRights )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in PACTRL_AUDITW pAuditList); HRESULT ( STDMETHODCALLTYPE *SetAuditRights )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in PACTRL_AUDITW pAuditList); HRESULT ( STDMETHODCALLTYPE *RevokeAuditRights )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in LPWSTR lpProperty, /* [in] */ ULONG cTrustees, /* [size_is][in] */ __RPC__in_ecount_full(cTrustees) TRUSTEEW prgTrustees[ ]); HRESULT ( STDMETHODCALLTYPE *GetAllAuditRights )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in LPWSTR lpProperty, /* [out] */ __RPC__deref_out_opt PACTRL_AUDITW *ppAuditList); HRESULT ( STDMETHODCALLTYPE *IsAccessAudited )( __RPC__in IAuditControl * This, /* [in] */ __RPC__in PTRUSTEEW pTrustee, /* [in] */ ACCESS_RIGHTS AuditRights, /* [out] */ __RPC__out BOOL *pfAccessAudited); END_INTERFACE } IAuditControlVtbl; interface IAuditControl { CONST_VTBL struct IAuditControlVtbl *lpVtbl; }; #ifdef COBJMACROS #define IAuditControl_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IAuditControl_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IAuditControl_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IAuditControl_GrantAuditRights(This,pAuditList) \ ( (This)->lpVtbl -> GrantAuditRights(This,pAuditList) ) #define IAuditControl_SetAuditRights(This,pAuditList) \ ( (This)->lpVtbl -> SetAuditRights(This,pAuditList) ) #define IAuditControl_RevokeAuditRights(This,lpProperty,cTrustees,prgTrustees) \ ( (This)->lpVtbl -> RevokeAuditRights(This,lpProperty,cTrustees,prgTrustees) ) #define IAuditControl_GetAllAuditRights(This,lpProperty,ppAuditList) \ ( (This)->lpVtbl -> GetAllAuditRights(This,lpProperty,ppAuditList) ) #define IAuditControl_IsAccessAudited(This,pTrustee,AuditRights,pfAccessAudited) \ ( (This)->lpVtbl -> IsAccessAudited(This,pTrustee,AuditRights,pfAccessAudited) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IAuditControl_INTERFACE_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif