ReactOS  0.4.13-dev-100-gc8611ae
setypes.h File Reference
#include <pshpack4.h>
#include <poppack.h>
Include dependency graph for setypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GENERIC_MAPPING
 
struct  _ACL
 
struct  _LUID_AND_ATTRIBUTES
 
struct  _PRIVILEGE_SET
 
struct  _SECURITY_QUALITY_OF_SERVICE
 
struct  _SE_IMPERSONATION_STATE
 
struct  _INITIAL_PRIVILEGE_SET
 
struct  _SECURITY_SUBJECT_CONTEXT
 
struct  _ACCESS_STATE
 
struct  _SE_ADT_OBJECT_TYPE
 
struct  _SE_ADT_PARAMETER_ARRAY_ENTRY
 
struct  _SE_ADT_ACCESS_REASON
 
struct  _SE_ADT_PARAMETER_ARRAY
 
struct  _SID
 
struct  _SID_AND_ATTRIBUTES
 
struct  _SID_AND_ATTRIBUTES_HASH
 
struct  _ACE_HEADER
 
struct  _ACCESS_ALLOWED_ACE
 
struct  _ACCESS_DENIED_ACE
 
struct  _SYSTEM_AUDIT_ACE
 
struct  _SYSTEM_ALARM_ACE
 
struct  _SYSTEM_MANDATORY_LABEL_ACE
 
struct  _SECURITY_DESCRIPTOR_RELATIVE
 
struct  _SECURITY_DESCRIPTOR
 
struct  _OBJECT_TYPE_LIST
 
struct  _ACCESS_REASONS
 
struct  _SE_SECURITY_DESCRIPTOR
 
struct  _SE_ACCESS_REQUEST
 
struct  _TOKEN_USER
 
struct  _TOKEN_GROUPS
 
struct  _TOKEN_PRIVILEGES
 
struct  _TOKEN_OWNER
 
struct  _TOKEN_PRIMARY_GROUP
 
struct  _TOKEN_DEFAULT_DACL
 
struct  _TOKEN_GROUPS_AND_PRIVILEGES
 
struct  _TOKEN_LINKED_TOKEN
 
struct  _TOKEN_ELEVATION
 
struct  _TOKEN_MANDATORY_LABEL
 
struct  _TOKEN_AUDIT_POLICY
 
struct  _TOKEN_SOURCE
 
struct  _TOKEN_STATISTICS
 
struct  _TOKEN_CONTROL
 
struct  _TOKEN_ORIGIN
 
struct  _SE_AUDIT_INFO
 
struct  _TOKEN_MANDATORY_POLICY
 
struct  _TOKEN_ACCESS_INFORMATION
 
struct  _SE_EXPORTS
 
struct  _SECURITY_CLIENT_CONTEXT
 

Macros

#define DELETE   0x00010000L
 
#define READ_CONTROL   0x00020000L
 
#define WRITE_DAC   0x00040000L
 
#define WRITE_OWNER   0x00080000L
 
#define SYNCHRONIZE   0x00100000L
 
#define STANDARD_RIGHTS_REQUIRED   0x000F0000L
 
#define STANDARD_RIGHTS_READ   READ_CONTROL
 
#define STANDARD_RIGHTS_WRITE   READ_CONTROL
 
#define STANDARD_RIGHTS_EXECUTE   READ_CONTROL
 
#define STANDARD_RIGHTS_ALL   0x001F0000L
 
#define SPECIFIC_RIGHTS_ALL   0x0000FFFFL
 
#define ACCESS_SYSTEM_SECURITY   0x01000000L
 
#define MAXIMUM_ALLOWED   0x02000000L
 
#define GENERIC_READ   0x80000000L
 
#define GENERIC_WRITE   0x40000000L
 
#define GENERIC_EXECUTE   0x20000000L
 
#define GENERIC_ALL   0x10000000L
 
#define ACL_REVISION   2
 
#define ACL_REVISION_DS   4
 
#define ACL_REVISION1   1
 
#define ACL_REVISION2   2
 
#define ACL_REVISION3   3
 
#define ACL_REVISION4   4
 
#define MIN_ACL_REVISION   ACL_REVISION2
 
#define MAX_ACL_REVISION   ACL_REVISION4
 
#define SECURITY_DESCRIPTOR_REVISION   (1)
 
#define SECURITY_DESCRIPTOR_REVISION1   (1)
 
#define SE_PRIVILEGE_ENABLED_BY_DEFAULT   (0x00000001L)
 
#define SE_PRIVILEGE_ENABLED   (0x00000002L)
 
#define SE_PRIVILEGE_REMOVED   (0x00000004L)
 
#define SE_PRIVILEGE_USED_FOR_ACCESS   (0x80000000L)
 
#define SE_PRIVILEGE_VALID_ATTRIBUTES
 
#define PRIVILEGE_SET_ALL_NECESSARY   (1)
 
#define SECURITY_MAX_IMPERSONATION_LEVEL   SecurityDelegation
 
#define SECURITY_MIN_IMPERSONATION_LEVEL   SecurityAnonymous
 
#define DEFAULT_IMPERSONATION_LEVEL   SecurityImpersonation
 
#define VALID_IMPERSONATION_LEVEL(Level)   (((Level) >= SECURITY_MIN_IMPERSONATION_LEVEL) && ((Level) <= SECURITY_MAX_IMPERSONATION_LEVEL))
 
#define SECURITY_DYNAMIC_TRACKING   (TRUE)
 
#define SECURITY_STATIC_TRACKING   (FALSE)
 
#define OWNER_SECURITY_INFORMATION   (0x00000001L)
 
#define GROUP_SECURITY_INFORMATION   (0x00000002L)
 
#define DACL_SECURITY_INFORMATION   (0x00000004L)
 
#define SACL_SECURITY_INFORMATION   (0x00000008L)
 
#define LABEL_SECURITY_INFORMATION   (0x00000010L)
 
#define PROTECTED_DACL_SECURITY_INFORMATION   (0x80000000L)
 
#define PROTECTED_SACL_SECURITY_INFORMATION   (0x40000000L)
 
#define UNPROTECTED_DACL_SECURITY_INFORMATION   (0x20000000L)
 
#define UNPROTECTED_SACL_SECURITY_INFORMATION   (0x10000000L)
 
#define INITIAL_PRIVILEGE_COUNT   3
 
#define SE_MIN_WELL_KNOWN_PRIVILEGE   2
 
#define SE_CREATE_TOKEN_PRIVILEGE   2
 
#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE   3
 
#define SE_LOCK_MEMORY_PRIVILEGE   4
 
#define SE_INCREASE_QUOTA_PRIVILEGE   5
 
#define SE_MACHINE_ACCOUNT_PRIVILEGE   6
 
#define SE_TCB_PRIVILEGE   7
 
#define SE_SECURITY_PRIVILEGE   8
 
#define SE_TAKE_OWNERSHIP_PRIVILEGE   9
 
#define SE_LOAD_DRIVER_PRIVILEGE   10
 
#define SE_SYSTEM_PROFILE_PRIVILEGE   11
 
#define SE_SYSTEMTIME_PRIVILEGE   12
 
#define SE_PROF_SINGLE_PROCESS_PRIVILEGE   13
 
#define SE_INC_BASE_PRIORITY_PRIVILEGE   14
 
#define SE_CREATE_PAGEFILE_PRIVILEGE   15
 
#define SE_CREATE_PERMANENT_PRIVILEGE   16
 
#define SE_BACKUP_PRIVILEGE   17
 
#define SE_RESTORE_PRIVILEGE   18
 
#define SE_SHUTDOWN_PRIVILEGE   19
 
#define SE_DEBUG_PRIVILEGE   20
 
#define SE_AUDIT_PRIVILEGE   21
 
#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE   22
 
#define SE_CHANGE_NOTIFY_PRIVILEGE   23
 
#define SE_REMOTE_SHUTDOWN_PRIVILEGE   24
 
#define SE_UNDOCK_PRIVILEGE   25
 
#define SE_SYNC_AGENT_PRIVILEGE   26
 
#define SE_ENABLE_DELEGATION_PRIVILEGE   27
 
#define SE_MANAGE_VOLUME_PRIVILEGE   28
 
#define SE_IMPERSONATE_PRIVILEGE   29
 
#define SE_CREATE_GLOBAL_PRIVILEGE   30
 
#define SE_TRUSTED_CREDMAN_ACCESS_PRIVILEGE   31
 
#define SE_RELABEL_PRIVILEGE   32
 
#define SE_INC_WORKING_SET_PRIVILEGE   33
 
#define SE_TIME_ZONE_PRIVILEGE   34
 
#define SE_CREATE_SYMBOLIC_LINK_PRIVILEGE   35
 
#define SE_MAX_WELL_KNOWN_PRIVILEGE   SE_CREATE_SYMBOLIC_LINK_PRIVILEGE
 
#define _NTLSA_AUDIT_
 
#define SE_MAX_AUDIT_PARAMETERS   32
 
#define SE_MAX_GENERIC_AUDIT_PARAMETERS   28
 
#define SE_ADT_OBJECT_ONLY   0x1
 
#define SE_ADT_PARAMETERS_SELF_RELATIVE   0x00000001
 
#define SE_ADT_PARAMETERS_SEND_TO_LSA   0x00000002
 
#define SE_ADT_PARAMETER_EXTENSIBLE_AUDIT   0x00000004
 
#define SE_ADT_PARAMETER_GENERIC_AUDIT   0x00000008
 
#define SE_ADT_PARAMETER_WRITE_SYNCHRONOUS   0x00000010
 
#define LSAP_SE_ADT_PARAMETER_ARRAY_TRUE_SIZE(Parameters)
 
#define SE_UNSOLICITED_INPUT_PRIVILEGE   6
 
#define SID_IDENTIFIER_AUTHORITY_DEFINED
 
#define SID_DEFINED
 
#define SID_REVISION   1
 
#define SID_MAX_SUB_AUTHORITIES   15
 
#define SID_RECOMMENDED_SUB_AUTHORITIES   1
 
#define SECURITY_MAX_SID_SIZE   (sizeof(SID) - sizeof($ULONG) + (SID_MAX_SUB_AUTHORITIES * sizeof($ULONG)))
 
#define SID_HASH_SIZE   32
 
#define SECURITY_NULL_SID_AUTHORITY   {0,0,0,0,0,0}
 
#define SECURITY_WORLD_SID_AUTHORITY   {0,0,0,0,0,1}
 
#define SECURITY_LOCAL_SID_AUTHORITY   {0,0,0,0,0,2}
 
#define SECURITY_CREATOR_SID_AUTHORITY   {0,0,0,0,0,3}
 
#define SECURITY_NON_UNIQUE_AUTHORITY   {0,0,0,0,0,4}
 
#define SECURITY_RESOURCE_MANAGER_AUTHORITY   {0,0,0,0,0,9}
 
#define SECURITY_NULL_RID   (0x00000000L)
 
#define SECURITY_WORLD_RID   (0x00000000L)
 
#define SECURITY_LOCAL_RID   (0x00000000L)
 
#define SECURITY_LOCAL_LOGON_RID   (0x00000001L)
 
#define SECURITY_CREATOR_OWNER_RID   (0x00000000L)
 
#define SECURITY_CREATOR_GROUP_RID   (0x00000001L)
 
#define SECURITY_CREATOR_OWNER_SERVER_RID   (0x00000002L)
 
#define SECURITY_CREATOR_GROUP_SERVER_RID   (0x00000003L)
 
#define SECURITY_CREATOR_OWNER_RIGHTS_RID   (0x00000004L)
 
#define SECURITY_NT_AUTHORITY   {0,0,0,0,0,5}
 
#define SECURITY_DIALUP_RID   (0x00000001L)
 
#define SECURITY_NETWORK_RID   (0x00000002L)
 
#define SECURITY_BATCH_RID   (0x00000003L)
 
#define SECURITY_INTERACTIVE_RID   (0x00000004L)
 
#define SECURITY_LOGON_IDS_RID   (0x00000005L)
 
#define SECURITY_LOGON_IDS_RID_COUNT   (3L)
 
#define SECURITY_SERVICE_RID   (0x00000006L)
 
#define SECURITY_ANONYMOUS_LOGON_RID   (0x00000007L)
 
#define SECURITY_PROXY_RID   (0x00000008L)
 
#define SECURITY_ENTERPRISE_CONTROLLERS_RID   (0x00000009L)
 
#define SECURITY_SERVER_LOGON_RID   SECURITY_ENTERPRISE_CONTROLLERS_RID
 
#define SECURITY_PRINCIPAL_SELF_RID   (0x0000000AL)
 
#define SECURITY_AUTHENTICATED_USER_RID   (0x0000000BL)
 
#define SECURITY_RESTRICTED_CODE_RID   (0x0000000CL)
 
#define SECURITY_TERMINAL_SERVER_RID   (0x0000000DL)
 
#define SECURITY_REMOTE_LOGON_RID   (0x0000000EL)
 
#define SECURITY_THIS_ORGANIZATION_RID   (0x0000000FL)
 
#define SECURITY_IUSER_RID   (0x00000011L)
 
#define SECURITY_LOCAL_SYSTEM_RID   (0x00000012L)
 
#define SECURITY_LOCAL_SERVICE_RID   (0x00000013L)
 
#define SECURITY_NETWORK_SERVICE_RID   (0x00000014L)
 
#define SECURITY_NT_NON_UNIQUE   (0x00000015L)
 
#define SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT   (3L)
 
#define SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID   (0x00000016L)
 
#define SECURITY_BUILTIN_DOMAIN_RID   (0x00000020L)
 
#define SECURITY_WRITE_RESTRICTED_CODE_RID   (0x00000021L)
 
#define SECURITY_PACKAGE_BASE_RID   (0x00000040L)
 
#define SECURITY_PACKAGE_RID_COUNT   (2L)
 
#define SECURITY_PACKAGE_NTLM_RID   (0x0000000AL)
 
#define SECURITY_PACKAGE_SCHANNEL_RID   (0x0000000EL)
 
#define SECURITY_PACKAGE_DIGEST_RID   (0x00000015L)
 
#define SECURITY_CRED_TYPE_BASE_RID   (0x00000041L)
 
#define SECURITY_CRED_TYPE_RID_COUNT   (2L)
 
#define SECURITY_CRED_TYPE_THIS_ORG_CERT_RID   (0x00000001L)
 
#define SECURITY_MIN_BASE_RID   (0x00000050L)
 
#define SECURITY_SERVICE_ID_BASE_RID   (0x00000050L)
 
#define SECURITY_SERVICE_ID_RID_COUNT   (6L)
 
#define SECURITY_RESERVED_ID_BASE_RID   (0x00000051L)
 
#define SECURITY_APPPOOL_ID_BASE_RID   (0x00000052L)
 
#define SECURITY_APPPOOL_ID_RID_COUNT   (6L)
 
#define SECURITY_VIRTUALSERVER_ID_BASE_RID   (0x00000053L)
 
#define SECURITY_VIRTUALSERVER_ID_RID_COUNT   (6L)
 
#define SECURITY_USERMODEDRIVERHOST_ID_BASE_RID   (0x00000054L)
 
#define SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT   (6L)
 
#define SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID   (0x00000055L)
 
#define SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT   (6L)
 
#define SECURITY_WMIHOST_ID_BASE_RID   (0x00000056L)
 
#define SECURITY_WMIHOST_ID_RID_COUNT   (6L)
 
#define SECURITY_TASK_ID_BASE_RID   (0x00000057L)
 
#define SECURITY_NFS_ID_BASE_RID   (0x00000058L)
 
#define SECURITY_COM_ID_BASE_RID   (0x00000059L)
 
#define SECURITY_VIRTUALACCOUNT_ID_RID_COUNT   (6L)
 
#define SECURITY_MAX_BASE_RID   (0x0000006FL)
 
#define SECURITY_MAX_ALWAYS_FILTERED   (0x000003E7L)
 
#define SECURITY_MIN_NEVER_FILTERED   (0x000003E8L)
 
#define SECURITY_OTHER_ORGANIZATION_RID   (0x000003E8L)
 
