ReactOS 0.4.16-dev-334-g4d9f67c
precomp.h
Go to the documentation of this file.
1#ifndef __AUTHZ_PRECOMP_H
2#define __AUTHZ_PRECOMP_H
3
4#define _AUTHZ_
5
6#include <stdarg.h>
7
8#define WIN32_NO_STATUS
9#define _INC_WINDOWS
10#define COM_NO_WINDOWS_H
11
12#include <windef.h>
13#include <winbase.h>
14
15#include <authz.h>
16
17#if DBG
18
19#define RESMAN_TAG 0x89ABCDEF
20#define CLIENTCTX_TAG 0x789ABCDE
21#define VALIDATE_RESMAN_HANDLE(handle) ASSERT(((PAUTHZ_RESMAN)handle)->Tag == RESMAN_TAG)
22#define VALIDATE_CLIENTCTX_HANDLE(handle) ASSERT(((PAUTHZ_CLIENT_CONTEXT)handle)->Tag == CLIENTCTX_TAG)
23
24#else
25
26#define VALIDATE_RESMAN_HANDLE(handle)
27#define VALIDATE_CLIENTCTX_HANDLE(handle)
28
29#endif
30
31typedef struct _AUTHZ_RESMAN
32{
33#if DBG
34 DWORD Tag;
35#endif
36
40
44
47
49{
50#if DBG
51 DWORD Tag;
52#endif
53
55
62
63#endif /* __AUTHZ_PRECOMP_H */
VOID(CALLBACK * PFN_AUTHZ_FREE_DYNAMIC_GROUPS)(IN PSID_AND_ATTRIBUTES pSidAttrArray)
Definition: authz.h:120
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)
Definition: authz.h:113
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)
Definition: authz.h:108
struct _AUTHZ_CLIENT_CONTEXT * PAUTHZ_CLIENT_CONTEXT
struct _AUTHZ_RESMAN * PAUTHZ_RESMAN
struct _AUTHZ_CLIENT_CONTEXT AUTHZ_CLIENT_CONTEXT
struct _AUTHZ_RESMAN AUTHZ_RESMAN
unsigned long DWORD
Definition: ntddk_ex.h:95
AUTHZ_CLIENT_CONTEXT_HANDLE ServerContext
Definition: precomp.h:59
PVOID DynamicGroupArgs
Definition: precomp.h:60
LARGE_INTEGER ExpirationTime
Definition: precomp.h:58
AUTHZ_RESOURCE_MANAGER_HANDLE AuthzResourceManager
Definition: precomp.h:56
WCHAR ResourceManagerName[1]
Definition: precomp.h:45
DWORD flags
Definition: precomp.h:41
PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS pfnComputeDynamicGroups
Definition: precomp.h:38
LUID AuthenticationId
Definition: precomp.h:43
PFN_AUTHZ_DYNAMIC_ACCESS_CHECK pfnAccessCheck
Definition: precomp.h:37
PSID UserSid
Definition: precomp.h:42
PFN_AUTHZ_FREE_DYNAMIC_GROUPS pfnFreeDynamicGroups
Definition: precomp.h:39
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065
__wchar_t WCHAR
Definition: xmlstorage.h:180