ReactOS  0.4.15-dev-976-g0f66c66
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 
31 typedef struct _AUTHZ_RESMAN
32 {
33 #if DBG
34  DWORD Tag;
35 #endif
36 
40 
44 
47 
48 typedef struct _AUTHZ_CLIENT_CONTEXT
49 {
50 #if DBG
51  DWORD Tag;
52 #endif
53 
55 
62 
63 #endif /* __AUTHZ_PRECOMP_H */
AUTHZ_RESOURCE_MANAGER_HANDLE AuthzResourceManager
Definition: precomp.h:56
LARGE_INTEGER ExpirationTime
Definition: precomp.h:58
PFN_AUTHZ_FREE_DYNAMIC_GROUPS pfnFreeDynamicGroups
Definition: precomp.h:39
DWORD flags
Definition: precomp.h:41
struct _AUTHZ_RESMAN AUTHZ_RESMAN
PSID UserSid
Definition: precomp.h:42
WCHAR ResourceManagerName[1]
Definition: precomp.h:45
PVOID DynamicGroupArgs
Definition: precomp.h:60
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
struct _AUTHZ_CLIENT_CONTEXT AUTHZ_CLIENT_CONTEXT
struct _AUTHZ_CLIENT_CONTEXT * PAUTHZ_CLIENT_CONTEXT
PFN_AUTHZ_DYNAMIC_ACCESS_CHECK pfnAccessCheck
Definition: precomp.h:37
__wchar_t WCHAR
Definition: xmlstorage.h:180
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
unsigned long DWORD
Definition: ntddk_ex.h:95
LUID AuthenticationId
Definition: precomp.h:43
struct _AUTHZ_RESMAN * PAUTHZ_RESMAN
PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS pfnComputeDynamicGroups
Definition: precomp.h:38
AUTHZ_CLIENT_CONTEXT_HANDLE ServerContext
Definition: precomp.h:59
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
VOID(CALLBACK * PFN_AUTHZ_FREE_DYNAMIC_GROUPS)(IN PSID_AND_ATTRIBUTES pSidAttrArray)
Definition: authz.h:120