#define SECURITY_WINDOWSMOBILE_ID_BASE_RID   (0x00000070L)
 
#define DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS   (0x000001F2L)
 
#define FOREST_USER_RID_MAX   (0x000001F3L)
 
#define DOMAIN_USER_RID_ADMIN   (0x000001F4L)
 
#define DOMAIN_USER_RID_GUEST   (0x000001F5L)
 
#define DOMAIN_USER_RID_KRBTGT   (0x000001F6L)
 
#define DOMAIN_USER_RID_MAX   (0x000003E7L)
 
#define DOMAIN_GROUP_RID_ADMINS   (0x00000200L)
 
#define DOMAIN_GROUP_RID_USERS   (0x00000201L)
 
#define DOMAIN_GROUP_RID_GUESTS   (0x00000202L)
 
#define DOMAIN_GROUP_RID_COMPUTERS   (0x00000203L)
 
#define DOMAIN_GROUP_RID_CONTROLLERS   (0x00000204L)
 
#define DOMAIN_GROUP_RID_CERT_ADMINS   (0x00000205L)
 
#define DOMAIN_GROUP_RID_SCHEMA_ADMINS   (0x00000206L)
 
#define DOMAIN_GROUP_RID_ENTERPRISE_ADMINS   (0x00000207L)
 
#define DOMAIN_GROUP_RID_POLICY_ADMINS   (0x00000208L)
 
#define DOMAIN_GROUP_RID_READONLY_CONTROLLERS   (0x00000209L)
 
#define DOMAIN_ALIAS_RID_ADMINS   (0x00000220L)
 
#define DOMAIN_ALIAS_RID_USERS   (0x00000221L)
 
#define DOMAIN_ALIAS_RID_GUESTS   (0x00000222L)
 
#define DOMAIN_ALIAS_RID_POWER_USERS   (0x00000223L)
 
#define DOMAIN_ALIAS_RID_ACCOUNT_OPS   (0x00000224L)
 
#define DOMAIN_ALIAS_RID_SYSTEM_OPS   (0x00000225L)
 
#define DOMAIN_ALIAS_RID_PRINT_OPS   (0x00000226L)
 
#define DOMAIN_ALIAS_RID_BACKUP_OPS   (0x00000227L)
 
#define DOMAIN_ALIAS_RID_REPLICATOR   (0x00000228L)
 
#define DOMAIN_ALIAS_RID_RAS_SERVERS   (0x00000229L)
 
#define DOMAIN_ALIAS_RID_PREW2KCOMPACCESS   (0x0000022AL)
 
#define DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS   (0x0000022BL)
 
#define DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS   (0x0000022CL)
 
#define DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS   (0x0000022DL)
 
#define DOMAIN_ALIAS_RID_MONITORING_USERS   (0x0000022EL)
 
#define DOMAIN_ALIAS_RID_LOGGING_USERS   (0x0000022FL)
 
#define DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS   (0x00000230L)
 
#define DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS   (0x00000231L)
 
#define DOMAIN_ALIAS_RID_DCOM_USERS   (0x00000232L)
 
#define DOMAIN_ALIAS_RID_IUSERS   (0x00000238L)
 
#define DOMAIN_ALIAS_RID_CRYPTO_OPERATORS   (0x00000239L)
 
#define DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP   (0x0000023BL)
 
#define DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP   (0x0000023CL)
 
#define DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP   (0x0000023DL)
 
#define DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP   (0x0000023EL)
 
#define SECURITY_MANDATORY_LABEL_AUTHORITY   {0,0,0,0,0,16}
 
#define SECURITY_MANDATORY_UNTRUSTED_RID   (0x00000000L)
 
#define SECURITY_MANDATORY_LOW_RID   (0x00001000L)
 
#define SECURITY_MANDATORY_MEDIUM_RID   (0x00002000L)
 
#define SECURITY_MANDATORY_HIGH_RID   (0x00003000L)
 
#define SECURITY_MANDATORY_SYSTEM_RID   (0x00004000L)
 
#define SECURITY_MANDATORY_PROTECTED_PROCESS_RID   (0x00005000L)
 
#define SECURITY_MANDATORY_MAXIMUM_USER_RID   SECURITY_MANDATORY_SYSTEM_RID
 
#define MANDATORY_LEVEL_TO_MANDATORY_RID(IL)   (IL * 0x1000)
 
#define SYSTEM_LUID   {0x3e7, 0x0}
 
#define ANONYMOUS_LOGON_LUID   {0x3e6, 0x0}
 
#define LOCALSERVICE_LUID   {0x3e5, 0x0}
 
#define NETWORKSERVICE_LUID   {0x3e4, 0x0}
 
#define IUSER_LUID   {0x3e3, 0x0}
 
#define ACCESS_MIN_MS_ACE_TYPE   (0x0)
 
#define ACCESS_ALLOWED_ACE_TYPE   (0x0)
 
#define ACCESS_DENIED_ACE_TYPE   (0x1)
 
#define SYSTEM_AUDIT_ACE_TYPE   (0x2)
 
#define SYSTEM_ALARM_ACE_TYPE   (0x3)
 
#define ACCESS_MAX_MS_V2_ACE_TYPE   (0x3)
 
#define ACCESS_ALLOWED_COMPOUND_ACE_TYPE   (0x4)
 
#define ACCESS_MAX_MS_V3_ACE_TYPE   (0x4)
 
#define ACCESS_MIN_MS_OBJECT_ACE_TYPE   (0x5)
 
#define ACCESS_ALLOWED_OBJECT_ACE_TYPE   (0x5)
 
#define ACCESS_DENIED_OBJECT_ACE_TYPE   (0x6)
 
#define SYSTEM_AUDIT_OBJECT_ACE_TYPE   (0x7)
 
#define SYSTEM_ALARM_OBJECT_ACE_TYPE   (0x8)
 
#define ACCESS_MAX_MS_OBJECT_ACE_TYPE   (0x8)
 
#define ACCESS_MAX_MS_V4_ACE_TYPE   (0x8)
 
#define ACCESS_MAX_MS_ACE_TYPE   (0x8)
 
#define ACCESS_ALLOWED_CALLBACK_ACE_TYPE   (0x9)
 
#define ACCESS_DENIED_CALLBACK_ACE_TYPE   (0xA)
 
#define ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE   (0xB)
 
#define ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE   (0xC)
 
#define SYSTEM_AUDIT_CALLBACK_ACE_TYPE   (0xD)
 
#define SYSTEM_ALARM_CALLBACK_ACE_TYPE   (0xE)
 
#define SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE   (0xF)
 
#define SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE   (0x10)
 
#define ACCESS_MAX_MS_V5_ACE_TYPE   (0x11)
 
#define SYSTEM_MANDATORY_LABEL_ACE_TYPE   (0x11)
 
#define OBJECT_INHERIT_ACE   (0x1)
 
#define CONTAINER_INHERIT_ACE   (0x2)
 
#define NO_PROPAGATE_INHERIT_ACE   (0x4)
 
#define INHERIT_ONLY_ACE   (0x8)
 
#define INHERITED_ACE   (0x10)
 
#define VALID_INHERIT_FLAGS   (0x1F)
 
#define SUCCESSFUL_ACCESS_ACE_FLAG   (0x40)
 
#define FAILED_ACCESS_ACE_FLAG   (0x80)
 
#define SYSTEM_MANDATORY_LABEL_NO_WRITE_UP   0x1
 
#define SYSTEM_MANDATORY_LABEL_NO_READ_UP   0x2
 
#define SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP   0x4
 
#define SYSTEM_MANDATORY_LABEL_VALID_MASK
 
#define SECURITY_DESCRIPTOR_MIN_LENGTH   (sizeof(SECURITY_DESCRIPTOR))
 
#define SE_OWNER_DEFAULTED   0x0001
 
#define SE_GROUP_DEFAULTED   0x0002
 
#define SE_DACL_PRESENT   0x0004
 
#define SE_DACL_DEFAULTED   0x0008
 
#define SE_SACL_PRESENT   0x0010
 
#define SE_SACL_DEFAULTED   0x0020
 
#define SE_DACL_UNTRUSTED   0x0040
 
#define SE_SERVER_SECURITY   0x0080
 
#define SE_DACL_AUTO_INHERIT_REQ   0x0100
 
#define SE_SACL_AUTO_INHERIT_REQ   0x0200
 
#define SE_DACL_AUTO_INHERITED   0x0400
 
#define SE_SACL_AUTO_INHERITED   0x0800
 
#define SE_DACL_PROTECTED   0x1000
 
#define SE_SACL_PROTECTED   0x2000
 
#define SE_RM_CONTROL_VALID   0x4000
 
#define SE_SELF_RELATIVE   0x8000
 
#define ACCESS_OBJECT_GUID   0
 
#define ACCESS_PROPERTY_SET_GUID   1
 
#define ACCESS_PROPERTY_GUID   2
 
#define ACCESS_MAX_LEVEL   4
 
#define AUDIT_ALLOW_NO_PRIVILEGE   0x1
 
#define ACCESS_DS_SOURCE_A   "DS"
 
#define ACCESS_DS_SOURCE_W   L"DS"
 
#define ACCESS_DS_OBJECT_TYPE_NAME_A   "Directory Service Object"
 
#define ACCESS_DS_OBJECT_TYPE_NAME_W   L"Directory Service Object"
 
#define ACCESS_REASON_TYPE_MASK   0xffff0000
 
#define ACCESS_REASON_DATA_MASK   0x0000ffff
 
#define SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE   0x00000001
 
#define SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE   0x00000002
 
#define SE_SECURITY_DESCRIPTOR_VALID_FLAGS   0x00000003
 
#define TOKEN_ASSIGN_PRIMARY   (0x0001)
 
#define TOKEN_DUPLICATE   (0x0002)
 
#define TOKEN_IMPERSONATE   (0x0004)
 
#define TOKEN_QUERY   (0x0008)
 
#define TOKEN_QUERY_SOURCE   (0x0010)
 
#define TOKEN_ADJUST_PRIVILEGES   (0x0020)
 
#define TOKEN_ADJUST_GROUPS   (0x0040)
 
#define TOKEN_ADJUST_DEFAULT   (0x0080)
 
#define TOKEN_ADJUST_SESSIONID   (0x0100)
 
#define TOKEN_ALL_ACCESS_P
 
#define TOKEN_ALL_ACCESS   (TOKEN_ALL_ACCESS_P | TOKEN_ADJUST_SESSIONID)
 
#define TOKEN_READ   (STANDARD_RIGHTS_READ | TOKEN_QUERY)
 
#define TOKEN_WRITE
 
#define TOKEN_EXECUTE   (STANDARD_RIGHTS_EXECUTE)
 
#define TOKEN_MANDATORY_POLICY_OFF   0x0
 
#define TOKEN_MANDATORY_POLICY_NO_WRITE_UP   0x1
 
#define TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN   0x2
 
#define TOKEN_MANDATORY_POLICY_VALID_MASK
 
#define POLICY_AUDIT_SUBCATEGORY_COUNT   (56)
 
#define TOKEN_SOURCE_LENGTH   8
 
#define TOKEN_HAS_TRAVERSE_PRIVILEGE   0x0001
 
#define TOKEN_HAS_BACKUP_PRIVILEGE   0x0002
 
#define TOKEN_HAS_RESTORE_PRIVILEGE   0x0004
 
#define TOKEN_WRITE_RESTRICTED   0x0008
 
#define TOKEN_HAS_ADMIN_GROUP   TOKEN_WRITE_RESTRICTED
 
#define TOKEN_IS_RESTRICTED   0x0010
 
#define TOKEN_SESSION_NOT_REFERENCED   0x0020
 
#define TOKEN_SANDBOX_INERT   0x0040
 
#define TOKEN_HAS_IMPERSONATE_PRIVILEGE   0x0080
 
#define SE_BACKUP_PRIVILEGES_CHECKED   0x0100
 
#define TOKEN_VIRTUALIZE_ALLOWED   0x0200
 
#define TOKEN_VIRTUALIZE_ENABLED   0x0400
 
#define TOKEN_IS_FILTERED   0x0800
 
#define TOKEN_UIACCESS   0x1000
 
#define TOKEN_NOT_LOW   0x2000
 

Typedefs

typedef $ULONG SECURITY_INFORMATION
 
typedef $ULONGPSECURITY_INFORMATION
 
typedef $ULONG ACCESS_MASK
 
typedef $ULONGPACCESS_MASK
 
typedef PVOID PACCESS_TOKEN
 
typedef PVOID PSID
 
typedef struct _GENERIC_MAPPING GENERIC_MAPPING
 
typedef struct _GENERIC_MAPPINGPGENERIC_MAPPING
 
typedef struct _ACL ACL
 
typedef struct _ACLPACL
 
typedef struct _LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES
 
typedef struct _LUID_AND_ATTRIBUTESPLUID_AND_ATTRIBUTES
 
typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY]
 
typedef LUID_AND_ATTRIBUTES_ARRAYPLUID_AND_ATTRIBUTES_ARRAY
 
typedef struct _PRIVILEGE_SET PRIVILEGE_SET
 
typedef struct _PRIVILEGE_SETPPRIVILEGE_SET
 
typedef enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL
 
typedef enum _SECURITY_IMPERSONATION_LEVELPSECURITY_IMPERSONATION_LEVEL
 
typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE
 
typedef BOOLEANPSECURITY_CONTEXT_TRACKING_MODE
 
typedef struct _SECURITY_QUALITY_OF_SERVICE SECURITY_QUALITY_OF_SERVICE
 
typedef struct _SECURITY_QUALITY_OF_SERVICEPSECURITY_QUALITY_OF_SERVICE
 
typedef struct _SE_IMPERSONATION_STATE SE_IMPERSONATION_STATE
 
typedef struct _SE_IMPERSONATION_STATEPSE_IMPERSONATION_STATE
 
typedef struct _INITIAL_PRIVILEGE_SET INITIAL_PRIVILEGE_SET
 
typedef struct _INITIAL_PRIVILEGE_SETPINITIAL_PRIVILEGE_SET
 
typedef struct _SECURITY_SUBJECT_CONTEXT SECURITY_SUBJECT_CONTEXT
 
typedef struct _SECURITY_SUBJECT_CONTEXTPSECURITY_SUBJECT_CONTEXT
 
typedef struct _ACCESS_STATE ACCESS_STATE
 
typedef struct _ACCESS_STATEPACCESS_STATE
 
typedef VOID(NTAPIPNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR) (_In_ PVOID Vcb, _In_ PSECURITY_DESCRIPTOR SecurityDescriptor)
 
typedef enum _SE_ADT_PARAMETER_TYPE SE_ADT_PARAMETER_TYPE
 
typedef enum _SE_ADT_PARAMETER_TYPEPSE_ADT_PARAMETER_TYPE
 
typedef struct _SE_ADT_OBJECT_TYPE SE_ADT_OBJECT_TYPE
 
typedef struct _SE_ADT_OBJECT_TYPEPSE_ADT_OBJECT_TYPE
 
typedef struct _SE_ADT_PARAMETER_ARRAY_ENTRY SE_ADT_PARAMETER_ARRAY_ENTRY
 
typedef struct _SE_ADT_PARAMETER_ARRAY_ENTRYPSE_ADT_PARAMETER_ARRAY_ENTRY
 
typedef struct _SE_ADT_ACCESS_REASON SE_ADT_ACCESS_REASON
 
typedef struct _SE_ADT_ACCESS_REASONPSE_ADT_ACCESS_REASON
 
typedef struct _SE_ADT_PARAMETER_ARRAY SE_ADT_PARAMETER_ARRAY
 
typedef struct _SE_ADT_PARAMETER_ARRAYPSE_ADT_PARAMETER_ARRAY
 
typedef struct _SID SID
 
typedef struct _SIDPISID
 
typedef enum _SID_NAME_USE SID_NAME_USE
 
typedef enum _SID_NAME_USEPSID_NAME_USE
 
typedef struct _SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES
 
typedef struct _SID_AND_ATTRIBUTESPSID_AND_ATTRIBUTES
 
typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY]
 
typedef SID_AND_ATTRIBUTES_ARRAYPSID_AND_ATTRIBUTES_ARRAY
 
typedef ULONG_PTR SID_HASH_ENTRY
 
typedef ULONG_PTRPSID_HASH_ENTRY
 
typedef struct _SID_AND_ATTRIBUTES_HASH SID_AND_ATTRIBUTES_HASH
 
typedef struct _SID_AND_ATTRIBUTES_HASHPSID_AND_ATTRIBUTES_HASH
 
typedef struct _ACE_HEADER ACE_HEADER
 
typedef struct _ACE_HEADERPACE_HEADER
 
typedef struct _ACCESS_ALLOWED_ACE ACCESS_ALLOWED_ACE
 
typedef struct _ACCESS_ALLOWED_ACEPACCESS_ALLOWED_ACE
 
typedef struct _ACCESS_DENIED_ACE ACCESS_DENIED_ACE
 
typedef struct _ACCESS_DENIED_ACEPACCESS_DENIED_ACE
 
typedef struct _SYSTEM_AUDIT_ACE SYSTEM_AUDIT_ACE
 
typedef struct _SYSTEM_AUDIT_ACEPSYSTEM_AUDIT_ACE
 
typedef struct _SYSTEM_ALARM_ACE SYSTEM_ALARM_ACE
 
typedef struct _SYSTEM_ALARM_ACEPSYSTEM_ALARM_ACE
 
typedef struct _SYSTEM_MANDATORY_LABEL_ACE SYSTEM_MANDATORY_LABEL_ACE
 
typedef struct _SYSTEM_MANDATORY_LABEL_ACEPSYSTEM_MANDATORY_LABEL_ACE
 
typedef $USHORT SECURITY_DESCRIPTOR_CONTROL
 
typedef $USHORTPSECURITY_DESCRIPTOR_CONTROL
 
typedef struct _SECURITY_DESCRIPTOR_RELATIVE SECURITY_DESCRIPTOR_RELATIVE
 
typedef struct _SECURITY_DESCRIPTOR_RELATIVEPISECURITY_DESCRIPTOR_RELATIVE
 
typedef struct _SECURITY_DESCRIPTOR SECURITY_DESCRIPTOR
 
typedef struct _SECURITY_DESCRIPTORPISECURITY_DESCRIPTOR
 
typedef struct _OBJECT_TYPE_LIST OBJECT_TYPE_LIST
 
typedef struct _OBJECT_TYPE_LISTPOBJECT_TYPE_LIST
 
typedef enum _AUDIT_EVENT_TYPE AUDIT_EVENT_TYPE
 
typedef enum _AUDIT_EVENT_TYPEPAUDIT_EVENT_TYPE
 
typedef enum _ACCESS_REASON_TYPE ACCESS_REASON_TYPE
 
typedef $ULONG ACCESS_REASON
 
typedef struct _ACCESS_REASONS ACCESS_REASONS
 
typedef struct _ACCESS_REASONSPACCESS_REASONS
 
typedef struct _SE_SECURITY_DESCRIPTOR SE_SECURITY_DESCRIPTOR
 
typedef struct _SE_SECURITY_DESCRIPTORPSE_SECURITY_DESCRIPTOR
 
typedef struct _SE_ACCESS_REQUEST SE_ACCESS_REQUEST
 
typedef struct _SE_ACCESS_REQUESTPSE_ACCESS_REQUEST
 
typedef enum _TOKEN_TYPE TOKEN_TYPE
 
typedef enum _TOKEN_TYPEPTOKEN_TYPE
 
typedef enum _TOKEN_INFORMATION_CLASS TOKEN_INFORMATION_CLASS
 
typedef enum _TOKEN_INFORMATION_CLASSPTOKEN_INFORMATION_CLASS
 
typedef struct _TOKEN_USER TOKEN_USER
 
typedef struct _TOKEN_USERPTOKEN_USER
 
typedef struct _TOKEN_GROUPS TOKEN_GROUPS
 
typedef struct _TOKEN_GROUPSPTOKEN_GROUPS
 
typedef struct _TOKEN_GROUPSLPTOKEN_GROUPS
 
typedef struct _TOKEN_PRIVILEGES TOKEN_PRIVILEGES
 
typedef struct _TOKEN_PRIVILEGESPTOKEN_PRIVILEGES
 
typedef struct _TOKEN_PRIVILEGESLPTOKEN_PRIVILEGES
 
typedef struct _TOKEN_OWNER TOKEN_OWNER
 
typedef struct _TOKEN_OWNERPTOKEN_OWNER
 
typedef struct _TOKEN_PRIMARY_GROUP TOKEN_PRIMARY_GROUP
 
typedef struct _TOKEN_PRIMARY_GROUPPTOKEN_PRIMARY_GROUP
 
typedef struct _TOKEN_DEFAULT_DACL TOKEN_DEFAULT_DACL
 
typedef struct _TOKEN_DEFAULT_DACLPTOKEN_DEFAULT_DACL
 
typedef struct _TOKEN_GROUPS_AND_PRIVILEGES TOKEN_GROUPS_AND_PRIVILEGES
 
typedef struct _TOKEN_GROUPS_AND_PRIVILEGESPTOKEN_GROUPS_AND_PRIVILEGES
 
typedef struct _TOKEN_LINKED_TOKEN TOKEN_LINKED_TOKEN
 
typedef struct _TOKEN_LINKED_TOKENPTOKEN_LINKED_TOKEN
 
typedef struct _TOKEN_ELEVATION TOKEN_ELEVATION
 
typedef struct _TOKEN_ELEVATIONPTOKEN_ELEVATION
 
typedef struct _TOKEN_MANDATORY_LABEL TOKEN_MANDATORY_LABEL
 
typedef struct _TOKEN_MANDATORY_LABELPTOKEN_MANDATORY_LABEL
 
typedef struct _TOKEN_AUDIT_POLICY TOKEN_AUDIT_POLICY
 
typedef struct _TOKEN_AUDIT_POLICYPTOKEN_AUDIT_POLICY
 
typedef struct _TOKEN_SOURCE TOKEN_SOURCE
 
typedef struct _TOKEN_SOURCEPTOKEN_SOURCE
 
typedef struct _TOKEN_STATISTICS TOKEN_STATISTICS
 
typedef struct _TOKEN_STATISTICSPTOKEN_STATISTICS
 
typedef struct _TOKEN_CONTROL TOKEN_CONTROL
 
typedef struct _TOKEN_CONTROLPTOKEN_CONTROL
 
typedef struct _TOKEN_ORIGIN TOKEN_ORIGIN
 
typedef struct _TOKEN_ORIGINPTOKEN_ORIGIN
 
typedef enum _MANDATORY_LEVEL MANDATORY_LEVEL
 
typedef enum _MANDATORY_LEVELPMANDATORY_LEVEL
 
typedef enum _SE_AUDIT_OPERATION SE_AUDIT_OPERATION
 
typedef enum _SE_AUDIT_OPERATIONPSE_AUDIT_OPERATION
 
typedef struct _SE_AUDIT_INFO SE_AUDIT_INFO
 
typedef struct _SE_AUDIT_INFOPSE_AUDIT_INFO
 
typedef struct _TOKEN_MANDATORY_POLICY TOKEN_MANDATORY_POLICY
 
typedef struct _TOKEN_MANDATORY_POLICYPTOKEN_MANDATORY_POLICY
 
typedef struct _TOKEN_ACCESS_INFORMATION TOKEN_ACCESS_INFORMATION
 
typedef struct _TOKEN_ACCESS_INFORMATIONPTOKEN_ACCESS_INFORMATION
 
typedef struct _SE_EXPORTS SE_EXPORTS
 
typedef struct _SE_EXPORTSPSE_EXPORTS
 
typedef NTSTATUS(NTAPIPSE_LOGON_SESSION_TERMINATED_ROUTINE) (IN PLUID LogonId)
 
typedef struct _SECURITY_CLIENT_CONTEXT SECURITY_CLIENT_CONTEXT
 
typedef struct _SECURITY_CLIENT_CONTEXTPSECURITY_CLIENT_CONTEXT
 

Enumerations

enum  _SECURITY_IMPERSONATION_LEVEL {
  SecurityAnonymous = 0, SecurityIdentification, SecurityImpersonation, SecurityDelegation,
  SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation
}
 
enum  _SE_ADT_PARAMETER_TYPE {
  SeAdtParmTypeNone = 0, SeAdtParmTypeString, SeAdtParmTypeFileSpec, SeAdtParmTypeUlong,
  SeAdtParmTypeSid, SeAdtParmTypeLogonId, SeAdtParmTypeNoLogonId, SeAdtParmTypeAccessMask,
  SeAdtParmTypePrivs, SeAdtParmTypeObjectTypes, SeAdtParmTypeHexUlong, SeAdtParmTypePtr,
  SeAdtParmTypeTime, SeAdtParmTypeGuid, SeAdtParmTypeLuid, SeAdtParmTypeHexInt64,
  SeAdtParmTypeStringList, SeAdtParmTypeSidList, SeAdtParmTypeDuration, SeAdtParmTypeUserAccountControl,
  SeAdtParmTypeNoUac, SeAdtParmTypeMessage, SeAdtParmTypeDateTime, SeAdtParmTypeSockAddr,
  SeAdtParmTypeSD, SeAdtParmTypeLogonHours, SeAdtParmTypeLogonIdNoSid, SeAdtParmTypeUlongNoConv,
  SeAdtParmTypeSockAddrNoPort, SeAdtParmTypeAccessReason
}
 
enum  _SID_NAME_USE {
  SidTypeUser = 1, SidTypeGroup, SidTypeDomain, SidTypeAlias,
  SidTypeWellKnownGroup, SidTypeDeletedAccount, SidTypeInvalid, SidTypeUnknown,
  SidTypeComputer, SidTypeLabel, SidTypeUser = 1, SidTypeGroup,
  SidTypeDomain, SidTypeAlias, SidTypeWellKnownGroup, SidTypeDeletedAccount,
  SidTypeInvalid, SidTypeUnknown, SidTypeUser = 1, SidTypeGroup,
  SidTypeDomain, SidTypeAlias, SidTypeWellKnownGroup, SidTypeDeletedAccount,
  SidTypeInvalid, SidTypeUnknown, SidTypeComputer, SidTypeLabel
}
 
enum  _AUDIT_EVENT_TYPE { AuditEventObjectAccess, AuditEventDirectoryServiceAccess }
 
enum  _ACCESS_REASON_TYPE {
  AccessReasonNone = 0x00000000, AccessReasonAllowedAce = 0x00010000, AccessReasonDeniedAce = 0x00020000, AccessReasonAllowedParentAce = 0x00030000,
  AccessReasonDeniedParentAce = 0x00040000, AccessReasonMissingPrivilege = 0x00100000, AccessReasonFromPrivilege = 0x00200000, AccessReasonIntegrityLevel = 0x00300000,
  AccessReasonOwnership = 0x00400000, AccessReasonNullDacl = 0x00500000, AccessReasonEmptyDacl = 0x00600000, AccessReasonNoSD = 0x00700000,
  AccessReasonNoGrant = 0x00800000
}
 
enum  _TOKEN_TYPE { TokenPrimary = 1, TokenImpersonation, TokenPrimary = 1, TokenImpersonation }
 
enum  _TOKEN_INFORMATION_CLASS {
  TokenUser = 1, TokenGroups, TokenPrivileges, TokenOwner,
  TokenPrimaryGroup, TokenDefaultDacl, TokenSource, TokenType,
  TokenImpersonationLevel, TokenStatistics, TokenRestrictedSids, TokenSessionId,
  TokenGroupsAndPrivileges, TokenSessionReference, TokenSandBoxInert, TokenAuditPolicy,
  TokenOrigin, TokenElevationType, TokenLinkedToken, TokenElevation,
  TokenHasRestrictions, TokenAccessInformation, TokenVirtualizationAllowed, TokenVirtualizationEnabled,
  TokenIntegrityLevel, TokenUIAccess, TokenMandatoryPolicy, TokenLogonSid,
  TokenIsAppContainer, TokenCapabilities, TokenAppContainerSid, TokenAppContainerNumber,
  TokenUserClaimAttributes, TokenDeviceClaimAttributes, TokenRestrictedUserClaimAttributes, TokenRestrictedDeviceClaimAttributes,
  TokenDeviceGroups, TokenRestrictedDeviceGroups, TokenSecurityAttributes, TokenIsRestricted,
  MaxTokenInfoClass
}
 
enum  _MANDATORY_LEVEL {
  MandatoryLevelUntrusted = 0, MandatoryLevelLow, MandatoryLevelMedium, MandatoryLevelHigh,
  MandatoryLevelSystem, MandatoryLevelSecureProcess, MandatoryLevelCount
}
 
enum  _SE_AUDIT_OPERATION {
  AuditPrivilegeObject, AuditPrivilegeService, AuditAccessCheck, AuditOpenObject,
  AuditOpenObjectWithTransaction, AuditCloseObject, AuditDeleteObject, AuditOpenObjectForDelete,
  AuditOpenObjectForDeleteWithTransaction, AuditCloseNonObject, AuditOpenNonObject, AuditObjectReference,
  AuditHandleCreation
}
 

Functions

 $if (_WDMDDK_||_WINNT_) typedef PVOID PSECURITY_DESCRIPTOR
 
 $endif (_WDMDDK_||_WINNT_) $if(_WDMDDK_) typedef enum _SECURITY_OPERATION_CODE
 
 $endif (_WDMDDK_) $if(_NTDDK_) $endif(_NTDDK_) $if(_NTDDK_||_WINNT_) typedef enum _WELL_KNOWN_SID_TYPE
 
 $endif (_NTDDK_||_WINNT_) $if(_NTIFS_||_WINNT_) typedef struct _SID_IDENTIFIER_AUTHORITY
 
 $endif (_NTIFS_||_WINNT_) $if(_NTIFS_) typedef struct _SE_ACCESS_REPLY
 

Variables

 SECURITY_OPERATION_CODE
 
PSECURITY_OPERATION_CODE
 
 WELL_KNOWN_SID_TYPE
 
 SID_IDENTIFIER_AUTHORITY
 
PSID_IDENTIFIER_AUTHORITY
 
LPSID_IDENTIFIER_AUTHORITY
 
 SE_ACCESS_REPLY
 
PSE_ACCESS_REPLY
 

Macro Definition Documentation

◆ _NTLSA_AUDIT_

#define _NTLSA_AUDIT_

Definition at line 226 of file setypes.h.

◆ ACCESS_ALLOWED_ACE_TYPE

#define ACCESS_ALLOWED_ACE_TYPE   (0x0)

Definition at line 685 of file setypes.h.

◆ ACCESS_ALLOWED_CALLBACK_ACE_TYPE

#define ACCESS_ALLOWED_CALLBACK_ACE_TYPE   (0x9)

Definition at line 700 of file setypes.h.

◆ ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE

#define ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE   (0xB)

Definition at line 702 of file setypes.h.

◆ ACCESS_ALLOWED_COMPOUND_ACE_TYPE

#define ACCESS_ALLOWED_COMPOUND_ACE_TYPE   (0x4)

Definition at line 690 of file setypes.h.

◆ ACCESS_ALLOWED_OBJECT_ACE_TYPE

#define ACCESS_ALLOWED_OBJECT_ACE_TYPE   (0x5)

Definition at line 693 of file setypes.h.

◆ ACCESS_DENIED_ACE_TYPE

#define ACCESS_DENIED_ACE_TYPE   (0x1)

Definition at line 686 of file setypes.h.

◆ ACCESS_DENIED_CALLBACK_ACE_TYPE

#define ACCESS_DENIED_CALLBACK_ACE_TYPE   (0xA)

Definition at line 701 of file setypes.h.

◆ ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE

#define ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE   (0xC)

Definition at line 703 of file setypes.h.

◆ ACCESS_DENIED_OBJECT_ACE_TYPE

#define ACCESS_DENIED_OBJECT_ACE_TYPE   (0x6)

Definition at line 694 of file setypes.h.

