29#define ACCOUNT_ADJUST_PRIVILEGES 2
30#define ACCOUNT_ADJUST_QUOTAS 4
31#define ACCOUNT_ADJUST_SYSTEM_ACCESS 8
33#define ACCOUNT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 15)
34#define ACCOUNT_READ (STANDARD_RIGHTS_READ | 1)
35#define ACCOUNT_WRITE (STANDARD_RIGHTS_WRITE | 14)
36#define ACCOUNT_EXECUTE (STANDARD_RIGHTS_EXECUTE)
38#define SECRET_SET_VALUE 1
39#define SECRET_QUERY_VALUE 2
41#define SECRET_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 3)
42#define SECRET_READ (STANDARD_RIGHTS_READ | 2)
43#define SECRET_WRITE (STANDARD_RIGHTS_WRITE | 1)
44#define SECRET_EXECUTE (STANDARD_RIGHTS_EXECUTE)
48#define SECURITY_ACCESS_INTERACTIVE_LOGON 0x00000001
49#define SECURITY_ACCESS_NETWORK_LOGON 0x00000002
50#define SECURITY_ACCESS_BATCH_LOGON 0x00000004
51#define SECURITY_ACCESS_SERVICE_LOGON 0x00000010
52#define SECURITY_ACCESS_PROXY_LOGON 0x00000020
53#define SECURITY_ACCESS_DENY_INTERACTIVE_LOGON 0x00000040
54#define SECURITY_ACCESS_DENY_NETWORK_LOGON 0x00000080
55#define SECURITY_ACCESS_DENY_BATCH_LOGON 0x00000100
56#define SECURITY_ACCESS_DENY_SERVICE_LOGON 0x00000200
57#define SECURITY_ACCESS_REMOTE_INTERACTIVE_LOGON 0x00000400
58#define SECURITY_ACCESS_DENY_REMOTE_INTERACTIVE_LOGON 0x00000800
60#ifdef _NTIFS_INCLUDED_
enum _POLICY_AUDIT_EVENT_TYPE * PPOLICY_AUDIT_EVENT_TYPE
@ AuditCategoryAccountManagement
@ AuditCategoryAccountLogon
@ AuditCategoryPolicyChange
@ AuditCategoryObjectAccess
@ AuditCategoryDirectoryServiceAccess
@ AuditCategoryDetailedTracking
@ AuditCategoryPrivilegeUse
enum _POLICY_AUDIT_EVENT_TYPE POLICY_AUDIT_EVENT_TYPE