21#define AUTHZAPI DECLSPEC_IMPORT
30#define AUTHZ_ACCESS_CHECK_NO_DEEP_COPY_SD 0x1
32#define AUTHZ_GENERATE_SUCCESS_AUDIT 0x1
33#define AUTHZ_GENERATE_FAILURE_AUDIT 0x2
35#define AUTHZ_SKIP_TOKEN_GROUPS 0x2
36#define AUTHZ_REQUIRE_S4U_LOGON 0x4
38#define AUTHZ_NO_SUCCESS_AUDIT 0x1
39#define AUTHZ_NO_FAILURE_AUDIT 0x2
40#define AUTHZ_NO_ALLOC_STRINGS 0x4
42#define AUTHZ_RM_FLAG_NO_AUDIT 0x1
43#define AUTHZ_RM_FLAG_INITIALIZE_UNDER_IMPERSONATION 0x2
53#if !defined(_ADTGEN_H)
233 IN DWORD dwAdditionalParameterCount,
247 IN DWORD dwAdditionalParameterCount,
275 IN DWORD SecurityDescriptorCount,
VOID(CALLBACK * PFN_AUTHZ_FREE_DYNAMIC_GROUPS)(IN PSID_AND_ATTRIBUTES pSidAttrArray)
AUTHZAPI BOOL WINAPI AuthzRegisterSecurityEventSource(IN DWORD dwFlags, IN PCWSTR szEventSourceName, IN PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE phEventProvider)
AUTHZAPI BOOL WINAPI AuthzFreeResourceManager(IN AUTHZ_RESOURCE_MANAGER_HANDLE AuthzResourceManager)
AUTHZAPI BOOL WINAPI AuthzAddSidsToContext(IN AUTHZ_CLIENT_CONTEXT_HANDLE OrigClientContext, IN PSID_AND_ATTRIBUTES Sids, IN DWORD SidCount, IN PSID_AND_ATTRIBUTES RestrictedSids, IN DWORD RestrictedSidCount, OUT PAUTHZ_CLIENT_CONTEXT_HANDLE pNewClientContext)
struct _AUTHZ_SOURCE_SCHEMA_REGISTRATION * PAUTHZ_SOURCE_SCHEMA_REGISTRATION
AUTHZAPI BOOL WINAPI AuthzInitializeContextFromSid(IN DWORD Flags, IN PSID UserSid, IN AUTHZ_RESOURCE_MANAGER_HANDLE AuthzResourceManager, IN PLARGE_INTEGER pExpirationTime, IN LUID Identifier, IN PVOID DynamicGroupArgs, OUT PAUTHZ_CLIENT_CONTEXT_HANDLE pAuthzClientContext)
HANDLE * PAUTHZ_CLIENT_CONTEXT_HANDLE
HANDLE * PAUTHZ_AUDIT_INFO_HANDLE
HANDLE * PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE
_AUTHZ_CONTEXT_INFORMATION_CLASS
@ AuthzContextInfoGroupsSids
@ AuthzContextInfoPrivileges
@ AuthzContextInfoRestrictedSids
@ AuthzContextInfoUserSid
@ AuthzContextInfoExpirationTime
@ AuthzContextInfoServerContext
@ AuthzContextInfoIdentifier
@ AuthzContextInfoAuthenticationId
AUTHZAPI BOOL WINAPI AuthzReportSecurityEventFromParams(IN DWORD dwFlags, IN AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE hEventProvider, IN DWORD dwAuditId, IN PSID pUserSid OPTIONAL, IN PAUDIT_PARAMS pParams)
AUTHZAPI BOOL WINAPI AuthzOpenObjectAudit(IN DWORD Flags, IN AUTHZ_CLIENT_CONTEXT_HANDLE hAuthzClientContext, IN PAUTHZ_ACCESS_REQUEST pRequest, IN AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent, IN PSECURITY_DESCRIPTOR pSecurityDescriptor, IN PSECURITY_DESCRIPTOR *SecurityDescriptorArray, IN DWORD SecurityDescriptorCount, OUT PAUTHZ_ACCESS_REPLY pReply)
HANDLE AUTHZ_RESOURCE_MANAGER_HANDLE
HANDLE AUTHZ_ACCESS_CHECK_RESULTS_HANDLE
AUTHZAPI BOOL WINAPI AuthzInstallSecurityEventSource(IN DWORD dwFlags, IN PAUTHZ_SOURCE_SCHEMA_REGISTRATION pRegistration)
AUTHZAPI BOOL WINAPI AuthzInitializeContextFromToken(IN DWORD Flags, IN HANDLE TokenHandle, IN AUTHZ_RESOURCE_MANAGER_HANDLE AuthzResourceManager, IN PLARGE_INTEGER pExpirationTime, IN LUID Identifier, IN PVOID DynamicGroupArgs, OUT PAUTHZ_CLIENT_CONTEXT_HANDLE pAuthzClientContext)
AUTHZAPI BOOL WINAPI AuthzFreeAuditEvent(IN AUTHZ_AUDIT_EVENT_HANDLE pAuditEventInfo)
AUTHZAPI BOOL WINAPI AuthzFreeContext(IN AUTHZ_CLIENT_CONTEXT_HANDLE AuthzClientContext)
AUTHZAPI BOOL WINAPI AuthzUninstallSecurityEventSource(IN DWORD dwFlags, IN PWSTR szEventSourceName)
HANDLE AUTHZ_AUDIT_INFO_HANDLE
HANDLE AUTHZ_CLIENT_CONTEXT_HANDLE
struct _AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET
AUTHZAPI BOOL WINAPI AuthzFreeHandle(IN AUTHZ_ACCESS_CHECK_RESULTS_HANDLE AuthzHandle)
struct _AUTHZ_ACCESS_REQUEST * PAUTHZ_ACCESS_REQUEST
HANDLE AUTHZ_AUDIT_EVENT_HANDLE
HANDLE * PAUTHZ_RESOURCE_MANAGER_HANDLE
HANDLE AUTHZ_AUDIT_EVENT_TYPE_HANDLE
HANDLE * PAUTHZ_AUDIT_EVENT_TYPE_HANDLE
struct _AUTHZ_SOURCE_SCHEMA_REGISTRATION AUTHZ_SOURCE_SCHEMA_REGISTRATION
struct _AUTHZ_ACCESS_REPLY AUTHZ_ACCESS_REPLY
AUTHZAPI BOOL WINAPI AuthzEnumerateSecurityEventSources(IN DWORD dwFlags, OUT PAUTHZ_SOURCE_SCHEMA_REGISTRATION Buffer, OUT PDWORD pdwCount, IN OUT PDWORD pdwLength)
AUTHZAPI BOOL WINAPIV AuthzInitializeObjectAccessAuditEvent2(IN DWORD Flags, IN AUTHZ_AUDIT_EVENT_TYPE_HANDLE hAuditEventType, IN PWSTR szOperationType, IN PWSTR szObjectType, IN PWSTR szObjectName, IN PWSTR szAdditionalInfo, IN PWSTR szAdditionalInfo2, OUT PAUTHZ_AUDIT_EVENT_HANDLE phAuditEvent, IN DWORD dwAdditionalParameterCount,...)
AUTHZAPI BOOL WINAPI AuthzInitializeContextFromAuthzContext(IN DWORD flags, IN AUTHZ_CLIENT_CONTEXT_HANDLE AuthzHandle, IN PLARGE_INTEGER ExpirationTime, IN LUID Identifier, IN PVOID DynamicGroupArgs, OUT PAUTHZ_CLIENT_CONTEXT_HANDLE phNewAuthzHandle)
AUTHZAPI BOOL WINAPI AuthzAccessCheck(IN DWORD flags, IN AUTHZ_CLIENT_CONTEXT_HANDLE AuthzClientContext, IN PAUTHZ_ACCESS_REQUEST pRequest, IN AUTHZ_AUDIT_INFO_HANDLE AuditInfo, IN PSECURITY_DESCRIPTOR pSecurityDescriptor, IN PSECURITY_DESCRIPTOR *OptionalSecurityDescriptorArray, IN DWORD OptionalSecurityDescriptorCount OPTIONAL, IN OUT PAUTHZ_ACCESS_REPLY pReply, OUT PAUTHZ_ACCESS_CHECK_RESULTS_HANDLE pAuthzHandle)
HANDLE * PAUTHZ_AUDIT_EVENT_HANDLE
enum _AUTHZ_CONTEXT_INFORMATION_CLASS * PAUTHZ_CONTEXT_INFORMATION_CLASS
BOOL(CALLBACK * PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS)(IN AUTHZ_CLIENT_CONTEXT_HANDLE hAuthzClientContext, IN PVOID Args, OUT PSID_AND_ATTRIBUTES *pSidAttrArray, OUT PDWORD pSidCount, OUT PSID_AND_ATTRIBUTES *pRestrictedSidAttrArray, OUT PDWORD pRestrictedSidCount)
AUTHZAPI BOOL WINAPI AuthzGetInformationFromContext(IN AUTHZ_CLIENT_CONTEXT_HANDLE hAuthzClientContext, IN AUTHZ_CONTEXT_INFORMATION_CLASS InfoClass, IN DWORD BufferSize, OUT PDWORD pSizeRequired, OUT PVOID Buffer)
AUTHZAPI BOOL WINAPI AuthzCachedAccessCheck(IN DWORD Flags, IN AUTHZ_ACCESS_CHECK_RESULTS_HANDLE AuthzHandle, IN PAUTHZ_ACCESS_REQUEST pRequest, IN AUTHZ_AUDIT_EVENT_HANDLE AuditInfo, OUT PAUTHZ_ACCESS_REPLY pReply)
HANDLE * PAUTHZ_ACCESS_CHECK_RESULTS_HANDLE
struct _AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET * PAUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET
HANDLE AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE
AUTHZAPI BOOL WINAPI AuthzInitializeResourceManager(IN DWORD flags, IN PFN_AUTHZ_DYNAMIC_ACCESS_CHECK pfnAccessCheck, IN PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS pfnComputeDynamicGroups, IN PFN_AUTHZ_FREE_DYNAMIC_GROUPS pfnFreeDynamicGroups, IN PCWSTR ResourceManagerName, IN PAUTHZ_RESOURCE_MANAGER_HANDLE pAuthzResourceManager)
AUTHZAPI BOOL WINAPIV AuthzInitializeObjectAccessAuditEvent(IN DWORD Flags, IN AUTHZ_AUDIT_EVENT_TYPE_HANDLE hAuditEventType, IN PWSTR szOperationType, IN PWSTR szObjectType, IN PWSTR szObjectName, IN PWSTR szAdditionalInfo, OUT PAUTHZ_AUDIT_EVENT_HANDLE phAuditEvent, IN DWORD dwAdditionalParameterCount,...)
struct _AUTHZ_ACCESS_REQUEST AUTHZ_ACCESS_REQUEST
AUTHZAPI BOOL WINAPI AuthzUnregisterSecurityEventSource(IN DWORD dwFlags, IN OUT PAUTHZ_SECURITY_EVENT_PROVIDER_HANDLE phEventProvider)
enum _AUTHZ_CONTEXT_INFORMATION_CLASS AUTHZ_CONTEXT_INFORMATION_CLASS
struct _AUTHZ_ACCESS_REPLY * PAUTHZ_ACCESS_REPLY
AUTHZAPI BOOL WINAPIV AuthzReportSecurityEvent(IN DWORD dwFlags, IN AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE hEventProvider, IN DWORD dwAuditId, IN PSID pUserSid OPTIONAL, IN DWORD dwCount,...)
BOOL(CALLBACK * PFN_AUTHZ_DYNAMIC_ACCESS_CHECK)(IN AUTHZ_CLIENT_CONTEXT_HANDLE hAuthzClientContext, IN PACE_HEADER pAce, IN PVOID pArgs OPTIONAL, IN OUT PBOOL pbAceApplicable)
_In_ ACCESS_MASK _In_ ULONG _Out_ PHANDLE TokenHandle
ACCESS_MASK * PACCESS_MASK
PULONG MinorVersion OPTIONAL
PACCESS_MASK GrantedAccessMask
PDWORD SaclEvaluationResults
POBJECT_TYPE_LIST ObjectTypeList
ACCESS_MASK DesiredAccess
DWORD ObjectTypeListLength
PWSTR szEventSourceXmlSchemaFile
AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET ObjectTypeNames[ANYSIZE_ARRAY]
PWSTR szEventAccessStringsFile
PWSTR szExecutableImagePath
DWORD dwObjectTypeNameCount
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_Must_inspect_result_ _In_ ULONG Flags