◆ ACCESS_DS_OBJECT_TYPE_NAME_A

#define ACCESS_DS_OBJECT_TYPE_NAME_A   "Directory Service Object"

Definition at line 822 of file setypes.h.

◆ ACCESS_DS_OBJECT_TYPE_NAME_W

#define ACCESS_DS_OBJECT_TYPE_NAME_W   L"Directory Service Object"

Definition at line 823 of file setypes.h.

◆ ACCESS_DS_SOURCE_A

#define ACCESS_DS_SOURCE_A   "DS"

Definition at line 820 of file setypes.h.

◆ ACCESS_DS_SOURCE_W

#define ACCESS_DS_SOURCE_W   L"DS"

Definition at line 821 of file setypes.h.

◆ ACCESS_MAX_LEVEL

#define ACCESS_MAX_LEVEL   4

Definition at line 811 of file setypes.h.

◆ ACCESS_MAX_MS_ACE_TYPE

#define ACCESS_MAX_MS_ACE_TYPE   (0x8)

Definition at line 699 of file setypes.h.

◆ ACCESS_MAX_MS_OBJECT_ACE_TYPE

#define ACCESS_MAX_MS_OBJECT_ACE_TYPE   (0x8)

Definition at line 697 of file setypes.h.

◆ ACCESS_MAX_MS_V2_ACE_TYPE

#define ACCESS_MAX_MS_V2_ACE_TYPE   (0x3)

Definition at line 689 of file setypes.h.

◆ ACCESS_MAX_MS_V3_ACE_TYPE

#define ACCESS_MAX_MS_V3_ACE_TYPE   (0x4)

Definition at line 691 of file setypes.h.

◆ ACCESS_MAX_MS_V4_ACE_TYPE

#define ACCESS_MAX_MS_V4_ACE_TYPE   (0x8)

Definition at line 698 of file setypes.h.

◆ ACCESS_MAX_MS_V5_ACE_TYPE

#define ACCESS_MAX_MS_V5_ACE_TYPE   (0x11)

Definition at line 708 of file setypes.h.

◆ ACCESS_MIN_MS_ACE_TYPE

#define ACCESS_MIN_MS_ACE_TYPE   (0x0)

Definition at line 684 of file setypes.h.

◆ ACCESS_MIN_MS_OBJECT_ACE_TYPE

#define ACCESS_MIN_MS_OBJECT_ACE_TYPE   (0x5)

Definition at line 692 of file setypes.h.

◆ ACCESS_OBJECT_GUID

#define ACCESS_OBJECT_GUID   0

Definition at line 808 of file setypes.h.

◆ ACCESS_PROPERTY_GUID

#define ACCESS_PROPERTY_GUID   2

Definition at line 810 of file setypes.h.

◆ ACCESS_PROPERTY_SET_GUID

#define ACCESS_PROPERTY_SET_GUID   1

Definition at line 809 of file setypes.h.

◆ ACCESS_REASON_DATA_MASK

#define ACCESS_REASON_DATA_MASK   0x0000ffff

Definition at line 826 of file setypes.h.

◆ ACCESS_REASON_TYPE_MASK

#define ACCESS_REASON_TYPE_MASK   0xffff0000

Definition at line 825 of file setypes.h.

◆ ACCESS_SYSTEM_SECURITY

#define ACCESS_SYSTEM_SECURITY   0x01000000L

Definition at line 25 of file setypes.h.

◆ ACL_REVISION

#define ACL_REVISION   2

Definition at line 39 of file setypes.h.

◆ ACL_REVISION1

#define ACL_REVISION1   1

Definition at line 42 of file setypes.h.

◆ ACL_REVISION2

#define ACL_REVISION2   2

Definition at line 43 of file setypes.h.

◆ ACL_REVISION3

#define ACL_REVISION3   3

Definition at line 44 of file setypes.h.

◆ ACL_REVISION4

#define ACL_REVISION4   4

Definition at line 45 of file setypes.h.

◆ ACL_REVISION_DS

#define ACL_REVISION_DS   4

Definition at line 40 of file setypes.h.

◆ ANONYMOUS_LOGON_LUID

#define ANONYMOUS_LOGON_LUID   {0x3e6, 0x0}

Definition at line 673 of file setypes.h.

◆ AUDIT_ALLOW_NO_PRIVILEGE

#define AUDIT_ALLOW_NO_PRIVILEGE   0x1

Definition at line 818 of file setypes.h.

◆ CONTAINER_INHERIT_ACE

#define CONTAINER_INHERIT_ACE   (0x2)

Definition at line 715 of file setypes.h.

◆ DACL_SECURITY_INFORMATION

#define DACL_SECURITY_INFORMATION   (0x00000004L)

Definition at line 125 of file setypes.h.

◆ DEFAULT_IMPERSONATION_LEVEL

#define DEFAULT_IMPERSONATION_LEVEL   SecurityImpersonation

Definition at line 100 of file setypes.h.

◆ DELETE

#define DELETE   0x00010000L

Definition at line 14 of file setypes.h.

◆ DOMAIN_ALIAS_RID_ACCOUNT_OPS

#define DOMAIN_ALIAS_RID_ACCOUNT_OPS   (0x00000224L)

Definition at line 629 of file setypes.h.

◆ DOMAIN_ALIAS_RID_ADMINS

#define DOMAIN_ALIAS_RID_ADMINS   (0x00000220L)

Definition at line 624 of file setypes.h.

◆ DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS

#define DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS   (0x00000230L)

Definition at line 643 of file setypes.h.

◆ DOMAIN_ALIAS_RID_BACKUP_OPS

#define DOMAIN_ALIAS_RID_BACKUP_OPS   (0x00000227L)

Definition at line 632 of file setypes.h.

◆ DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP

#define DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP   (0x0000023BL)

Definition at line 649 of file setypes.h.

◆ DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP

#define DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP   (0x0000023EL)

Definition at line 652 of file setypes.h.

◆ DOMAIN_ALIAS_RID_CRYPTO_OPERATORS

#define DOMAIN_ALIAS_RID_CRYPTO_OPERATORS   (0x00000239L)

Definition at line 648 of file setypes.h.

◆ DOMAIN_ALIAS_RID_DCOM_USERS

#define DOMAIN_ALIAS_RID_DCOM_USERS   (0x00000232L)

Definition at line 645 of file setypes.h.

◆ DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP

#define DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP   (0x0000023DL)

Definition at line 651 of file setypes.h.

◆ DOMAIN_ALIAS_RID_GUESTS

#define DOMAIN_ALIAS_RID_GUESTS   (0x00000222L)

Definition at line 626 of file setypes.h.

◆ DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS

#define DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS   (0x0000022DL)

Definition at line 639 of file setypes.h.

◆ DOMAIN_ALIAS_RID_IUSERS

#define DOMAIN_ALIAS_RID_IUSERS   (0x00000238L)

Definition at line 647 of file setypes.h.

◆ DOMAIN_ALIAS_RID_LOGGING_USERS

#define DOMAIN_ALIAS_RID_LOGGING_USERS   (0x0000022FL)

Definition at line 642 of file setypes.h.

◆ DOMAIN_ALIAS_RID_MONITORING_USERS

#define DOMAIN_ALIAS_RID_MONITORING_USERS   (0x0000022EL)

Definition at line 641 of file setypes.h.

◆ DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS

#define DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS   (0x0000022CL)

Definition at line 638 of file setypes.h.

◆ DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP

#define DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP   (0x0000023CL)

Definition at line 650 of file setypes.h.

◆ DOMAIN_ALIAS_RID_POWER_USERS

#define DOMAIN_ALIAS_RID_POWER_USERS   (0x00000223L)

Definition at line 627 of file setypes.h.

◆ DOMAIN_ALIAS_RID_PREW2KCOMPACCESS

#define DOMAIN_ALIAS_RID_PREW2KCOMPACCESS   (0x0000022AL)

Definition at line 636 of file setypes.h.

◆ DOMAIN_ALIAS_RID_PRINT_OPS

#define DOMAIN_ALIAS_RID_PRINT_OPS   (0x00000226L)

Definition at line 631 of file setypes.h.

◆ DOMAIN_ALIAS_RID_RAS_SERVERS

#define DOMAIN_ALIAS_RID_RAS_SERVERS   (0x00000229L)

Definition at line 635 of file setypes.h.

◆ DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS

#define DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS   (0x0000022BL)

Definition at line 637 of file setypes.h.

◆ DOMAIN_ALIAS_RID_REPLICATOR

#define DOMAIN_ALIAS_RID_REPLICATOR   (0x00000228L)

Definition at line 634 of file setypes.h.

◆ DOMAIN_ALIAS_RID_SYSTEM_OPS

#define DOMAIN_ALIAS_RID_SYSTEM_OPS   (0x00000225L)

Definition at line 630 of file setypes.h.

◆ DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS

#define DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS   (0x00000231L)

Definition at line 644 of file setypes.h.

◆ DOMAIN_ALIAS_RID_USERS

#define DOMAIN_ALIAS_RID_USERS   (0x00000221L)

Definition at line 625 of file setypes.h.

◆ DOMAIN_GROUP_RID_ADMINS

#define DOMAIN_GROUP_RID_ADMINS   (0x00000200L)

Definition at line 611 of file setypes.h.

◆ DOMAIN_GROUP_RID_CERT_ADMINS

#define DOMAIN_GROUP_RID_CERT_ADMINS   (0x00000205L)

Definition at line 616 of file setypes.h.

◆ DOMAIN_GROUP_RID_COMPUTERS

#define DOMAIN_GROUP_RID_COMPUTERS   (0x00000203L)

Definition at line 614 of file setypes.h.

◆ DOMAIN_GROUP_RID_CONTROLLERS

#define DOMAIN_GROUP_RID_CONTROLLERS   (0x00000204L)

Definition at line 615 of file setypes.h.

◆ DOMAIN_GROUP_RID_ENTERPRISE_ADMINS

#define DOMAIN_GROUP_RID_ENTERPRISE_ADMINS   (0x00000207L)

Definition at line 618 of file setypes.h.

◆ DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS

#define DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS   (0x000001F2L)

Definition at line 597 of file setypes.h.

◆ DOMAIN_GROUP_RID_GUESTS

#define DOMAIN_GROUP_RID_GUESTS   (0x00000202L)

Definition at line 613 of file setypes.h.

◆ DOMAIN_GROUP_RID_POLICY_ADMINS

#define DOMAIN_GROUP_RID_POLICY_ADMINS   (0x00000208L)

Definition at line 619 of file setypes.h.

◆ DOMAIN_GROUP_RID_READONLY_CONTROLLERS

#define DOMAIN_GROUP_RID_READONLY_CONTROLLERS   (0x00000209L)

Definition at line 620 of file setypes.h.

◆ DOMAIN_GROUP_RID_SCHEMA_ADMINS

#define DOMAIN_GROUP_RID_SCHEMA_ADMINS   (0x00000206L)

Definition at line 617 of file setypes.h.

◆ DOMAIN_GROUP_RID_USERS

#define DOMAIN_GROUP_RID_USERS   (0x00000201L)

Definition at line 612 of file setypes.h.

◆ DOMAIN_USER_RID_ADMIN

#define DOMAIN_USER_RID_ADMIN   (0x000001F4L)

Definition at line 603 of file setypes.h.

◆ DOMAIN_USER_RID_GUEST

#define DOMAIN_USER_RID_GUEST   (0x000001F5L)

Definition at line 604 of file setypes.h.

◆ DOMAIN_USER_RID_KRBTGT

#define DOMAIN_USER_RID_KRBTGT   (0x000001F6L)

Definition at line 605 of file setypes.h.

◆ DOMAIN_USER_RID_MAX

#define DOMAIN_USER_RID_MAX   (0x000003E7L)

Definition at line 607 of file setypes.h.

◆ FAILED_ACCESS_ACE_FLAG

#define FAILED_ACCESS_ACE_FLAG   (0x80)

Definition at line 722 of file setypes.h.

◆ FOREST_USER_RID_MAX

#define FOREST_USER_RID_MAX   (0x000001F3L)

Definition at line 599 of file setypes.h.

◆ GENERIC_ALL

#define GENERIC_ALL   0x10000000L

Definition at line 30 of file setypes.h.

◆ GENERIC_EXECUTE

#define GENERIC_EXECUTE   0x20000000L

Definition at line 29 of file setypes.h.

◆ GENERIC_READ

#define GENERIC_READ   0x80000000L

Definition at line 27 of file setypes.h.

◆ GENERIC_WRITE

#define GENERIC_WRITE   0x40000000L

Definition at line 28 of file setypes.h.

◆ GROUP_SECURITY_INFORMATION

#define GROUP_SECURITY_INFORMATION   (0x00000002L)

Definition at line 124 of file setypes.h.

◆ INHERIT_ONLY_ACE

#define INHERIT_ONLY_ACE   (0x8)

Definition at line 717 of file setypes.h.

◆ INHERITED_ACE

#define INHERITED_ACE   (0x10)

Definition at line 718 of file setypes.h.

◆ INITIAL_PRIVILEGE_COUNT

#define INITIAL_PRIVILEGE_COUNT   3

Definition at line 144 of file setypes.h.

◆ IUSER_LUID

#define IUSER_LUID   {0x3e3, 0x0}

Definition at line 676 of file setypes.h.

◆ LABEL_SECURITY_INFORMATION

#define LABEL_SECURITY_INFORMATION   (0x00000010L)

Definition at line 127 of file setypes.h.

◆ LOCALSERVICE_LUID

#define LOCALSERVICE_LUID   {0x3e5, 0x0}

Definition at line 674 of file setypes.h.

◆ LSAP_SE_ADT_PARAMETER_ARRAY_TRUE_SIZE

#define LSAP_SE_ADT_PARAMETER_ARRAY_TRUE_SIZE (   Parameters)
Value:
(SE_MAX_AUDIT_PARAMETERS - Parameters->ParameterCount) )
#define SE_MAX_AUDIT_PARAMETERS
Definition: setypes.h:228
struct _SE_ADT_PARAMETER_ARRAY SE_ADT_PARAMETER_ARRAY
Definition: setypes.h:283
_In_ PPCI_DEVICE_PRESENCE_PARAMETERS Parameters
Definition: iotypes.h:871

Definition at line 239 of file setypes.h.

◆ MANDATORY_LEVEL_TO_MANDATORY_RID

#define MANDATORY_LEVEL_TO_MANDATORY_RID (   IL)    (IL * 0x1000)

Definition at line 667 of file setypes.h.

◆ MAX_ACL_REVISION

#define MAX_ACL_REVISION   ACL_REVISION4

Definition at line 47 of file setypes.h.

◆ MAXIMUM_ALLOWED

#define MAXIMUM_ALLOWED   0x02000000L

Definition at line 26 of file setypes.h.

◆ MIN_ACL_REVISION

#define MIN_ACL_REVISION   ACL_REVISION2

Definition at line 46 of file setypes.h.

◆ NETWORKSERVICE_LUID

#define NETWORKSERVICE_LUID   {0x3e4, 0x0}

Definition at line 675 of file setypes.h.

◆ NO_PROPAGATE_INHERIT_ACE

#define NO_PROPAGATE_INHERIT_ACE   (0x4)

Definition at line 716 of file setypes.h.

◆ OBJECT_INHERIT_ACE

#define OBJECT_INHERIT_ACE   (0x1)

Definition at line 714 of file setypes.h.

◆ OWNER_SECURITY_INFORMATION

#define OWNER_SECURITY_INFORMATION   (0x00000001L)

Definition at line 123 of file setypes.h.

◆ POLICY_AUDIT_SUBCATEGORY_COUNT

#define POLICY_AUDIT_SUBCATEGORY_COUNT   (56)

Definition at line 1017 of file setypes.h.

◆ PRIVILEGE_SET_ALL_NECESSARY

#define PRIVILEGE_SET_ALL_NECESSARY   (1)

Definition at line 83 of file setypes.h.

◆ PROTECTED_DACL_SECURITY_INFORMATION

#define PROTECTED_DACL_SECURITY_INFORMATION   (0x80000000L)

Definition at line 129 of file setypes.h.

◆ PROTECTED_SACL_SECURITY_INFORMATION

#define PROTECTED_SACL_SECURITY_INFORMATION   (0x40000000L)

Definition at line 130 of file setypes.h.

◆ READ_CONTROL

#define READ_CONTROL   0x00020000L

Definition at line 15 of file setypes.h.

◆ SACL_SECURITY_INFORMATION

#define SACL_SECURITY_INFORMATION   (0x00000008L)

Definition at line 126 of file setypes.h.

◆ SE_ADT_OBJECT_ONLY

#define SE_ADT_OBJECT_ONLY   0x1

Definition at line 231 of file setypes.h.

◆ SE_ADT_PARAMETER_EXTENSIBLE_AUDIT

#define SE_ADT_PARAMETER_EXTENSIBLE_AUDIT   0x00000004

Definition at line 235 of file setypes.h.

◆ SE_ADT_PARAMETER_GENERIC_AUDIT

#define SE_ADT_PARAMETER_GENERIC_AUDIT   0x00000008

Definition at line 236 of file setypes.h.

◆ SE_ADT_PARAMETER_WRITE_SYNCHRONOUS

#define SE_ADT_PARAMETER_WRITE_SYNCHRONOUS   0x00000010

Definition at line 237 of file setypes.h.

◆ SE_ADT_PARAMETERS_SELF_RELATIVE

#define SE_ADT_PARAMETERS_SELF_RELATIVE   0x00000001

Definition at line 233 of file setypes.h.

◆ SE_ADT_PARAMETERS_SEND_TO_LSA

#define SE_ADT_PARAMETERS_SEND_TO_LSA   0x00000002

Definition at line 234 of file setypes.h.

◆ SE_ASSIGNPRIMARYTOKEN_PRIVILEGE

#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE   3

Definition at line 154 of file setypes.h.

◆ SE_AUDIT_PRIVILEGE

#define SE_AUDIT_PRIVILEGE   21

Definition at line 172 of file setypes.h.

◆ SE_BACKUP_PRIVILEGE

#define SE_BACKUP_PRIVILEGE   17

Definition at line 168 of file setypes.h.

◆ SE_BACKUP_PRIVILEGES_CHECKED

#define SE_BACKUP_PRIVILEGES_CHECKED   0x0100

Definition at line 1133 of file setypes.h.

◆ SE_CHANGE_NOTIFY_PRIVILEGE

#define SE_CHANGE_NOTIFY_PRIVILEGE   23

Definition at line 174 of file setypes.h.

◆ SE_CREATE_GLOBAL_PRIVILEGE

#define SE_CREATE_GLOBAL_PRIVILEGE   30

Definition at line 181 of file setypes.h.

◆ SE_CREATE_PAGEFILE_PRIVILEGE

#define SE_CREATE_PAGEFILE_PRIVILEGE   15

Definition at line 166 of file setypes.h.

◆ SE_CREATE_PERMANENT_PRIVILEGE

#define SE_CREATE_PERMANENT_PRIVILEGE   16

Definition at line 167 of file setypes.h.

◆ SE_CREATE_SYMBOLIC_LINK_PRIVILEGE

#define SE_CREATE_SYMBOLIC_LINK_PRIVILEGE   35

Definition at line 186 of file setypes.h.

◆ SE_CREATE_TOKEN_PRIVILEGE

#define SE_CREATE_TOKEN_PRIVILEGE   2

Definition at line 153 of file setypes.h.

◆ SE_DACL_AUTO_INHERIT_REQ

#define SE_DACL_AUTO_INHERIT_REQ   0x0100

Definition at line 773 of file setypes.h.

◆ SE_DACL_AUTO_INHERITED

#define SE_DACL_AUTO_INHERITED   0x0400

Definition at line 775 of file setypes.h.

◆ SE_DACL_DEFAULTED

#define SE_DACL_DEFAULTED   0x0008

Definition at line 768 of file setypes.h.

◆ SE_DACL_PRESENT

#define SE_DACL_PRESENT   0x0004

Definition at line 767 of file setypes.h.

◆ SE_DACL_PROTECTED

#define SE_DACL_PROTECTED   0x1000

Definition at line 777 of file setypes.h.

◆ SE_DACL_UNTRUSTED

#define SE_DACL_UNTRUSTED   0x0040

Definition at line 771 of file setypes.h.

◆ SE_DEBUG_PRIVILEGE

#define SE_DEBUG_PRIVILEGE   20

Definition at line 171 of file setypes.h.

◆ SE_ENABLE_DELEGATION_PRIVILEGE

#define SE_ENABLE_DELEGATION_PRIVILEGE   27

Definition at line 178 of file setypes.h.

◆ SE_GROUP_DEFAULTED

#define SE_GROUP_DEFAULTED   0x0002

Definition at line 766 of file setypes.h.

◆ SE_IMPERSONATE_PRIVILEGE

#define SE_IMPERSONATE_PRIVILEGE   29

Definition at line 180 of file setypes.h.

◆ SE_INC_BASE_PRIORITY_PRIVILEGE

#define SE_INC_BASE_PRIORITY_PRIVILEGE   14

Definition at line 165 of file setypes.h.

◆ SE_INC_WORKING_SET_PRIVILEGE

#define SE_INC_WORKING_SET_PRIVILEGE   33

Definition at line 184 of file setypes.h.

◆ SE_INCREASE_QUOTA_PRIVILEGE

#define SE_INCREASE_QUOTA_PRIVILEGE   5

Definition at line 156 of file setypes.h.

◆ SE_LOAD_DRIVER_PRIVILEGE

#define SE_LOAD_DRIVER_PRIVILEGE   10

Definition at line 161 of file setypes.h.

◆ SE_LOCK_MEMORY_PRIVILEGE

#define SE_LOCK_MEMORY_PRIVILEGE   4

Definition at line 155 of file setypes.h.

◆ SE_MACHINE_ACCOUNT_PRIVILEGE

#define SE_MACHINE_ACCOUNT_PRIVILEGE   6

Definition at line 157 of file setypes.h.

◆ SE_MANAGE_VOLUME_PRIVILEGE

#define SE_MANAGE_VOLUME_PRIVILEGE   28

Definition at line 179 of file setypes.h.

◆ SE_MAX_AUDIT_PARAMETERS

#define SE_MAX_AUDIT_PARAMETERS   32

Definition at line 228 of file setypes.h.

◆ SE_MAX_GENERIC_AUDIT_PARAMETERS

#define SE_MAX_GENERIC_AUDIT_PARAMETERS   28

Definition at line 229 of file setypes.h.

◆ SE_MAX_WELL_KNOWN_PRIVILEGE

#define SE_MAX_WELL_KNOWN_PRIVILEGE   SE_CREATE_SYMBOLIC_LINK_PRIVILEGE

Definition at line 187 of file setypes.h.

◆ SE_MIN_WELL_KNOWN_PRIVILEGE

#define SE_MIN_WELL_KNOWN_PRIVILEGE   2

Definition at line 152 of file setypes.h.

◆ SE_OWNER_DEFAULTED

#define SE_OWNER_DEFAULTED   0x0001

Definition at line 765 of file setypes.h.

◆ SE_PRIVILEGE_ENABLED

#define SE_PRIVILEGE_ENABLED   (0x00000002L)

Definition at line 63 of file setypes.h.

◆ SE_PRIVILEGE_ENABLED_BY_DEFAULT

#define SE_PRIVILEGE_ENABLED_BY_DEFAULT   (0x00000001L)

Definition at line 62 of file setypes.h.

◆ SE_PRIVILEGE_REMOVED

#define SE_PRIVILEGE_REMOVED   (0x00000004L)

Definition at line 64 of file setypes.h.

◆ SE_PRIVILEGE_USED_FOR_ACCESS

#define SE_PRIVILEGE_USED_FOR_ACCESS   (0x80000000L)

Definition at line 65 of file setypes.h.

◆ SE_PRIVILEGE_VALID_ATTRIBUTES

#define SE_PRIVILEGE_VALID_ATTRIBUTES
Value:
SE_PRIVILEGE_ENABLED | \
SE_PRIVILEGE_REMOVED | \
SE_PRIVILEGE_USED_FOR_ACCESS)
#define SE_PRIVILEGE_ENABLED_BY_DEFAULT
Definition: setypes.h:62

Definition at line 67 of file setypes.h.

◆ SE_PROF_SINGLE_PROCESS_PRIVILEGE

#define SE_PROF_SINGLE_PROCESS_PRIVILEGE   13

Definition at line 164 of file setypes.h.

◆ SE_RELABEL_PRIVILEGE

#define SE_RELABEL_PRIVILEGE   32

Definition at line 183 of file setypes.h.

◆ SE_REMOTE_SHUTDOWN_PRIVILEGE

#define SE_REMOTE_SHUTDOWN_PRIVILEGE   24

Definition at line 175 of file setypes.h.

◆ SE_RESTORE_PRIVILEGE

#define SE_RESTORE_PRIVILEGE   18

Definition at line 169 of file setypes.h.

◆ SE_RM_CONTROL_VALID

#define SE_RM_CONTROL_VALID   0x4000

Definition at line 779 of file setypes.h.

◆ SE_SACL_AUTO_INHERIT_REQ

#define SE_SACL_AUTO_INHERIT_REQ   0x0200

Definition at line 774 of file setypes.h.

◆ SE_SACL_AUTO_INHERITED

#define SE_SACL_AUTO_INHERITED   0x0800

Definition at line 776 of file setypes.h.

◆ SE_SACL_DEFAULTED

#define SE_SACL_DEFAULTED   0x0020

Definition at line 770 of file setypes.h.

◆ SE_SACL_PRESENT

#define SE_SACL_PRESENT   0x0010

Definition at line 769 of file setypes.h.

◆ SE_SACL_PROTECTED

#define SE_SACL_PROTECTED   0x2000

Definition at line 778 of file setypes.h.

◆ SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE

#define SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE   0x00000002

Definition at line 851 of file setypes.h.

◆ SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE

#define SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE   0x00000001

Definition at line 850 of file setypes.h.

◆ SE_SECURITY_DESCRIPTOR_VALID_FLAGS

#define SE_SECURITY_DESCRIPTOR_VALID_FLAGS   0x00000003

Definition at line 852 of file setypes.h.

◆ SE_SECURITY_PRIVILEGE

#define SE_SECURITY_PRIVILEGE   8

Definition at line 159 of file setypes.h.

◆ SE_SELF_RELATIVE

#define SE_SELF_RELATIVE   0x8000

Definition at line 780 of file setypes.h.

◆ SE_SERVER_SECURITY

#define SE_SERVER_SECURITY   0x0080

Definition at line 772 of file setypes.h.

◆ SE_SHUTDOWN_PRIVILEGE

#define SE_SHUTDOWN_PRIVILEGE   19

Definition at line 170 of file setypes.h.

◆ SE_SYNC_AGENT_PRIVILEGE

#define SE_SYNC_AGENT_PRIVILEGE   26

Definition at line 177 of file setypes.h.

◆ SE_SYSTEM_ENVIRONMENT_PRIVILEGE

#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE   22

Definition at line 173 of file setypes.h.

◆ SE_SYSTEM_PROFILE_PRIVILEGE

#define SE_SYSTEM_PROFILE_PRIVILEGE   11

Definition at line 162 of file setypes.h.

◆ SE_SYSTEMTIME_PRIVILEGE

#define SE_SYSTEMTIME_PRIVILEGE   12

Definition at line 163 of file setypes.h.

◆ SE_TAKE_OWNERSHIP_PRIVILEGE

#define SE_TAKE_OWNERSHIP_PRIVILEGE   9

Definition at line 160 of file setypes.h.

◆ SE_TCB_PRIVILEGE

#define SE_TCB_PRIVILEGE   7

Definition at line 158 of file setypes.h.

◆ SE_TIME_ZONE_PRIVILEGE

#define SE_TIME_ZONE_PRIVILEGE   34

Definition at line 185 of file setypes.h.

◆ SE_TRUSTED_CREDMAN_ACCESS_PRIVILEGE

#define SE_TRUSTED_CREDMAN_ACCESS_PRIVILEGE   31

Definition at line 182 of file setypes.h.

◆ SE_UNDOCK_PRIVILEGE

#define SE_UNDOCK_PRIVILEGE   25

Definition at line 176 of file setypes.h.

◆ SE_UNSOLICITED_INPUT_PRIVILEGE

#define SE_UNSOLICITED_INPUT_PRIVILEGE   6

◆ SECURITY_ANONYMOUS_LOGON_RID

#define SECURITY_ANONYMOUS_LOGON_RID   (0x00000007L)

Definition at line 535 of file setypes.h.

◆ SECURITY_APPPOOL_ID_BASE_RID

#define SECURITY_APPPOOL_ID_BASE_RID   (0x00000052L)

Definition at line 571 of file setypes.h.

◆ SECURITY_APPPOOL_ID_RID_COUNT

#define SECURITY_APPPOOL_ID_RID_COUNT   (6L)

Definition at line 572 of file setypes.h.

◆ SECURITY_AUTHENTICATED_USER_RID

#define SECURITY_AUTHENTICATED_USER_RID   (0x0000000BL)

Definition at line 540 of file setypes.h.

◆ SECURITY_BATCH_RID

#define SECURITY_BATCH_RID   (0x00000003L)

Definition at line 530 of file setypes.h.

◆ SECURITY_BUILTIN_DOMAIN_RID

#define SECURITY_BUILTIN_DOMAIN_RID   (0x00000020L)

Definition at line 553 of file setypes.h.

◆ SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID

#define SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID   (0x00000055L)

Definition at line 577 of file setypes.h.

◆ SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT

#define SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT   (6L)

Definition at line 578 of file setypes.h.

◆ SECURITY_COM_ID_BASE_RID

#define SECURITY_COM_ID_BASE_RID   (0x00000059L)

Definition at line 583 of file setypes.h.

◆ SECURITY_CREATOR_GROUP_RID

#define SECURITY_CREATOR_GROUP_RID   (0x00000001L)

Definition at line 518 of file setypes.h.

◆ SECURITY_CREATOR_GROUP_SERVER_RID

#define SECURITY_CREATOR_GROUP_SERVER_RID   (0x00000003L)

Definition at line 520 of file setypes.h.

◆ SECURITY_CREATOR_OWNER_RID

#define SECURITY_CREATOR_OWNER_RID   (0x00000000L)

Definition at line 517 of file setypes.h.

◆ SECURITY_CREATOR_OWNER_RIGHTS_RID

#define SECURITY_CREATOR_OWNER_RIGHTS_RID   (0x00000004L)

Definition at line 521 of file setypes.h.

◆ SECURITY_CREATOR_OWNER_SERVER_RID

#define SECURITY_CREATOR_OWNER_SERVER_RID   (0x00000002L)

Definition at line 519 of file setypes.h.

◆ SECURITY_CREATOR_SID_AUTHORITY

#define SECURITY_CREATOR_SID_AUTHORITY   {0,0,0,0,0,3}

Definition at line 505 of file setypes.h.

◆ SECURITY_CRED_TYPE_BASE_RID

#define SECURITY_CRED_TYPE_BASE_RID   (0x00000041L)

Definition at line 563 of file setypes.h.

◆ SECURITY_CRED_TYPE_RID_COUNT

#define SECURITY_CRED_TYPE_RID_COUNT   (2L)

Definition at line 564 of file setypes.h.

◆ SECURITY_CRED_TYPE_THIS_ORG_CERT_RID

#define SECURITY_CRED_TYPE_THIS_ORG_CERT_RID   (0x00000001L)

Definition at line 565 of file setypes.h.

◆ SECURITY_DESCRIPTOR_MIN_LENGTH

#define SECURITY_DESCRIPTOR_MIN_LENGTH   (sizeof(SECURITY_DESCRIPTOR))

Definition at line 761 of file setypes.h.

◆ SECURITY_DESCRIPTOR_REVISION

#define SECURITY_DESCRIPTOR_REVISION   (1)

Definition at line 58 of file setypes.h.

◆ SECURITY_DESCRIPTOR_REVISION1

#define SECURITY_DESCRIPTOR_REVISION1   (1)

Definition at line 59 of file setypes.h.

◆ SECURITY_DIALUP_RID

#define SECURITY_DIALUP_RID   (0x00000001L)

Definition at line 528 of file setypes.h.

◆ SECURITY_DYNAMIC_TRACKING

#define SECURITY_DYNAMIC_TRACKING   (TRUE)

Definition at line 103 of file setypes.h.

◆ SECURITY_ENTERPRISE_CONTROLLERS_RID

#define SECURITY_ENTERPRISE_CONTROLLERS_RID   (0x00000009L)

Definition at line 537 of file setypes.h.

◆ SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID

#define SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID   (0x00000016L)

Definition at line 551 of file setypes.h.

◆ SECURITY_INTERACTIVE_RID

#define SECURITY_INTERACTIVE_RID   (0x00000004L)

Definition at line 531 of file setypes.h.

◆ SECURITY_IUSER_RID

#define SECURITY_IUSER_RID   (0x00000011L)

Definition at line 545 of file setypes.h.

◆ SECURITY_LOCAL_LOGON_RID

#define SECURITY_LOCAL_LOGON_RID   (0x00000001L)

Definition at line 515 of file setypes.h.

◆ SECURITY_LOCAL_RID

#define SECURITY_LOCAL_RID   (0x00000000L)

Definition at line 514 of file setypes.h.

◆ SECURITY_LOCAL_SERVICE_RID

#define SECURITY_LOCAL_SERVICE_RID   (0x00000013L)

Definition at line 547 of file setypes.h.

◆ SECURITY_LOCAL_SID_AUTHORITY

#define SECURITY_LOCAL_SID_AUTHORITY   {0,0,0,0,0,2}

Definition at line 502 of file setypes.h.

◆ SECURITY_LOCAL_SYSTEM_RID

#define SECURITY_LOCAL_SYSTEM_RID   (0x00000012L)

Definition at line 546 of file setypes.h.

◆ SECURITY_LOGON_IDS_RID

#define SECURITY_LOGON_IDS_RID   (0x00000005L)

Definition at line 532 of file setypes.h.

◆ SECURITY_LOGON_IDS_RID_COUNT

#define SECURITY_LOGON_IDS_RID_COUNT   (3L)

Definition at line 533 of file setypes.h.

◆ SECURITY_MANDATORY_HIGH_RID

#define SECURITY_MANDATORY_HIGH_RID   (0x00003000L)

Definition at line 658 of file setypes.h.

◆ SECURITY_MANDATORY_LABEL_AUTHORITY

#define SECURITY_MANDATORY_LABEL_AUTHORITY   {0,0,0,0,0,16}

Definition at line 654 of file setypes.h.

◆ SECURITY_MANDATORY_LOW_RID

#define SECURITY_MANDATORY_LOW_RID   (0x00001000L)

Definition at line 656 of file setypes.h.

◆ SECURITY_MANDATORY_MAXIMUM_USER_RID

#define SECURITY_MANDATORY_MAXIMUM_USER_RID   SECURITY_MANDATORY_SYSTEM_RID

Definition at line 665 of file setypes.h.

◆ SECURITY_MANDATORY_MEDIUM_RID

#define SECURITY_MANDATORY_MEDIUM_RID   (0x00002000L)

Definition at line 657 of file setypes.h.

◆ SECURITY_MANDATORY_PROTECTED_PROCESS_RID

#define SECURITY_MANDATORY_PROTECTED_PROCESS_RID   (0x00005000L)

Definition at line 660 of file setypes.h.

◆ SECURITY_MANDATORY_SYSTEM_RID

#define SECURITY_MANDATORY_SYSTEM_RID   (0x00004000L)

Definition at line 659 of file setypes.h.

◆ SECURITY_MANDATORY_UNTRUSTED_RID

#define SECURITY_MANDATORY_UNTRUSTED_RID   (0x00000000L)

Definition at line 655 of file setypes.h.

◆ SECURITY_MAX_ALWAYS_FILTERED

#define SECURITY_MAX_ALWAYS_FILTERED   (0x000003E7L)

Definition at line 588 of file setypes.h.

◆ SECURITY_MAX_BASE_RID

#define SECURITY_MAX_BASE_RID   (0x0000006FL)

Definition at line 586 of file setypes.h.

◆ SECURITY_MAX_IMPERSONATION_LEVEL

#define SECURITY_MAX_IMPERSONATION_LEVEL   SecurityDelegation

Definition at line 98 of file setypes.h.

◆ SECURITY_MAX_SID_SIZE

#define SECURITY_MAX_SID_SIZE   (sizeof(SID) - sizeof($ULONG) + (SID_MAX_SUB_AUTHORITIES * sizeof($ULONG)))

Definition at line 458 of file setypes.h.

◆ SECURITY_MIN_BASE_RID

#define SECURITY_MIN_BASE_RID   (0x00000050L)

Definition at line 567 of file setypes.h.

◆ SECURITY_MIN_IMPERSONATION_LEVEL

#define SECURITY_MIN_IMPERSONATION_LEVEL   SecurityAnonymous

Definition at line 99 of file setypes.h.

◆ SECURITY_MIN_NEVER_FILTERED

#define SECURITY_MIN_NEVER_FILTERED   (0x000003E8L)

Definition at line 589 of file setypes.h.

◆ SECURITY_NETWORK_RID

#define SECURITY_NETWORK_RID   (0x00000002L)

Definition at line 529 of file setypes.h.

◆ SECURITY_NETWORK_SERVICE_RID

#define SECURITY_NETWORK_SERVICE_RID   (0x00000014L)

Definition at line 548 of file setypes.h.

◆ SECURITY_NFS_ID_BASE_RID

#define SECURITY_NFS_ID_BASE_RID   (0x00000058L)

Definition at line 582 of file setypes.h.

◆ SECURITY_NON_UNIQUE_AUTHORITY

#define SECURITY_NON_UNIQUE_AUTHORITY   {0,0,0,0,0,4}

Definition at line 508 of file setypes.h.

◆ SECURITY_NT_AUTHORITY

#define SECURITY_NT_AUTHORITY   {0,0,0,0,0,5}

Definition at line 526 of file setypes.h.

◆ SECURITY_NT_NON_UNIQUE

#define SECURITY_NT_NON_UNIQUE   (0x00000015L)

Definition at line 549 of file setypes.h.

◆ SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT

#define SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT   (3L)

Definition at line 550 of file setypes.h.

◆ SECURITY_NULL_RID

#define SECURITY_NULL_RID   (0x00000000L)

Definition at line 512 of file setypes.h.

◆ SECURITY_NULL_SID_AUTHORITY

#define SECURITY_NULL_SID_AUTHORITY   {0,0,0,0,0,0}

Definition at line 496 of file setypes.h.

◆ SECURITY_OTHER_ORGANIZATION_RID

#define SECURITY_OTHER_ORGANIZATION_RID   (0x000003E8L)

Definition at line 591 of file setypes.h.

◆ SECURITY_PACKAGE_BASE_RID

#define SECURITY_PACKAGE_BASE_RID   (0x00000040L)

Definition at line 557 of file setypes.h.

◆ SECURITY_PACKAGE_DIGEST_RID

#define SECURITY_PACKAGE_DIGEST_RID   (0x00000015L)

Definition at line 561 of file setypes.h.

◆ SECURITY_PACKAGE_NTLM_RID

#define SECURITY_PACKAGE_NTLM_RID   (0x0000000AL)

Definition at line 559 of file setypes.h.

◆ SECURITY_PACKAGE_RID_COUNT

#define SECURITY_PACKAGE_RID_COUNT   (2L)

Definition at line 558 of file setypes.h.

◆ SECURITY_PACKAGE_SCHANNEL_RID

#define SECURITY_PACKAGE_SCHANNEL_RID   (0x0000000EL)

Definition at line 560 of file setypes.h.

◆ SECURITY_PRINCIPAL_SELF_RID

#define SECURITY_PRINCIPAL_SELF_RID   (0x0000000AL)

Definition at line 539 of file setypes.h.

◆ SECURITY_PROXY_RID

#define SECURITY_PROXY_RID   (0x00000008L)

Definition at line 536 of file setypes.h.

◆ SECURITY_REMOTE_LOGON_RID

#define SECURITY_REMOTE_LOGON_RID   (0x0000000EL)

Definition at line 543 of file setypes.h.

◆ SECURITY_RESERVED_ID_BASE_RID

#define SECURITY_RESERVED_ID_BASE_RID   (0x00000051L)

Definition at line 570 of file setypes.h.

◆ SECURITY_RESOURCE_MANAGER_AUTHORITY

#define SECURITY_RESOURCE_MANAGER_AUTHORITY   {0,0,0,0,0,9}

Definition at line 510 of file setypes.h.

◆ SECURITY_RESTRICTED_CODE_RID

#define SECURITY_RESTRICTED_CODE_RID   (0x0000000CL)

Definition at line 541 of file setypes.h.

◆ SECURITY_SERVER_LOGON_RID

#define SECURITY_SERVER_LOGON_RID   SECURITY_ENTERPRISE_CONTROLLERS_RID

Definition at line 538 of file setypes.h.

◆ SECURITY_SERVICE_ID_BASE_RID

#define SECURITY_SERVICE_ID_BASE_RID   (0x00000050L)

Definition at line 568 of file setypes.h.

◆ SECURITY_SERVICE_ID_RID_COUNT

#define SECURITY_SERVICE_ID_RID_COUNT   (6L)

Definition at line 569 of file setypes.h.

◆ SECURITY_SERVICE_RID

#define SECURITY_SERVICE_RID   (0x00000006L)

Definition at line 534 of file setypes.h.

◆ SECURITY_STATIC_TRACKING

#define SECURITY_STATIC_TRACKING   (FALSE)

Definition at line 104 of file setypes.h.

◆ SECURITY_TASK_ID_BASE_RID

#define SECURITY_TASK_ID_BASE_RID   (0x00000057L)

Definition at line 581 of file setypes.h.

◆ SECURITY_TERMINAL_SERVER_RID

#define SECURITY_TERMINAL_SERVER_RID   (0x0000000DL)

Definition at line 542 of file setypes.h.

◆ SECURITY_THIS_ORGANIZATION_RID

#define SECURITY_THIS_ORGANIZATION_RID   (0x0000000FL)

Definition at line 544 of file setypes.h.

◆ SECURITY_USERMODEDRIVERHOST_ID_BASE_RID

#define SECURITY_USERMODEDRIVERHOST_ID_BASE_RID   (0x00000054L)

Definition at line 575 of file setypes.h.

◆ SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT

#define SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT   (6L)

Definition at line 576 of file setypes.h.

◆ SECURITY_VIRTUALACCOUNT_ID_RID_COUNT

#define SECURITY_VIRTUALACCOUNT_ID_RID_COUNT   (6L)

Definition at line 584 of file setypes.h.

◆ SECURITY_VIRTUALSERVER_ID_BASE_RID

#define SECURITY_VIRTUALSERVER_ID_BASE_RID   (0x00000053L)

Definition at line 573 of file setypes.h.

◆ SECURITY_VIRTUALSERVER_ID_RID_COUNT

#define SECURITY_VIRTUALSERVER_ID_RID_COUNT   (6L)

Definition at line 574 of file setypes.h.

◆ SECURITY_WINDOWSMOBILE_ID_BASE_RID

#define SECURITY_WINDOWSMOBILE_ID_BASE_RID   (0x00000070L)

Definition at line 593 of file setypes.h.

◆ SECURITY_WMIHOST_ID_BASE_RID

#define SECURITY_WMIHOST_ID_BASE_RID   (0x00000056L)

Definition at line 579 of file setypes.h.

◆ SECURITY_WMIHOST_ID_RID_COUNT

#define SECURITY_WMIHOST_ID_RID_COUNT   (6L)

Definition at line 580 of file setypes.h.

◆ SECURITY_WORLD_RID

#define SECURITY_WORLD_RID   (0x00000000L)

Definition at line 513 of file setypes.h.

◆ SECURITY_WORLD_SID_AUTHORITY

#define SECURITY_WORLD_SID_AUTHORITY   {0,0,0,0,0,1}

Definition at line 499 of file setypes.h.

◆ SECURITY_WRITE_RESTRICTED_CODE_RID

#define SECURITY_WRITE_RESTRICTED_CODE_RID   (0x00000021L)

Definition at line 554 of file setypes.h.

◆ SID_DEFINED

#define SID_DEFINED

Definition at line 440 of file setypes.h.

◆ SID_HASH_SIZE

#define SID_HASH_SIZE   32

Definition at line 485 of file setypes.h.

◆ SID_IDENTIFIER_AUTHORITY_DEFINED

#define SID_IDENTIFIER_AUTHORITY_DEFINED

◆ SID_MAX_SUB_AUTHORITIES

#define SID_MAX_SUB_AUTHORITIES   15

Definition at line 454 of file setypes.h.

◆ SID_RECOMMENDED_SUB_AUTHORITIES

#define SID_RECOMMENDED_SUB_AUTHORITIES   1

Definition at line 455 of file setypes.h.

◆ SID_REVISION

#define SID_REVISION   1

Definition at line 453 of file setypes.h.

◆ SPECIFIC_RIGHTS_ALL

#define SPECIFIC_RIGHTS_ALL   0x0000FFFFL

Definition at line 24 of file setypes.h.

◆ STANDARD_RIGHTS_ALL

#define STANDARD_RIGHTS_ALL   0x001F0000L

Definition at line 23 of file setypes.h.

◆ STANDARD_RIGHTS_EXECUTE

#define STANDARD_RIGHTS_EXECUTE   READ_CONTROL

Definition at line 22 of file setypes.h.

◆ STANDARD_RIGHTS_READ

#define STANDARD_RIGHTS_READ   READ_CONTROL

Definition at line 20 of file setypes.h.

◆ STANDARD_RIGHTS_REQUIRED

#define STANDARD_RIGHTS_REQUIRED   0x000F0000L

Definition at line 19 of file setypes.h.

◆ STANDARD_RIGHTS_WRITE

#define STANDARD_RIGHTS_WRITE   READ_CONTROL

Definition at line 21 of file setypes.h.

◆ SUCCESSFUL_ACCESS_ACE_FLAG

#define SUCCESSFUL_ACCESS_ACE_FLAG   (0x40)

Definition at line 721 of file setypes.h.

◆ SYNCHRONIZE

#define SYNCHRONIZE   0x00100000L

Definition at line 18 of file setypes.h.

◆ SYSTEM_ALARM_ACE_TYPE

#define SYSTEM_ALARM_ACE_TYPE   (0x3)

Definition at line 688 of file setypes.h.

◆ SYSTEM_ALARM_CALLBACK_ACE_TYPE

#define SYSTEM_ALARM_CALLBACK_ACE_TYPE   (0xE)

Definition at line 705 of file setypes.h.

◆ SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE

#define SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE   (0x10)

Definition at line 707 of file setypes.h.

◆ SYSTEM_ALARM_OBJECT_ACE_TYPE

#define SYSTEM_ALARM_OBJECT_ACE_TYPE   (0x8)

Definition at line 696 of file setypes.h.

◆ SYSTEM_AUDIT_ACE_TYPE

#define SYSTEM_AUDIT_ACE_TYPE   (0x2)

Definition at line 687 of file setypes.h.

◆ SYSTEM_AUDIT_CALLBACK_ACE_TYPE

#define SYSTEM_AUDIT_CALLBACK_ACE_TYPE   (0xD)

Definition at line 704 of file setypes.h.

◆ SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE

#define SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE   (0xF)

Definition at line 706 of file setypes.h.

◆ SYSTEM_AUDIT_OBJECT_ACE_TYPE

#define SYSTEM_AUDIT_OBJECT_ACE_TYPE   (0x7)

Definition at line 695 of file setypes.h.

◆ SYSTEM_LUID

#define SYSTEM_LUID   {0x3e7, 0x0}

Definition at line 672 of file setypes.h.

◆ SYSTEM_MANDATORY_LABEL_ACE_TYPE

#define SYSTEM_MANDATORY_LABEL_ACE_TYPE   (0x11)

Definition at line 709 of file setypes.h.

◆ SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP

#define SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP   0x4

Definition at line 756 of file setypes.h.

◆ SYSTEM_MANDATORY_LABEL_NO_READ_UP

#define SYSTEM_MANDATORY_LABEL_NO_READ_UP   0x2

Definition at line 755 of file setypes.h.

◆ SYSTEM_MANDATORY_LABEL_NO_WRITE_UP

#define SYSTEM_MANDATORY_LABEL_NO_WRITE_UP   0x1

Definition at line 754 of file setypes.h.

◆ SYSTEM_MANDATORY_LABEL_VALID_MASK

#define SYSTEM_MANDATORY_LABEL_VALID_MASK
Value:
SYSTEM_MANDATORY_LABEL_NO_READ_UP | \
SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP)
#define SYSTEM_MANDATORY_LABEL_NO_WRITE_UP
Definition: setypes.h:754

Definition at line 757 of file setypes.h.

◆ TOKEN_ADJUST_DEFAULT

#define TOKEN_ADJUST_DEFAULT   (0x0080)

Definition at line 878 of file setypes.h.

◆ TOKEN_ADJUST_GROUPS

#define TOKEN_ADJUST_GROUPS   (0x0040)

Definition at line 877 of file setypes.h.

◆ TOKEN_ADJUST_PRIVILEGES

#define TOKEN_ADJUST_PRIVILEGES   (0x0020)

Definition at line 876 of file setypes.h.

◆ TOKEN_ADJUST_SESSIONID

#define TOKEN_ADJUST_SESSIONID   (0x0100)

Definition at line 879 of file setypes.h.

◆ TOKEN_ALL_ACCESS

#define TOKEN_ALL_ACCESS   (TOKEN_ALL_ACCESS_P | TOKEN_ADJUST_SESSIONID)

Definition at line 892 of file setypes.h.

◆ TOKEN_ALL_ACCESS_P

#define TOKEN_ALL_ACCESS_P
Value:
TOKEN_ASSIGN_PRIMARY |\
TOKEN_DUPLICATE |\
TOKEN_IMPERSONATE |\
TOKEN_QUERY |\
TOKEN_QUERY_SOURCE |\
TOKEN_ADJUST_PRIVILEGES |\
TOKEN_ADJUST_GROUPS |\
TOKEN_ADJUST_DEFAULT)
#define STANDARD_RIGHTS_REQUIRED
Definition: setypes.h:19

Definition at line 881 of file setypes.h.

◆ TOKEN_ASSIGN_PRIMARY

#define TOKEN_ASSIGN_PRIMARY   (0x0001)

Definition at line 871 of file setypes.h.

◆ TOKEN_DUPLICATE

#define TOKEN_DUPLICATE   (0x0002)

Definition at line 872 of file setypes.h.

◆ TOKEN_EXECUTE

#define TOKEN_EXECUTE   (STANDARD_RIGHTS_EXECUTE)

Definition at line 904 of file setypes.h.

◆ TOKEN_HAS_ADMIN_GROUP

#define TOKEN_HAS_ADMIN_GROUP   TOKEN_WRITE_RESTRICTED

Definition at line 1128 of file setypes.h.

◆ TOKEN_HAS_BACKUP_PRIVILEGE

#define TOKEN_HAS_BACKUP_PRIVILEGE   0x0002

Definition at line 1125 of file setypes.h.

◆ TOKEN_HAS_IMPERSONATE_PRIVILEGE

#define TOKEN_HAS_IMPERSONATE_PRIVILEGE   0x0080

Definition at line 1132 of file setypes.h.

◆ TOKEN_HAS_RESTORE_PRIVILEGE

#define TOKEN_HAS_RESTORE_PRIVILEGE   0x0004

Definition at line 1126 of file setypes.h.

◆ TOKEN_HAS_TRAVERSE_PRIVILEGE

#define TOKEN_HAS_TRAVERSE_PRIVILEGE   0x0001

Definition at line 1124 of file setypes.h.

◆ TOKEN_IMPERSONATE

#define TOKEN_IMPERSONATE   (0x0004)

Definition at line 873 of file setypes.h.

◆ TOKEN_IS_FILTERED

#define TOKEN_IS_FILTERED   0x0800

Definition at line 1136 of file setypes.h.

◆ TOKEN_IS_RESTRICTED

#define TOKEN_IS_RESTRICTED   0x0010

Definition at line 1129 of file setypes.h.

◆ TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN

#define TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN   0x2

Definition at line 1012 of file setypes.h.

◆ TOKEN_MANDATORY_POLICY_NO_WRITE_UP

#define TOKEN_MANDATORY_POLICY_NO_WRITE_UP   0x1

Definition at line 1011 of file setypes.h.

◆ TOKEN_MANDATORY_POLICY_OFF

#define TOKEN_MANDATORY_POLICY_OFF   0x0

Definition at line 1010 of file setypes.h.

◆ TOKEN_MANDATORY_POLICY_VALID_MASK

#define TOKEN_MANDATORY_POLICY_VALID_MASK
Value:
TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN)
#define TOKEN_MANDATORY_POLICY_NO_WRITE_UP
Definition: setypes.h:1011

Definition at line 1014 of file setypes.h.

◆ TOKEN_NOT_LOW

#define TOKEN_NOT_LOW   0x2000

Definition at line 1138 of file setypes.h.

◆ TOKEN_QUERY

#define TOKEN_QUERY   (0x0008)

Definition at line 874 of file setypes.h.

◆ TOKEN_QUERY_SOURCE

#define TOKEN_QUERY_SOURCE   (0x0010)

Definition at line 875 of file setypes.h.

◆ TOKEN_READ

#define TOKEN_READ   (STANDARD_RIGHTS_READ | TOKEN_QUERY)

Definition at line 897 of file setypes.h.

◆ TOKEN_SANDBOX_INERT

#define TOKEN_SANDBOX_INERT   0x0040

Definition at line 1131 of file setypes.h.

◆ TOKEN_SESSION_NOT_REFERENCED

#define TOKEN_SESSION_NOT_REFERENCED   0x0020

Definition at line 1130 of file setypes.h.

◆ TOKEN_SOURCE_LENGTH

#define TOKEN_SOURCE_LENGTH   8

Definition at line 1023 of file setypes.h.

◆ TOKEN_UIACCESS

#define TOKEN_UIACCESS   0x1000

Definition at line 1137 of file setypes.h.

◆ TOKEN_VIRTUALIZE_ALLOWED

#define TOKEN_VIRTUALIZE_ALLOWED   0x0200

Definition at line 1134 of file setypes.h.

◆ TOKEN_VIRTUALIZE_ENABLED

#define TOKEN_VIRTUALIZE_ENABLED   0x0400

Definition at line 1135 of file setypes.h.

◆ TOKEN_WRITE

#define TOKEN_WRITE
Value:
TOKEN_ADJUST_PRIVILEGES |\
TOKEN_ADJUST_GROUPS |\
TOKEN_ADJUST_DEFAULT)
#define STANDARD_RIGHTS_WRITE
Definition: setypes.h:21

Definition at line 899 of file setypes.h.

◆ TOKEN_WRITE_RESTRICTED

#define TOKEN_WRITE_RESTRICTED   0x0008

Definition at line 1127 of file setypes.h.

◆ UNPROTECTED_DACL_SECURITY_INFORMATION

#define UNPROTECTED_DACL_SECURITY_INFORMATION   (0x20000000L)

Definition at line 131 of file setypes.h.

◆ UNPROTECTED_SACL_SECURITY_INFORMATION

#define UNPROTECTED_SACL_SECURITY_INFORMATION   (0x10000000L)

Definition at line 132 of file setypes.h.

◆ VALID_IMPERSONATION_LEVEL

#define VALID_IMPERSONATION_LEVEL (   Level)    (((Level) >= SECURITY_MIN_IMPERSONATION_LEVEL) && ((Level) <= SECURITY_MAX_IMPERSONATION_LEVEL))

Definition at line 101 of file setypes.h.

◆ VALID_INHERIT_FLAGS

#define VALID_INHERIT_FLAGS   (0x1F)

Definition at line 719 of file setypes.h.

◆ WRITE_DAC

#define WRITE_DAC   0x00040000L

Definition at line 16 of file setypes.h.

◆ WRITE_OWNER

#define WRITE_OWNER   0x00080000L

Definition at line 17 of file setypes.h.

Typedef Documentation

◆ ACCESS_ALLOWED_ACE

◆ ACCESS_DENIED_ACE

◆ ACCESS_MASK

typedef $ULONG ACCESS_MASK

Definition at line 9 of file setypes.h.

◆ ACCESS_REASON

typedef $ULONG ACCESS_REASON

Definition at line 844 of file setypes.h.

◆ ACCESS_REASON_TYPE

◆ ACCESS_REASONS

◆ ACCESS_STATE

◆ ACE_HEADER

◆ ACL

typedef struct _ACL ACL

◆ AUDIT_EVENT_TYPE

◆ GENERIC_MAPPING

◆ INITIAL_PRIVILEGE_SET

◆ LPTOKEN_GROUPS

◆ LPTOKEN_PRIVILEGES

◆ LUID_AND_ATTRIBUTES

◆ LUID_AND_ATTRIBUTES_ARRAY

typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY]

Definition at line 79 of file setypes.h.

◆ MANDATORY_LEVEL

◆ OBJECT_TYPE_LIST

◆ PACCESS_ALLOWED_ACE

◆ PACCESS_DENIED_ACE

◆ PACCESS_MASK

typedef $ULONG * PACCESS_MASK

Definition at line 9 of file setypes.h.

◆ PACCESS_REASONS

◆ PACCESS_STATE

◆ PACCESS_TOKEN

Definition at line 11 of file setypes.h.

◆ PACE_HEADER

◆ PACL

typedef struct _ACL * PACL

◆ PAUDIT_EVENT_TYPE

◆ PGENERIC_MAPPING

◆ PINITIAL_PRIVILEGE_SET

◆ PISECURITY_DESCRIPTOR

◆ PISECURITY_DESCRIPTOR_RELATIVE

◆ PISID

typedef struct _SID * PISID

◆ PLUID_AND_ATTRIBUTES

◆ PLUID_AND_ATTRIBUTES_ARRAY

Definition at line 80 of file setypes.h.

◆ PMANDATORY_LEVEL

◆ PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR

typedef VOID(NTAPI * PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR) (_In_ PVOID Vcb, _In_ PSECURITY_DESCRIPTOR SecurityDescriptor)

Definition at line 219 of file setypes.h.

◆ POBJECT_TYPE_LIST

◆ PPRIVILEGE_SET

◆ PRIVILEGE_SET

◆ PSE_ACCESS_REQUEST

◆ PSE_ADT_ACCESS_REASON

◆ PSE_ADT_OBJECT_TYPE

◆ PSE_ADT_PARAMETER_ARRAY

◆ PSE_ADT_PARAMETER_ARRAY_ENTRY

◆ PSE_ADT_PARAMETER_TYPE

◆ PSE_AUDIT_INFO

◆ PSE_AUDIT_OPERATION

◆ PSE_EXPORTS

◆ PSE_IMPERSONATION_STATE

◆ PSE_LOGON_SESSION_TERMINATED_ROUTINE

typedef NTSTATUS(NTAPI * PSE_LOGON_SESSION_TERMINATED_ROUTINE) (IN PLUID LogonId)

Definition at line 1209 of file setypes.h.

◆ PSE_SECURITY_DESCRIPTOR

◆ PSECURITY_CLIENT_CONTEXT

◆ PSECURITY_CONTEXT_TRACKING_MODE

Definition at line 106 of file setypes.h.

◆ PSECURITY_DESCRIPTOR_CONTROL

Definition at line 763 of file setypes.h.

◆ PSECURITY_IMPERSONATION_LEVEL

◆ PSECURITY_INFORMATION

Definition at line 8 of file setypes.h.

◆ PSECURITY_QUALITY_OF_SERVICE

◆ PSECURITY_SUBJECT_CONTEXT

◆ PSID

typedef PVOID PSID

Definition at line 12 of file setypes.h.

◆ PSID_AND_ATTRIBUTES

static NTSTATUS *static PSID_AND_ATTRIBUTES

Definition at line 129 of file security.c.

◆ PSID_AND_ATTRIBUTES_ARRAY

Definition at line 483 of file setypes.h.

◆ PSID_AND_ATTRIBUTES_HASH

◆ PSID_HASH_ENTRY

Definition at line 486 of file setypes.h.

◆ PSID_NAME_USE

◆ PSYSTEM_ALARM_ACE

◆ PSYSTEM_AUDIT_ACE

◆ PSYSTEM_MANDATORY_LABEL_ACE

◆ PTOKEN_ACCESS_INFORMATION

◆ PTOKEN_AUDIT_POLICY

◆ PTOKEN_CONTROL

◆ PTOKEN_DEFAULT_DACL

◆ PTOKEN_ELEVATION

◆ PTOKEN_GROUPS

◆ PTOKEN_GROUPS_AND_PRIVILEGES

◆ PTOKEN_INFORMATION_CLASS

◆ PTOKEN_LINKED_TOKEN

◆ PTOKEN_MANDATORY_LABEL

◆ PTOKEN_MANDATORY_POLICY

◆ PTOKEN_ORIGIN

◆ PTOKEN_OWNER

◆ PTOKEN_PRIMARY_GROUP

◆ PTOKEN_PRIVILEGES

◆ PTOKEN_SOURCE

◆ PTOKEN_STATISTICS

◆ PTOKEN_TYPE

◆ PTOKEN_USER

◆ SE_ACCESS_REQUEST

◆ SE_ADT_ACCESS_REASON

◆ SE_ADT_OBJECT_TYPE

◆ SE_ADT_PARAMETER_ARRAY

◆ SE_ADT_PARAMETER_ARRAY_ENTRY

◆ SE_ADT_PARAMETER_TYPE

◆ SE_AUDIT_INFO

◆ SE_AUDIT_OPERATION

◆ SE_EXPORTS

◆ SE_IMPERSONATION_STATE

◆ SE_SECURITY_DESCRIPTOR

◆ SECURITY_CLIENT_CONTEXT

◆ SECURITY_CONTEXT_TRACKING_MODE

Definition at line 106 of file setypes.h.

◆ SECURITY_DESCRIPTOR

◆ SECURITY_DESCRIPTOR_CONTROL

Definition at line 763 of file setypes.h.

◆ SECURITY_DESCRIPTOR_RELATIVE

◆ SECURITY_IMPERSONATION_LEVEL

◆ SECURITY_INFORMATION

Definition at line 8 of file setypes.h.

◆ SECURITY_QUALITY_OF_SERVICE

◆ SECURITY_SUBJECT_CONTEXT

◆ SID

typedef struct _SID SID

◆ SID_AND_ATTRIBUTES

◆ SID_AND_ATTRIBUTES_ARRAY

typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY]

Definition at line 482 of file setypes.h.

◆ SID_AND_ATTRIBUTES_HASH

◆ SID_HASH_ENTRY

Definition at line 486 of file setypes.h.

◆ SID_NAME_USE

◆ SYSTEM_ALARM_ACE

◆ SYSTEM_AUDIT_ACE

◆ SYSTEM_MANDATORY_LABEL_ACE

◆ TOKEN_ACCESS_INFORMATION

◆ TOKEN_AUDIT_POLICY

◆ TOKEN_CONTROL

◆ TOKEN_DEFAULT_DACL

◆ TOKEN_ELEVATION

◆ TOKEN_GROUPS

◆ TOKEN_GROUPS_AND_PRIVILEGES

◆ TOKEN_INFORMATION_CLASS

◆ TOKEN_LINKED_TOKEN

◆ TOKEN_MANDATORY_LABEL

◆ TOKEN_MANDATORY_POLICY

◆ TOKEN_ORIGIN

◆ TOKEN_OWNER

◆ TOKEN_PRIMARY_GROUP

◆ TOKEN_PRIVILEGES

◆ TOKEN_SOURCE

◆ TOKEN_STATISTICS

◆ TOKEN_TYPE

◆ TOKEN_USER

Enumeration Type Documentation

◆ _ACCESS_REASON_TYPE

Enumerator
AccessReasonNone 
AccessReasonAllowedAce 
AccessReasonDeniedAce 
AccessReasonAllowedParentAce 
AccessReasonDeniedParentAce 
AccessReasonMissingPrivilege 
AccessReasonFromPrivilege 
AccessReasonIntegrityLevel 
AccessReasonOwnership 
AccessReasonNullDacl 
AccessReasonEmptyDacl 
AccessReasonNoSD 
AccessReasonNoGrant 

Definition at line 828 of file setypes.h.

◆ _AUDIT_EVENT_TYPE

Enumerator
AuditEventObjectAccess 
AuditEventDirectoryServiceAccess 

Definition at line 813 of file setypes.h.

813  {
enum _AUDIT_EVENT_TYPE * PAUDIT_EVENT_TYPE
enum _AUDIT_EVENT_TYPE AUDIT_EVENT_TYPE

◆ _MANDATORY_LEVEL

Enumerator
MandatoryLevelUntrusted 
MandatoryLevelLow 
MandatoryLevelMedium 
MandatoryLevelHigh 
MandatoryLevelSystem 
MandatoryLevelSecureProcess 
MandatoryLevelCount 

Definition at line 1056 of file setypes.h.

◆ _SE_ADT_PARAMETER_TYPE

Enumerator
SeAdtParmTypeNone 
SeAdtParmTypeString 
SeAdtParmTypeFileSpec 
SeAdtParmTypeUlong 
SeAdtParmTypeSid 
SeAdtParmTypeLogonId 
SeAdtParmTypeNoLogonId 
SeAdtParmTypeAccessMask 
SeAdtParmTypePrivs 
SeAdtParmTypeObjectTypes 
SeAdtParmTypeHexUlong 
SeAdtParmTypePtr 
SeAdtParmTypeTime 
SeAdtParmTypeGuid 
SeAdtParmTypeLuid 
SeAdtParmTypeHexInt64 
SeAdtParmTypeStringList 
SeAdtParmTypeSidList 
SeAdtParmTypeDuration 
SeAdtParmTypeUserAccountControl 
SeAdtParmTypeNoUac 
SeAdtParmTypeMessage 
SeAdtParmTypeDateTime 
SeAdtParmTypeSockAddr 
SeAdtParmTypeSD 
SeAdtParmTypeLogonHours 
SeAdtParmTypeLogonIdNoSid 
SeAdtParmTypeUlongNoConv 
SeAdtParmTypeSockAddrNoPort 
SeAdtParmTypeAccessReason 

Definition at line 243 of file setypes.h.

243  {
244  SeAdtParmTypeNone = 0,
enum _SE_ADT_PARAMETER_TYPE SE_ADT_PARAMETER_TYPE
enum _SE_ADT_PARAMETER_TYPE * PSE_ADT_PARAMETER_TYPE

◆ _SE_AUDIT_OPERATION

Enumerator
AuditPrivilegeObject 
AuditPrivilegeService 
AuditAccessCheck 
AuditOpenObject 
AuditOpenObjectWithTransaction 
AuditCloseObject 
AuditDeleteObject 
AuditOpenObjectForDelete 
AuditOpenObjectForDeleteWithTransaction 
AuditCloseNonObject 
AuditOpenNonObject 
AuditObjectReference 
AuditHandleCreation 

Definition at line 1078 of file setypes.h.

◆ _SECURITY_IMPERSONATION_LEVEL

Enumerator
SecurityAnonymous 
SecurityIdentification 
SecurityImpersonation 
SecurityDelegation 
SecurityAnonymous 
SecurityIdentification 
SecurityImpersonation 
SecurityDelegation 

Definition at line 91 of file setypes.h.

91  {
enum _SECURITY_IMPERSONATION_LEVEL * PSECURITY_IMPERSONATION_LEVEL
enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL

◆ _SID_NAME_USE

Enumerator
SidTypeUser 
SidTypeGroup 
SidTypeDomain 
SidTypeAlias 
SidTypeWellKnownGroup 
SidTypeDeletedAccount 
SidTypeInvalid 
SidTypeUnknown 
SidTypeComputer 
SidTypeLabel 
SidTypeUser 
SidTypeGroup 
SidTypeDomain 
SidTypeAlias 
SidTypeWellKnownGroup 
SidTypeDeletedAccount 
SidTypeInvalid 
SidTypeUnknown 
SidTypeUser 
SidTypeGroup 
SidTypeDomain 
SidTypeAlias 
SidTypeWellKnownGroup 
SidTypeDeletedAccount 
SidTypeInvalid 
SidTypeUnknown 
SidTypeComputer 
SidTypeLabel 

Definition at line 461 of file setypes.h.

◆ _TOKEN_INFORMATION_CLASS

Enumerator
TokenUser 
TokenGroups 
TokenPrivileges 
TokenOwner 
TokenPrimaryGroup 
TokenDefaultDacl 
TokenSource 
TokenType 
TokenImpersonationLevel 
TokenStatistics 
TokenRestrictedSids 
TokenSessionId 
TokenGroupsAndPrivileges 
TokenSessionReference 
TokenSandBoxInert 
TokenAuditPolicy 
TokenOrigin 
TokenElevationType 
TokenLinkedToken 
TokenElevation 
TokenHasRestrictions 
TokenAccessInformation 
TokenVirtualizationAllowed 
TokenVirtualizationEnabled 
TokenIntegrityLevel 
TokenUIAccess 
TokenMandatoryPolicy 
TokenLogonSid 
TokenIsAppContainer 
TokenCapabilities 
TokenAppContainerSid 
TokenAppContainerNumber 
TokenUserClaimAttributes 
TokenDeviceClaimAttributes 
TokenRestrictedUserClaimAttributes 
TokenRestrictedDeviceClaimAttributes 
TokenDeviceGroups 
TokenRestrictedDeviceGroups 
TokenSecurityAttributes 
TokenIsRestricted 
MaxTokenInfoClass 

Definition at line 911 of file setypes.h.

911  {
912  TokenUser = 1,
913  TokenGroups,
915  TokenOwner,
918  TokenSource,
919  TokenType,
928  TokenOrigin,
enum _TOKEN_INFORMATION_CLASS * PTOKEN_INFORMATION_CLASS
enum _TOKEN_INFORMATION_CLASS TOKEN_INFORMATION_CLASS

◆ _TOKEN_TYPE

Enumerator
TokenPrimary 
TokenImpersonation 
TokenPrimary 
TokenImpersonation 

Definition at line 906 of file setypes.h.

906  {
907  TokenPrimary = 1,
enum _TOKEN_TYPE * PTOKEN_TYPE
enum _TOKEN_TYPE TOKEN_TYPE

Function Documentation

◆ $endif() [1/4]

$endif ( _WDMDDK_||  _WINNT_)

Definition at line 134 of file setypes.h.

137  {
138  SetSecurityDescriptor,
139  QuerySecurityDescriptor,
140  DeleteSecurityDescriptor,
141  AssignSecurityDescriptor
* PSECURITY_OPERATION_CODE
Definition: setypes.h:142
SECURITY_OPERATION_CODE
Definition: setypes.h:142

◆ $endif() [2/4]

$endif ( _WDMDDK_  )

Definition at line 311 of file setypes.h.

318  {
319  WinNullSid = 0,
320  WinWorldSid = 1,
321  WinLocalSid = 2,
322  WinCreatorOwnerSid = 3,
323  WinCreatorGroupSid = 4,
324  WinCreatorOwnerServerSid = 5,
325  WinCreatorGroupServerSid = 6,
326  WinNtAuthoritySid = 7,
327  WinDialupSid = 8,
328  WinNetworkSid = 9,
329  WinBatchSid = 10,
330  WinInteractiveSid = 11,
331  WinServiceSid = 12,
332  WinAnonymousSid = 13,
333  WinProxySid = 14,
334  WinEnterpriseControllersSid = 15,
335  WinSelfSid = 16,
336  WinAuthenticatedUserSid = 17,
337  WinRestrictedCodeSid = 18,
338  WinTerminalServerSid = 19,
339  WinRemoteLogonIdSid = 20,
340  WinLogonIdsSid = 21,
341  WinLocalSystemSid = 22,
342  WinLocalServiceSid = 23,
343  WinNetworkServiceSid = 24,
344  WinBuiltinDomainSid = 25,
345  WinBuiltinAdministratorsSid = 26,
346  WinBuiltinUsersSid = 27,
347  WinBuiltinGuestsSid = 28,
348  WinBuiltinPowerUsersSid = 29,
349  WinBuiltinAccountOperatorsSid = 30,
350  WinBuiltinSystemOperatorsSid = 31,
351  WinBuiltinPrintOperatorsSid = 32,
352  WinBuiltinBackupOperatorsSid = 33,
353  WinBuiltinReplicatorSid = 34,
354  WinBuiltinPreWindows2000CompatibleAccessSid = 35,
355  WinBuiltinRemoteDesktopUsersSid = 36,
356  WinBuiltinNetworkConfigurationOperatorsSid = 37,
357  WinAccountAdministratorSid = 38,
358  WinAccountGuestSid = 39,
359  WinAccountKrbtgtSid = 40,
360  WinAccountDomainAdminsSid = 41,
361  WinAccountDomainUsersSid = 42,
362  WinAccountDomainGuestsSid = 43,
363  WinAccountComputersSid = 44,
364  WinAccountControllersSid = 45,
365  WinAccountCertAdminsSid = 46,
366  WinAccountSchemaAdminsSid = 47,
367  WinAccountEnterpriseAdminsSid = 48,
368  WinAccountPolicyAdminsSid = 49,
369  WinAccountRasAndIasServersSid = 50,
370  WinNTLMAuthenticationSid = 51,
371  WinDigestAuthenticationSid = 52,
372  WinSChannelAuthenticationSid = 53,
373  WinThisOrganizationSid = 54,
374  WinOtherOrganizationSid = 55,
375  WinBuiltinIncomingForestTrustBuildersSid = 56,
376  WinBuiltinPerfMonitoringUsersSid = 57,
377  WinBuiltinPerfLoggingUsersSid = 58,
378  WinBuiltinAuthorizationAccessSid = 59,
379  WinBuiltinTerminalServerLicenseServersSid = 60,
380  WinBuiltinDCOMUsersSid = 61,
381  WinBuiltinIUsersSid = 62,
382  WinIUserSid = 63,
383  WinBuiltinCryptoOperatorsSid = 64,
384  WinUntrustedLabelSid = 65,
385  WinLowLabelSid = 66,
386  WinMediumLabelSid = 67,
387  WinHighLabelSid = 68,
388  WinSystemLabelSid = 69,
389  WinWriteRestrictedCodeSid = 70,
390  WinCreatorOwnerRightsSid = 71,
391  WinCacheablePrincipalsGroupSid = 72,
392  WinNonCacheablePrincipalsGroupSid = 73,
393  WinEnterpriseReadonlyControllersSid = 74,
394  WinAccountReadonlyControllersSid = 75,
395  WinBuiltinEventLogReadersGroup = 76,
396  WinNewEnterpriseReadonlyControllersSid = 77,
397  WinBuiltinCertSvcDComAccessGroup = 78,
398  WinMediumPlusLabelSid = 79,
399  WinLocalLogonSid = 80,
400  WinConsoleLogonSid = 81,
401  WinThisOrganizationCertificateSid = 82,
402  WinApplicationPackageAuthoritySid = 83,
403  WinBuiltinAnyPackageSid = 84,
404  WinCapabilityInternetClientSid = 85,
405  WinCapabilityInternetClientServerSid = 86,
406  WinCapabilityPrivateNetworkClientServerSid = 87,
407  WinCapabilityPicturesLibrarySid = 88,
408  WinCapabilityVideosLibrarySid = 89,
409  WinCapabilityMusicLibrarySid = 90,
410  WinCapabilityDocumentsLibrarySid = 91,
411  WinCapabilitySharedUserCertificatesSid = 92,
412  WinCapabilityEnterpriseAuthenticationSid = 93,
413  WinCapabilityRemovableStorageSid = 94,
414  WinBuiltinRDSRemoteAccessServersSid = 95,
415  WinBuiltinRDSEndpointServersSid = 96,
416  WinBuiltinRDSManagementServersSid = 97,
417  WinUserModeDriversSid = 98,
418  WinBuiltinHyperVAdminsSid = 99,
419  WinAccountCloneableControllersSid = 100,
420  WinBuiltinAccessControlAssistanceOperatorsSid = 101,
421  WinBuiltinRemoteManagementUsersSid = 102,
422  WinAuthenticationAuthorityAssertedSid = 103,
423  WinAuthenticationServiceAssertedSid = 104,
424  WinLocalAccountSid = 105,
425  WinLocalAccountAndAdministratorSid = 106,
426  WinAccountProtectedUsersSid = 107,
WELL_KNOWN_SID_TYPE
Definition: setypes.h:427

◆ $endif() [3/4]

$endif ( _NTDDK_||  _WINNT_)

Definition at line 429 of file setypes.h.

434  {
435  $UCHAR Value[6];
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2327
* PSID_IDENTIFIER_AUTHORITY
Definition: setypes.h:436
* LPSID_IDENTIFIER_AUTHORITY
Definition: setypes.h:436
SID_IDENTIFIER_AUTHORITY
Definition: setypes.h:436

◆ $endif() [4/4]

$endif ( _NTIFS_||  _WINNT_)

Definition at line 1066 of file setypes.h.

1069  {
1070  $ULONG Size;
1071  $ULONG ResultListCount;
1074  PACCESS_REASONS AccessReason;
* PNTSTATUS
Definition: strlen.c:14
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK _Out_ PNTSTATUS AccessStatus
Definition: sefuncs.h:13
SE_ACCESS_REPLY
Definition: setypes.h:1076
* PSE_ACCESS_REPLY
Definition: setypes.h:1076
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET * Privileges
Definition: sefuncs.h:13
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
ACCESS_MASK * PACCESS_MASK
Definition: nt_native.h:41
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:13

◆ $if()

$if ( _WDMDDK_||  _WINNT_)

Definition at line 1 of file extypes.h.

11  {
12  volatile LONG Count;
14  ULONG Contention;
15  KEVENT Event;
16  ULONG OldIrql;
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
long LONG
Definition: pedump.c:60
_In_ PVOID _In_ ULONG Event
Definition: iotypes.h:434
FAST_MUTEX
Definition: extypes.h:17
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
* PFAST_MUTEX
Definition: extypes.h:17
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
Definition: rtlfuncs.h:1557
unsigned int ULONG
Definition: retypes.h:1

Variable Documentation

◆ LPSID_IDENTIFIER_AUTHORITY

* LPSID_IDENTIFIER_AUTHORITY

Definition at line 436 of file setypes.h.

◆ PSE_ACCESS_REPLY

* PSE_ACCESS_REPLY

Definition at line 1076 of file setypes.h.

◆ PSECURITY_OPERATION_CODE

* PSECURITY_OPERATION_CODE

Definition at line 142 of file setypes.h.

◆ PSID_IDENTIFIER_AUTHORITY

* PSID_IDENTIFIER_AUTHORITY

Definition at line 436 of file setypes.h.

Referenced by GetTextSid(), GetTextualSid(), and test_pack_PSID_IDENTIFIER_AUTHORITY().

◆ SE_ACCESS_REPLY

SE_ACCESS_REPLY

Definition at line 1076 of file setypes.h.

◆ SECURITY_OPERATION_CODE

SECURITY_OPERATION_CODE

Definition at line 142 of file setypes.h.

◆ SID_IDENTIFIER_AUTHORITY

Definition at line 436 of file setypes.h.

◆ WELL_KNOWN_SID_TYPE

WELL_KNOWN_SID_TYPE

Definition at line 427 of file setypes.h.

Referenced by check_4_special_identifiers(), is_well_known_sid(), and test_sid().