ReactOS  0.4.12-dev-36-g472787f
accctrl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _TRUSTEE_A
 
struct  _TRUSTEE_W
 
struct  _ACTRL_ACCESS_ENTRYA
 
struct  _ACTRL_ACCESS_ENTRYW
 
struct  _ACTRL_ACCESS_ENTRY_LISTA
 
struct  _ACTRL_ACCESS_ENTRY_LISTW
 
struct  _ACTRL_PROPERTY_ENTRYA
 
struct  _ACTRL_PROPERTY_ENTRYW
 
struct  _ACTRL_ALISTA
 
struct  _ACTRL_ALISTW
 
struct  _TRUSTEE_ACCESSA
 
struct  _TRUSTEE_ACCESSW
 
struct  _ACTRL_OVERLAPPED
 
struct  _ACTRL_ACCESS_INFOA
 
struct  _ACTRL_ACCESS_INFOW
 
struct  _ACTRL_CONTROL_INFOA
 
struct  _ACTRL_CONTROL_INFOW
 
struct  _EXPLICIT_ACCESS_A
 
struct  _EXPLICIT_ACCESS_W
 
struct  _OBJECTS_AND_SID
 
struct  _OBJECTS_AND_NAME_A
 
struct  _OBJECTS_AND_NAME_W
 
struct  _SI_OBJECT_INFO
 
struct  _SI_ACCESS
 
struct  _SI_INHERIT_TYPE
 
struct  _FN_OBJECT_MGR_FUNCTIONS
 

Macros

#define AccFree   LocalFree
 
#define ACTRL_RESERVED   0x00000000
 
#define ACTRL_ACCESS_PROTECTED   0x00000001
 
#define ACTRL_ACCESS_ALLOWED   0x00000001
 
#define ACTRL_ACCESS_DENIED   0x00000002
 
#define ACTRL_AUDIT_SUCCESS   0x00000004
 
#define ACTRL_AUDIT_FAILURE   0x00000008
 
#define ACTRL_SYSTEM_ACCESS   0x04000000
 
#define ACTRL_DELETE   0x08000000
 
#define ACTRL_READ_CONTROL   0x10000000
 
#define ACTRL_CHANGE_ACCESS   0x20000000
 
#define ACTRL_CHANGE_OWNER   0x40000000
 
#define ACTRL_SYNCHRONIZE   0x80000000
 
#define ACTRL_STD_RIGHTS_ALL   0xf8000000
 
#define ACTRL_FILE_READ   0x00000001
 
#define ACTRL_FILE_WRITE   0x00000002
 
#define ACTRL_FILE_APPEND   0x00000004
 
#define ACTRL_FILE_READ_PROP   0x00000008
 
#define ACTRL_FILE_WRITE_PROP   0x00000010
 
#define ACTRL_FILE_EXECUTE   0x00000020
 
#define ACTRL_FILE_READ_ATTRIB   0x00000080
 
#define ACTRL_FILE_WRITE_ATTRIB   0x00000100
 
#define ACTRL_FILE_CREATE_PIPE   0x00000200
 
#define ACTRL_DIR_LIST   0x00000001
 
#define ACTRL_DIR_CREATE_OBJECT   0x00000002
 
#define ACTRL_DIR_CREATE_CHILD   0x00000004
 
#define ACTRL_DIR_DELETE_CHILD   0x00000040
 
#define ACTRL_DIR_TRAVERSE   0x00000020
 
#define ACTRL_KERNEL_TERMINATE   0x00000001
 
#define ACTRL_KERNEL_THREAD   0x00000002
 
#define ACTRL_KERNEL_VM   0x00000004
 
#define ACTRL_KERNEL_VM_READ   0x00000008
 
#define ACTRL_KERNEL_VM_WRITE   0x00000010
 
#define ACTRL_KERNEL_DUP_HANDLE   0x00000020
 
#define ACTRL_KERNEL_PROCESS   0x00000040
 
#define ACTRL_KERNEL_SET_INFO   0x00000080
 
#define ACTRL_KERNEL_GET_INFO   0x00000100
 
#define ACTRL_KERNEL_CONTROL   0x00000200
 
#define ACTRL_KERNEL_ALERT   0x00000400
 
#define ACTRL_KERNEL_GET_CONTEXT   0x00000800
 
#define ACTRL_KERNEL_SET_CONTEXT   0x00001000
 
#define ACTRL_KERNEL_TOKEN   0x00002000
 
#define ACTRL_KERNEL_IMPERSONATE   0x00004000
 
#define ACTRL_KERNEL_DIMPERSONATE   0x00008000
 
#define ACTRL_PRINT_SADMIN   0x00000001
 
#define ACTRL_PRINT_SLIST   0x00000002
 
#define ACTRL_PRINT_PADMIN   0x00000004
 
#define ACTRL_PRINT_PUSE   0x00000008
 
#define ACTRL_PRINT_JADMIN   0x00000010
 
#define ACTRL_SVC_GET_INFO   0x00000001
 
#define ACTRL_SVC_SET_INFO   0x00000002
 
#define ACTRL_SVC_STATUS   0x00000004
 
#define ACTRL_SVC_LIST   0x00000008
 
#define ACTRL_SVC_START   0x00000010
 
#define ACTRL_SVC_STOP   0x00000020
 
#define ACTRL_SVC_PAUSE   0x00000040
 
#define ACTRL_SVC_INTERROGATE   0x00000080
 
#define ACTRL_SVC_UCONTROL   0x00000100
 
#define ACTRL_REG_QUERY   0x00000001
 
#define ACTRL_REG_SET   0x00000002
 
#define ACTRL_REG_CREATE_CHILD   0x00000004
 
#define ACTRL_REG_LIST   0x00000008
 
#define ACTRL_REG_NOTIFY   0x00000010
 
#define ACTRL_REG_LINK   0x00000020
 
#define ACTRL_WIN_CLIPBRD   0x00000001
 
#define ACTRL_WIN_GLOBAL_ATOMS   0x00000002
 
#define ACTRL_WIN_CREATE   0x00000004
 
#define ACTRL_WIN_LIST_DESK   0x00000008
 
#define ACTRL_WIN_LIST   0x00000010
 
#define ACTRL_WIN_READ_ATTRIBS   0x00000020
 
#define ACTRL_WIN_WRITE_ATTRIBS   0x00000040
 
#define ACTRL_WIN_SCREEN   0x00000080
 
#define ACTRL_WIN_EXIT   0x00000100
 
#define ACTRL_ACCESS_NO_OPTIONS   0x00000000
 
#define ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES   0x00000001
 
#define ACCCTRL_DEFAULT_PROVIDERA   "Windows NT Access Provider"
 
#define ACCCTRL_DEFAULT_PROVIDERW   L"Windows NT Access Provider"
 
#define TRUSTEE_ACCESS_ALLOWED   0x00000001L
 
#define TRUSTEE_ACCESS_READ   0x00000002L
 
#define TRUSTEE_ACCESS_WRITE   0x00000004L
 
#define TRUSTEE_ACCESS_EXPLICIT   0x00000001L
 
#define TRUSTEE_ACCESS_READ_WRITE   (TRUSTEE_ACCESS_READ | TRUSTEE_ACCESS_WRITE)
 
#define TRUSTEE_ACCESS_ALL   0xFFFFFFFFL
 
#define NO_INHERITANCE   0x0
 
#define SUB_OBJECTS_ONLY_INHERIT   0x1
 
#define SUB_CONTAINERS_ONLY_INHERIT   0x2
 
#define SUB_CONTAINERS_AND_OBJECTS_INHERIT   0x3
 
#define INHERIT_NO_PROPAGATE   0x4
 
#define INHERIT_ONLY   0x8
 
#define INHERITED_ACCESS_ENTRY   0x10
 
#define INHERITED_PARENT   0x10000000
 
#define INHERITED_GRANDPARENT   0x20000000
 
#define SI_EDIT_PERMS   0x00000000
 
#define SI_EDIT_OWNER   0x00000001
 
#define SI_EDIT_AUDITS   0x00000002
 
#define SI_CONTAINER   0x00000004
 
#define SI_READONLY   0x00000008
 
#define SI_ADVANCED   0x00000010
 
#define SI_RESET   0x00000020
 
#define SI_OWNER_READONLY   0x00000040
 
#define SI_EDIT_PROPERTIES   0x00000080
 
#define SI_OWNER_RECURSE   0x00000100
 
#define SI_NO_ACL_PROTECT   0x00000200
 
#define SI_NO_TREE_APPLY   0x00000400
 
#define SI_PAGE_TITLE   0x00000800
 
#define SI_SERVER_IS_DC   0x00001000
 
#define SI_RESET_DACL_TREE   0x00004000
 
#define SI_RESET_SACL_TREE   0x00008000
 
#define SI_OBJECT_GUID   0x00010000
 
#define SI_EDIT_EFFECTIVE   0x00020000
 
#define SI_RESET_DACL   0x00040000
 
#define SI_RESET_SACL   0x00080000
 
#define SI_RESET_OWNER   0x00100000
 
#define SI_NO_ADDITIONAL_PERMISSION   0x00200000
 
#define SI_MAY_WRITE   0x10000000
 
#define SI_EDIT_ALL   (SI_EDIT_OWNER |SI_EDIT_PERMS | SI_EDIT_AUDITS)
 
#define SI_ACCESS_SPECIFIC   0x00010000
 
#define SI_ACCESS_GENERAL   0x00020000
 
#define SI_ACCESS_CONTAINER   0x00040000
 
#define SI_ACCESS_PROPERTY   0x00080000
 
#define ACCCTRL_DEFAULT_PROVIDER   ACCCTRL_DEFAULT_PROVIDERA
 

Typedefs

typedef ULONG INHERIT_FLAGS
 
typedef ULONGPINHERIT_FLAGS
 
typedef ULONG ACCESS_RIGHTS
 
typedef ULONGPACCESS_RIGHTS
 
typedef enum _ACCESS_MODE ACCESS_MODE
 
typedef enum _SE_OBJECT_TYPE SE_OBJECT_TYPE
 
typedef enum _TRUSTEE_TYPE TRUSTEE_TYPE
 
typedef enum _TRUSTEE_FORM TRUSTEE_FORM
 
typedef enum _MULTIPLE_TRUSTEE_OPERATION MULTIPLE_TRUSTEE_OPERATION
 
typedef struct _TRUSTEE_A TRUSTEE_A
 
typedef struct _TRUSTEE_APTRUSTEE_A
 
typedef struct _TRUSTEE_A TRUSTEEA
 
typedef struct _TRUSTEE_APTRUSTEEA
 
typedef struct _TRUSTEE_W TRUSTEE_W
 
typedef struct _TRUSTEE_WPTRUSTEE_W
 
typedef struct _TRUSTEE_W TRUSTEEW
 
typedef struct _TRUSTEE_WPTRUSTEEW
 
typedef struct _ACTRL_ACCESS_ENTRYA ACTRL_ACCESS_ENTRYA
 
typedef struct _ACTRL_ACCESS_ENTRYAPACTRL_ACCESS_ENTRYA
 
typedef struct _ACTRL_ACCESS_ENTRYW ACTRL_ACCESS_ENTRYW
 
typedef struct _ACTRL_ACCESS_ENTRYWPACTRL_ACCESS_ENTRYW
 
typedef struct _ACTRL_ACCESS_ENTRY_LISTA ACTRL_ACCESS_ENTRY_LISTA
 
typedef struct _ACTRL_ACCESS_ENTRY_LISTAPACTRL_ACCESS_ENTRY_LISTA
 
typedef struct _ACTRL_ACCESS_ENTRY_LISTW ACTRL_ACCESS_ENTRY_LISTW
 
typedef struct _ACTRL_ACCESS_ENTRY_LISTWPACTRL_ACCESS_ENTRY_LISTW
 
typedef struct _ACTRL_PROPERTY_ENTRYA ACTRL_PROPERTY_ENTRYA
 
typedef struct _ACTRL_PROPERTY_ENTRYAPACTRL_PROPERTY_ENTRYA
 
typedef struct _ACTRL_PROPERTY_ENTRYW ACTRL_PROPERTY_ENTRYW
 
typedef struct _ACTRL_PROPERTY_ENTRYWPACTRL_PROPERTY_ENTRYW
 
typedef struct _ACTRL_ALISTA ACTRL_ACCESSA
 
typedef struct _ACTRL_ALISTAPACTRL_ACCESSA
 
typedef struct _ACTRL_ALISTA ACTRL_AUDITA
 
typedef struct _ACTRL_ALISTAPACTRL_AUDITA
 
typedef struct _ACTRL_ALISTW ACTRL_ACCESSW
 
typedef struct _ACTRL_ALISTWPACTRL_ACCESSW
 
typedef struct _ACTRL_ALISTW ACTRL_AUDITW
 
typedef struct _ACTRL_ALISTWPACTRL_AUDITW
 
typedef struct _TRUSTEE_ACCESSA TRUSTEE_ACCESSA
 
typedef struct _TRUSTEE_ACCESSAPTRUSTEE_ACCESSA
 
typedef struct _TRUSTEE_ACCESSW TRUSTEE_ACCESSW
 
typedef struct _TRUSTEE_ACCESSWPTRUSTEE_ACCESSW
 
typedef struct _ACTRL_OVERLAPPED ACTRL_OVERLAPPED
 
typedef struct _ACTRL_OVERLAPPEDPACTRL_OVERLAPPED
 
typedef struct _ACTRL_ACCESS_INFOA ACTRL_ACCESS_INFOA
 
typedef struct _ACTRL_ACCESS_INFOAPACTRL_ACCESS_INFOA
 
typedef struct _ACTRL_ACCESS_INFOW ACTRL_ACCESS_INFOW
 
typedef struct _ACTRL_ACCESS_INFOWPACTRL_ACCESS_INFOW
 
typedef struct _ACTRL_CONTROL_INFOA ACTRL_CONTROL_INFOA
 
typedef struct _ACTRL_CONTROL_INFOAPACTRL_CONTROL_INFOA
 
typedef struct _ACTRL_CONTROL_INFOW ACTRL_CONTROL_INFOW
 
typedef struct _ACTRL_CONTROL_INFOWPACTRL_CONTROL_INFOW
 
typedef struct _EXPLICIT_ACCESS_A EXPLICIT_ACCESS_A
 
typedef struct _EXPLICIT_ACCESS_APEXPLICIT_ACCESS_A
 
typedef struct _EXPLICIT_ACCESS_A EXPLICIT_ACCESSA
 
typedef struct _EXPLICIT_ACCESS_APEXPLICIT_ACCESSA
 
typedef struct _EXPLICIT_ACCESS_W EXPLICIT_ACCESS_W
 
typedef struct _EXPLICIT_ACCESS_WPEXPLICIT_ACCESS_W
 
typedef struct _EXPLICIT_ACCESS_W EXPLICIT_ACCESSW
 
typedef struct _EXPLICIT_ACCESS_WPEXPLICIT_ACCESSW
 
typedef struct _OBJECTS_AND_SID OBJECTS_AND_SID
 
typedef struct _OBJECTS_AND_SIDPOBJECTS_AND_SID
 
typedef struct _OBJECTS_AND_NAME_A OBJECTS_AND_NAME_A
 
typedef struct _OBJECTS_AND_NAME_APOBJECTS_AND_NAME_A
 
typedef struct _OBJECTS_AND_NAME_W OBJECTS_AND_NAME_W
 
typedef struct _OBJECTS_AND_NAME_WPOBJECTS_AND_NAME_W
 
typedef struct _SI_OBJECT_INFO SI_OBJECT_INFO
 
typedef struct _SI_OBJECT_INFOPSI_OBJECT_INFO
 
typedef struct _SI_ACCESS SI_ACCESS
 
typedef struct _SI_ACCESSPSI_ACCESS
 
typedef struct _SI_INHERIT_TYPE SI_INHERIT_TYPE
 
typedef struct _SI_INHERIT_TYPEPSI_INHERIT_TYPE
 
typedef enum _SI_PAGE_TYPE SI_PAGE_TYPE
 
typedef struct _FN_OBJECT_MGR_FUNCTIONS FN_OBJECT_MGR_FUNCTS
 
typedef struct _FN_OBJECT_MGR_FUNCTIONSPFN_OBJECT_MGR_FUNCTS
 
typedef enum _PROG_INVOKE_SETTING PROG_INVOKE_SETTING
 
typedef enum _PROG_INVOKE_SETTINGPPROG_INVOKE_SETTING
 
typedef VOID(WINAPIFN_PROGRESSW) (LPWSTR pObjectName, DWORD Status, PPROG_INVOKE_SETTING pInvokeSetting, PVOID Args, BOOL SecuritySet)
 
typedef VOID(WINAPIFN_PROGRESSA) (LPSTR pObjectName, DWORD Status, PPROG_INVOKE_SETTING pInvokeSetting, PVOID Args, BOOL SecuritySet)
 
typedef TRUSTEE_A TRUSTEE_
 
typedef TRUSTEE_APTRUSTEE_
 
typedef TRUSTEEA TRUSTEE
 
typedef TRUSTEEAPTRUSTEE
 
typedef ACTRL_ACCESSA ACTRL_ACCESS
 
typedef ACTRL_ACCESSAPACTRL_ACCESS
 
typedef ACTRL_ACCESS_ENTRY_LISTA ACTRL_ACCESS_ENTRY_LIST
 
typedef ACTRL_ACCESS_ENTRY_LISTAPACTRL_ACCESS_ENTRY_LIST
 
typedef ACTRL_ACCESS_INFOA ACTRL_ACCESS_INFO
 
typedef ACTRL_ACCESS_INFOAPACTRL_ACCESS_INFO
 
typedef ACTRL_ACCESS_ENTRYA ACTRL_ACCESS_ENTRY
 
typedef ACTRL_ACCESS_ENTRYAPACTRL_ACCESS_ENTRY
 
typedef ACTRL_AUDITA ACTRL_AUDIT
 
typedef ACTRL_AUDITAPACTRL_AUDIT
 
typedef ACTRL_CONTROL_INFOA ACTRL_CONTROL_INFO
 
typedef ACTRL_CONTROL_INFOAPACTRL_CONTROL_INFO
 
typedef EXPLICIT_ACCESS_A EXPLICIT_ACCESS_
 
typedef EXPLICIT_ACCESS_APEXPLICIT_ACCESS_
 
typedef EXPLICIT_ACCESSA EXPLICIT_ACCESS
 
typedef EXPLICIT_ACCESSAPEXPLICIT_ACCESS
 
typedef TRUSTEE_ACCESSA TRUSTEE_ACCESS
 
typedef TRUSTEE_ACCESSAPTRUSTEE_ACCESS
 
typedef OBJECTS_AND_NAME_A OBJECTS_AND_NAME_
 
typedef OBJECTS_AND_NAME_APOBJECTS_AND_NAME_
 

Enumerations

enum  _ACCESS_MODE {
  NOT_USED_ACCESS = 0, GRANT_ACCESS, SET_ACCESS, DENY_ACCESS,
  REVOKE_ACCESS, SET_AUDIT_SUCCESS, SET_AUDIT_FAILURE
}
 
enum  _SE_OBJECT_TYPE {
  SE_UNKNOWN_OBJECT_TYPE = 0, SE_FILE_OBJECT, SE_SERVICE, SE_PRINTER,
  SE_REGISTRY_KEY, SE_LMSHARE, SE_KERNEL_OBJECT, SE_WINDOW_OBJECT,
  SE_DS_OBJECT, SE_DS_OBJECT_ALL, SE_PROVIDER_DEFINED_OBJECT, SE_WMIGUID_OBJECT,
  SE_REGISTRY_WOW64_32KEY
}
 
enum  _TRUSTEE_TYPE {
  TRUSTEE_IS_UNKNOWN, TRUSTEE_IS_USER, TRUSTEE_IS_GROUP, TRUSTEE_IS_DOMAIN,
  TRUSTEE_IS_ALIAS, TRUSTEE_IS_WELL_KNOWN_GROUP, TRUSTEE_IS_DELETED, TRUSTEE_IS_INVALID,
  TRUSTEE_IS_COMPUTER
}
 
enum  _TRUSTEE_FORM {
  TRUSTEE_IS_SID, TRUSTEE_IS_NAME, TRUSTEE_BAD_FORM, TRUSTEE_IS_OBJECTS_AND_SID,
  TRUSTEE_IS_OBJECTS_AND_NAME
}
 
enum  _MULTIPLE_TRUSTEE_OPERATION { NO_MULTIPLE_TRUSTEE, TRUSTEE_IS_IMPERSONATE }
 
enum  _SI_PAGE_TYPE { SI_PAGE_PERM = 0, SI_PAGE_ADVPERM, SI_PAGE_AUDIT, SI_PAGE_OWNER }
 
enum  _PROG_INVOKE_SETTING {
  ProgressInvokeNever = 1, ProgressInvokeEveryObject, ProgressInvokeOnError, ProgressCancelOperation,
  ProgressRetryOperation
}
 

Macro Definition Documentation

◆ ACCCTRL_DEFAULT_PROVIDER

#define ACCCTRL_DEFAULT_PROVIDER   ACCCTRL_DEFAULT_PROVIDERA

Definition at line 465 of file accctrl.h.

◆ ACCCTRL_DEFAULT_PROVIDERA

#define ACCCTRL_DEFAULT_PROVIDERA   "Windows NT Access Provider"

Definition at line 93 of file accctrl.h.

◆ ACCCTRL_DEFAULT_PROVIDERW

#define ACCCTRL_DEFAULT_PROVIDERW   L"Windows NT Access Provider"

Definition at line 94 of file accctrl.h.

◆ AccFree

#define AccFree   LocalFree

Definition at line 8 of file accctrl.h.

◆ ACTRL_ACCESS_ALLOWED

#define ACTRL_ACCESS_ALLOWED   0x00000001

Definition at line 12 of file accctrl.h.

◆ ACTRL_ACCESS_DENIED

#define ACTRL_ACCESS_DENIED   0x00000002

Definition at line 13 of file accctrl.h.

◆ ACTRL_ACCESS_NO_OPTIONS

#define ACTRL_ACCESS_NO_OPTIONS   0x00000000

Definition at line 90 of file accctrl.h.

◆ ACTRL_ACCESS_PROTECTED

#define ACTRL_ACCESS_PROTECTED   0x00000001

Definition at line 11 of file accctrl.h.

◆ ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES

#define ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES   0x00000001

Definition at line 91 of file accctrl.h.

◆ ACTRL_AUDIT_FAILURE

#define ACTRL_AUDIT_FAILURE   0x00000008

Definition at line 15 of file accctrl.h.

◆ ACTRL_AUDIT_SUCCESS

#define ACTRL_AUDIT_SUCCESS   0x00000004

Definition at line 14 of file accctrl.h.

◆ ACTRL_CHANGE_ACCESS

#define ACTRL_CHANGE_ACCESS   0x20000000

Definition at line 19 of file accctrl.h.

◆ ACTRL_CHANGE_OWNER

#define ACTRL_CHANGE_OWNER   0x40000000

Definition at line 20 of file accctrl.h.

◆ ACTRL_DELETE

#define ACTRL_DELETE   0x08000000

Definition at line 17 of file accctrl.h.

◆ ACTRL_DIR_CREATE_CHILD

#define ACTRL_DIR_CREATE_CHILD   0x00000004

Definition at line 36 of file accctrl.h.

◆ ACTRL_DIR_CREATE_OBJECT

#define ACTRL_DIR_CREATE_OBJECT   0x00000002

Definition at line 35 of file accctrl.h.

◆ ACTRL_DIR_DELETE_CHILD

#define ACTRL_DIR_DELETE_CHILD   0x00000040

Definition at line 37 of file accctrl.h.

◆ ACTRL_DIR_LIST

#define ACTRL_DIR_LIST   0x00000001

Definition at line 34 of file accctrl.h.

◆ ACTRL_DIR_TRAVERSE

#define ACTRL_DIR_TRAVERSE   0x00000020

Definition at line 38 of file accctrl.h.

◆ ACTRL_FILE_APPEND

#define ACTRL_FILE_APPEND   0x00000004

Definition at line 26 of file accctrl.h.

◆ ACTRL_FILE_CREATE_PIPE

#define ACTRL_FILE_CREATE_PIPE   0x00000200

Definition at line 32 of file accctrl.h.

◆ ACTRL_FILE_EXECUTE

#define ACTRL_FILE_EXECUTE   0x00000020

Definition at line 29 of file accctrl.h.

◆ ACTRL_FILE_READ

#define ACTRL_FILE_READ   0x00000001

Definition at line 24 of file accctrl.h.

◆ ACTRL_FILE_READ_ATTRIB

#define ACTRL_FILE_READ_ATTRIB   0x00000080

Definition at line 30 of file accctrl.h.

◆ ACTRL_FILE_READ_PROP

#define ACTRL_FILE_READ_PROP   0x00000008

Definition at line 27 of file accctrl.h.

◆ ACTRL_FILE_WRITE

#define ACTRL_FILE_WRITE   0x00000002

Definition at line 25 of file accctrl.h.

◆ ACTRL_FILE_WRITE_ATTRIB

#define ACTRL_FILE_WRITE_ATTRIB   0x00000100

Definition at line 31 of file accctrl.h.

◆ ACTRL_FILE_WRITE_PROP

#define ACTRL_FILE_WRITE_PROP   0x00000010

Definition at line 28 of file accctrl.h.

◆ ACTRL_KERNEL_ALERT

#define ACTRL_KERNEL_ALERT   0x00000400

Definition at line 50 of file accctrl.h.

◆ ACTRL_KERNEL_CONTROL

#define ACTRL_KERNEL_CONTROL   0x00000200

Definition at line 49 of file accctrl.h.

◆ ACTRL_KERNEL_DIMPERSONATE

#define ACTRL_KERNEL_DIMPERSONATE   0x00008000

Definition at line 55 of file accctrl.h.

◆ ACTRL_KERNEL_DUP_HANDLE

#define ACTRL_KERNEL_DUP_HANDLE   0x00000020

Definition at line 45 of file accctrl.h.

◆ ACTRL_KERNEL_GET_CONTEXT

#define ACTRL_KERNEL_GET_CONTEXT   0x00000800

Definition at line 51 of file accctrl.h.

◆ ACTRL_KERNEL_GET_INFO

#define ACTRL_KERNEL_GET_INFO   0x00000100

Definition at line 48 of file accctrl.h.

◆ ACTRL_KERNEL_IMPERSONATE

#define ACTRL_KERNEL_IMPERSONATE   0x00004000

Definition at line 54 of file accctrl.h.

◆ ACTRL_KERNEL_PROCESS

#define ACTRL_KERNEL_PROCESS   0x00000040

Definition at line 46 of file accctrl.h.

◆ ACTRL_KERNEL_SET_CONTEXT

#define ACTRL_KERNEL_SET_CONTEXT   0x00001000

Definition at line 52 of file accctrl.h.

◆ ACTRL_KERNEL_SET_INFO

#define ACTRL_KERNEL_SET_INFO   0x00000080

Definition at line 47 of file accctrl.h.

◆ ACTRL_KERNEL_TERMINATE

#define ACTRL_KERNEL_TERMINATE   0x00000001

Definition at line 40 of file accctrl.h.

◆ ACTRL_KERNEL_THREAD

#define ACTRL_KERNEL_THREAD   0x00000002

Definition at line 41 of file accctrl.h.

◆ ACTRL_KERNEL_TOKEN

#define ACTRL_KERNEL_TOKEN   0x00002000

Definition at line 53 of file accctrl.h.

◆ ACTRL_KERNEL_VM

#define ACTRL_KERNEL_VM   0x00000004

Definition at line 42 of file accctrl.h.

◆ ACTRL_KERNEL_VM_READ

#define ACTRL_KERNEL_VM_READ   0x00000008

Definition at line 43 of file accctrl.h.

◆ ACTRL_KERNEL_VM_WRITE

#define ACTRL_KERNEL_VM_WRITE   0x00000010

Definition at line 44 of file accctrl.h.

◆ ACTRL_PRINT_JADMIN

#define ACTRL_PRINT_JADMIN   0x00000010

Definition at line 61 of file accctrl.h.

◆ ACTRL_PRINT_PADMIN

#define ACTRL_PRINT_PADMIN   0x00000004

Definition at line 59 of file accctrl.h.

◆ ACTRL_PRINT_PUSE

#define ACTRL_PRINT_PUSE   0x00000008

Definition at line 60 of file accctrl.h.

◆ ACTRL_PRINT_SADMIN

#define ACTRL_PRINT_SADMIN   0x00000001

Definition at line 57 of file accctrl.h.

◆ ACTRL_PRINT_SLIST

#define ACTRL_PRINT_SLIST   0x00000002

Definition at line 58 of file accctrl.h.

◆ ACTRL_READ_CONTROL

#define ACTRL_READ_CONTROL   0x10000000

Definition at line 18 of file accctrl.h.

◆ ACTRL_REG_CREATE_CHILD

#define ACTRL_REG_CREATE_CHILD   0x00000004

Definition at line 75 of file accctrl.h.

◆ ACTRL_REG_LINK

#define ACTRL_REG_LINK   0x00000020

Definition at line 78 of file accctrl.h.

◆ ACTRL_REG_LIST

#define ACTRL_REG_LIST   0x00000008

Definition at line 76 of file accctrl.h.

◆ ACTRL_REG_NOTIFY

#define ACTRL_REG_NOTIFY   0x00000010

Definition at line 77 of file accctrl.h.

◆ ACTRL_REG_QUERY

#define ACTRL_REG_QUERY   0x00000001

Definition at line 73 of file accctrl.h.

◆ ACTRL_REG_SET

#define ACTRL_REG_SET   0x00000002

Definition at line 74 of file accctrl.h.

◆ ACTRL_RESERVED

#define ACTRL_RESERVED   0x00000000

Definition at line 10 of file accctrl.h.

◆ ACTRL_STD_RIGHTS_ALL

#define ACTRL_STD_RIGHTS_ALL   0xf8000000

Definition at line 22 of file accctrl.h.

◆ ACTRL_SVC_GET_INFO

#define ACTRL_SVC_GET_INFO   0x00000001

Definition at line 63 of file accctrl.h.

◆ ACTRL_SVC_INTERROGATE

#define ACTRL_SVC_INTERROGATE   0x00000080

Definition at line 70 of file accctrl.h.

◆ ACTRL_SVC_LIST

#define ACTRL_SVC_LIST   0x00000008

Definition at line 66 of file accctrl.h.

◆ ACTRL_SVC_PAUSE

#define ACTRL_SVC_PAUSE   0x00000040

Definition at line 69 of file accctrl.h.

◆ ACTRL_SVC_SET_INFO

#define ACTRL_SVC_SET_INFO   0x00000002

Definition at line 64 of file accctrl.h.

◆ ACTRL_SVC_START

#define ACTRL_SVC_START   0x00000010

Definition at line 67 of file accctrl.h.

◆ ACTRL_SVC_STATUS

#define ACTRL_SVC_STATUS   0x00000004

Definition at line 65 of file accctrl.h.

◆ ACTRL_SVC_STOP

#define ACTRL_SVC_STOP   0x00000020

Definition at line 68 of file accctrl.h.

◆ ACTRL_SVC_UCONTROL

#define ACTRL_SVC_UCONTROL   0x00000100

Definition at line 71 of file accctrl.h.

◆ ACTRL_SYNCHRONIZE

#define ACTRL_SYNCHRONIZE   0x80000000

Definition at line 21 of file accctrl.h.

◆ ACTRL_SYSTEM_ACCESS

#define ACTRL_SYSTEM_ACCESS   0x04000000

Definition at line 16 of file accctrl.h.

◆ ACTRL_WIN_CLIPBRD

#define ACTRL_WIN_CLIPBRD   0x00000001

Definition at line 80 of file accctrl.h.

◆ ACTRL_WIN_CREATE

#define ACTRL_WIN_CREATE   0x00000004

Definition at line 82 of file accctrl.h.

◆ ACTRL_WIN_EXIT

#define ACTRL_WIN_EXIT   0x00000100

Definition at line 88 of file accctrl.h.

◆ ACTRL_WIN_GLOBAL_ATOMS

#define ACTRL_WIN_GLOBAL_ATOMS   0x00000002

Definition at line 81 of file accctrl.h.

◆ ACTRL_WIN_LIST

#define ACTRL_WIN_LIST   0x00000010

Definition at line 84 of file accctrl.h.

◆ ACTRL_WIN_LIST_DESK

#define ACTRL_WIN_LIST_DESK   0x00000008

Definition at line 83 of file accctrl.h.

◆ ACTRL_WIN_READ_ATTRIBS

#define ACTRL_WIN_READ_ATTRIBS   0x00000020

Definition at line 85 of file accctrl.h.

◆ ACTRL_WIN_SCREEN

#define ACTRL_WIN_SCREEN   0x00000080

Definition at line 87 of file accctrl.h.

◆ ACTRL_WIN_WRITE_ATTRIBS

#define ACTRL_WIN_WRITE_ATTRIBS   0x00000040

Definition at line 86 of file accctrl.h.

◆ INHERIT_NO_PROPAGATE

#define INHERIT_NO_PROPAGATE   0x4

Definition at line 107 of file accctrl.h.

◆ INHERIT_ONLY

#define INHERIT_ONLY   0x8

Definition at line 108 of file accctrl.h.

◆ INHERITED_ACCESS_ENTRY

#define INHERITED_ACCESS_ENTRY   0x10

Definition at line 109 of file accctrl.h.

◆ INHERITED_GRANDPARENT

#define INHERITED_GRANDPARENT   0x20000000

Definition at line 111 of file accctrl.h.

◆ INHERITED_PARENT

#define INHERITED_PARENT   0x10000000

Definition at line 110 of file accctrl.h.

◆ NO_INHERITANCE

◆ SI_ACCESS_CONTAINER

#define SI_ACCESS_CONTAINER   0x00040000

Definition at line 140 of file accctrl.h.

Referenced by SecurityPageProc().

◆ SI_ACCESS_GENERAL

#define SI_ACCESS_GENERAL   0x00020000

Definition at line 139 of file accctrl.h.

Referenced by SecurityPageProc().

◆ SI_ACCESS_PROPERTY

#define SI_ACCESS_PROPERTY   0x00080000

Definition at line 141 of file accctrl.h.

◆ SI_ACCESS_SPECIFIC

#define SI_ACCESS_SPECIFIC   0x00010000

Definition at line 138 of file accctrl.h.

Referenced by LoadPermissionsList().

◆ SI_ADVANCED

#define SI_ADVANCED   0x00000010

Definition at line 118 of file accctrl.h.

Referenced by RegKeyEditPermissions(), ResizeControls(), and SecurityPageProc().

◆ SI_CONTAINER

◆ SI_EDIT_ALL

Definition at line 136 of file accctrl.h.

Referenced by RegKeyEditPermissions().

◆ SI_EDIT_AUDITS

#define SI_EDIT_AUDITS   0x00000002

Definition at line 115 of file accctrl.h.

◆ SI_EDIT_EFFECTIVE

#define SI_EDIT_EFFECTIVE   0x00020000

Definition at line 130 of file accctrl.h.

Referenced by RegKeyEditPermissions().

◆ SI_EDIT_OWNER

#define SI_EDIT_OWNER   0x00000001

Definition at line 114 of file accctrl.h.

◆ SI_EDIT_PERMS

#define SI_EDIT_PERMS   0x00000000

Definition at line 113 of file accctrl.h.

Referenced by RegKeyEditPermissions(), and SecurityPageProc().

◆ SI_EDIT_PROPERTIES

#define SI_EDIT_PROPERTIES   0x00000080

Definition at line 121 of file accctrl.h.

◆ SI_MAY_WRITE

#define SI_MAY_WRITE   0x10000000

Definition at line 135 of file accctrl.h.

◆ SI_NO_ACL_PROTECT

#define SI_NO_ACL_PROTECT   0x00000200

Definition at line 123 of file accctrl.h.

◆ SI_NO_ADDITIONAL_PERMISSION

#define SI_NO_ADDITIONAL_PERMISSION   0x00200000

Definition at line 134 of file accctrl.h.

◆ SI_NO_TREE_APPLY

#define SI_NO_TREE_APPLY   0x00000400

Definition at line 124 of file accctrl.h.

◆ SI_OBJECT_GUID

#define SI_OBJECT_GUID   0x00010000

Definition at line 129 of file accctrl.h.

◆ SI_OWNER_READONLY

#define SI_OWNER_READONLY   0x00000040

Definition at line 120 of file accctrl.h.

◆ SI_OWNER_RECURSE

#define SI_OWNER_RECURSE   0x00000100

Definition at line 122 of file accctrl.h.

Referenced by RegKeyEditPermissions().

◆ SI_PAGE_TITLE

#define SI_PAGE_TITLE   0x00000800

Definition at line 125 of file accctrl.h.

Referenced by CreateSecurityPage().

◆ SI_READONLY

#define SI_READONLY   0x00000008

Definition at line 117 of file accctrl.h.

◆ SI_RESET

#define SI_RESET   0x00000020

Definition at line 119 of file accctrl.h.

◆ SI_RESET_DACL

#define SI_RESET_DACL   0x00040000

Definition at line 131 of file accctrl.h.

◆ SI_RESET_DACL_TREE

#define SI_RESET_DACL_TREE   0x00004000

Definition at line 127 of file accctrl.h.

Referenced by RegKeyEditPermissions().

◆ SI_RESET_OWNER

#define SI_RESET_OWNER   0x00100000

Definition at line 133 of file accctrl.h.

◆ SI_RESET_SACL

#define SI_RESET_SACL   0x00080000

Definition at line 132 of file accctrl.h.

◆ SI_RESET_SACL_TREE

#define SI_RESET_SACL_TREE   0x00008000

Definition at line 128 of file accctrl.h.

Referenced by RegKeyEditPermissions().

◆ SI_SERVER_IS_DC

#define SI_SERVER_IS_DC   0x00001000

Definition at line 126 of file accctrl.h.

Referenced by CreateSecurityPage(), and InitializeObjectPicker().

◆ SUB_CONTAINERS_AND_OBJECTS_INHERIT

#define SUB_CONTAINERS_AND_OBJECTS_INHERIT   0x3

Definition at line 106 of file accctrl.h.

Referenced by test_reg_create_key(), and test_reg_open_key().

◆ SUB_CONTAINERS_ONLY_INHERIT

#define SUB_CONTAINERS_ONLY_INHERIT   0x2

Definition at line 105 of file accctrl.h.

◆ SUB_OBJECTS_ONLY_INHERIT

#define SUB_OBJECTS_ONLY_INHERIT   0x1

Definition at line 104 of file accctrl.h.

◆ TRUSTEE_ACCESS_ALL

#define TRUSTEE_ACCESS_ALL   0xFFFFFFFFL

Definition at line 101 of file accctrl.h.

◆ TRUSTEE_ACCESS_ALLOWED

#define TRUSTEE_ACCESS_ALLOWED   0x00000001L

Definition at line 96 of file accctrl.h.

◆ TRUSTEE_ACCESS_EXPLICIT

#define TRUSTEE_ACCESS_EXPLICIT   0x00000001L

Definition at line 99 of file accctrl.h.

◆ TRUSTEE_ACCESS_READ

#define TRUSTEE_ACCESS_READ   0x00000002L

Definition at line 97 of file accctrl.h.

◆ TRUSTEE_ACCESS_READ_WRITE

#define TRUSTEE_ACCESS_READ_WRITE   (TRUSTEE_ACCESS_READ | TRUSTEE_ACCESS_WRITE)

Definition at line 100 of file accctrl.h.

◆ TRUSTEE_ACCESS_WRITE

#define TRUSTEE_ACCESS_WRITE   0x00000004L

Definition at line 98 of file accctrl.h.

Typedef Documentation

◆ ACCESS_MODE

◆ ACCESS_RIGHTS

Definition at line 144 of file accctrl.h.

◆ ACTRL_ACCESS

Definition at line 468 of file accctrl.h.

◆ ACTRL_ACCESS_ENTRY

Definition at line 471 of file accctrl.h.

◆ ACTRL_ACCESS_ENTRY_LIST

Definition at line 469 of file accctrl.h.

◆ ACTRL_ACCESS_ENTRY_LISTA

◆ ACTRL_ACCESS_ENTRY_LISTW

◆ ACTRL_ACCESS_ENTRYA

◆ ACTRL_ACCESS_ENTRYW

◆ ACTRL_ACCESS_INFO

Definition at line 470 of file accctrl.h.

◆ ACTRL_ACCESS_INFOA

◆ ACTRL_ACCESS_INFOW

◆ ACTRL_ACCESSA

◆ ACTRL_ACCESSW

◆ ACTRL_AUDIT

Definition at line 472 of file accctrl.h.

◆ ACTRL_AUDITA

◆ ACTRL_AUDITW

◆ ACTRL_CONTROL_INFO

Definition at line 473 of file accctrl.h.

◆ ACTRL_CONTROL_INFOA

◆ ACTRL_CONTROL_INFOW

◆ ACTRL_OVERLAPPED

◆ ACTRL_PROPERTY_ENTRYA

◆ ACTRL_PROPERTY_ENTRYW

◆ EXPLICIT_ACCESS

Definition at line 475 of file accctrl.h.

◆ EXPLICIT_ACCESS_

Definition at line 474 of file accctrl.h.

◆ EXPLICIT_ACCESS_A

◆ EXPLICIT_ACCESS_W

◆ EXPLICIT_ACCESSA

◆ EXPLICIT_ACCESSW

◆ FN_OBJECT_MGR_FUNCTS

◆ FN_PROGRESSA

typedef VOID(WINAPI * FN_PROGRESSA) (LPSTR pObjectName, DWORD Status, PPROG_INVOKE_SETTING pInvokeSetting, PVOID Args, BOOL SecuritySet)

Definition at line 438 of file accctrl.h.

◆ FN_PROGRESSW

typedef VOID(WINAPI * FN_PROGRESSW) (LPWSTR pObjectName, DWORD Status, PPROG_INVOKE_SETTING pInvokeSetting, PVOID Args, BOOL SecuritySet)

Definition at line 433 of file accctrl.h.

◆ INHERIT_FLAGS

Definition at line 143 of file accctrl.h.

◆ MULTIPLE_TRUSTEE_OPERATION

◆ OBJECTS_AND_NAME_

Definition at line 477 of file accctrl.h.

◆ OBJECTS_AND_NAME_A

◆ OBJECTS_AND_NAME_W

◆ OBJECTS_AND_SID

◆ PACCESS_RIGHTS

typedef ULONG * PACCESS_RIGHTS

Definition at line 144 of file accctrl.h.

◆ PACTRL_ACCESS

Definition at line 468 of file accctrl.h.

◆ PACTRL_ACCESS_ENTRY

Definition at line 471 of file accctrl.h.

◆ PACTRL_ACCESS_ENTRY_LIST

Definition at line 469 of file accctrl.h.

◆ PACTRL_ACCESS_ENTRY_LISTA

◆ PACTRL_ACCESS_ENTRY_LISTW

◆ PACTRL_ACCESS_ENTRYA

◆ PACTRL_ACCESS_ENTRYW

◆ PACTRL_ACCESS_INFO

Definition at line 470 of file accctrl.h.

◆ PACTRL_ACCESS_INFOA

◆ PACTRL_ACCESS_INFOW

◆ PACTRL_ACCESSA

◆ PACTRL_ACCESSW

◆ PACTRL_AUDIT

Definition at line 472 of file accctrl.h.

◆ PACTRL_AUDITA

◆ PACTRL_AUDITW

◆ PACTRL_CONTROL_INFO

Definition at line 473 of file accctrl.h.

◆ PACTRL_CONTROL_INFOA

◆ PACTRL_CONTROL_INFOW

◆ PACTRL_OVERLAPPED

◆ PACTRL_PROPERTY_ENTRYA

◆ PACTRL_PROPERTY_ENTRYW

◆ PEXPLICIT_ACCESS

Definition at line 475 of file accctrl.h.

◆ PEXPLICIT_ACCESS_

Definition at line 474 of file accctrl.h.

◆ PEXPLICIT_ACCESS_A

◆ PEXPLICIT_ACCESS_W

◆ PEXPLICIT_ACCESSA

◆ PEXPLICIT_ACCESSW

◆ PFN_OBJECT_MGR_FUNCTS

◆ PINHERIT_FLAGS

typedef ULONG * PINHERIT_FLAGS

Definition at line 143 of file accctrl.h.

◆ POBJECTS_AND_NAME_

Definition at line 477 of file accctrl.h.

◆ POBJECTS_AND_NAME_A

◆ POBJECTS_AND_NAME_W

◆ POBJECTS_AND_SID

◆ PPROG_INVOKE_SETTING

◆ PROG_INVOKE_SETTING

◆ PSI_ACCESS

◆ PSI_INHERIT_TYPE

◆ PSI_OBJECT_INFO

◆ PTRUSTEE

typedef TRUSTEEA * PTRUSTEE

Definition at line 467 of file accctrl.h.

◆ PTRUSTEE_

typedef TRUSTEE_A * PTRUSTEE_

Definition at line 466 of file accctrl.h.

◆ PTRUSTEE_A

◆ PTRUSTEE_ACCESS

Definition at line 476 of file accctrl.h.

◆ PTRUSTEE_ACCESSA

◆ PTRUSTEE_ACCESSW

◆ PTRUSTEE_W

◆ PTRUSTEEA

◆ PTRUSTEEW

◆ SE_OBJECT_TYPE

Definition at line 104 of file security.c.

◆ SI_ACCESS

◆ SI_INHERIT_TYPE

◆ SI_OBJECT_INFO

◆ SI_PAGE_TYPE

◆ TRUSTEE

typedef TRUSTEEA TRUSTEE

Definition at line 467 of file accctrl.h.

◆ TRUSTEE_

Definition at line 466 of file accctrl.h.

◆ TRUSTEE_A

◆ TRUSTEE_ACCESS

Definition at line 476 of file accctrl.h.

◆ TRUSTEE_ACCESSA

◆ TRUSTEE_ACCESSW

◆ TRUSTEE_FORM

◆ TRUSTEE_TYPE

◆ TRUSTEE_W

◆ TRUSTEEA

◆ TRUSTEEW

Enumeration Type Documentation

◆ _ACCESS_MODE

Enumerator
NOT_USED_ACCESS 
GRANT_ACCESS 
SET_ACCESS 
DENY_ACCESS 
REVOKE_ACCESS 
SET_AUDIT_SUCCESS 
SET_AUDIT_FAILURE 

Definition at line 146 of file accctrl.h.

◆ _MULTIPLE_TRUSTEE_OPERATION

Enumerator
NO_MULTIPLE_TRUSTEE 
TRUSTEE_IS_IMPERSONATE 

Definition at line 196 of file accctrl.h.

197 {
enum _MULTIPLE_TRUSTEE_OPERATION MULTIPLE_TRUSTEE_OPERATION

◆ _PROG_INVOKE_SETTING

Enumerator
ProgressInvokeNever 
ProgressInvokeEveryObject 
ProgressInvokeOnError 
ProgressCancelOperation 
ProgressRetryOperation 

Definition at line 424 of file accctrl.h.

◆ _SE_OBJECT_TYPE

Enumerator
SE_UNKNOWN_OBJECT_TYPE 
SE_FILE_OBJECT 
SE_SERVICE 
SE_PRINTER 
SE_REGISTRY_KEY 
SE_LMSHARE 
SE_KERNEL_OBJECT 
SE_WINDOW_OBJECT 
SE_DS_OBJECT 
SE_DS_OBJECT_ALL 
SE_PROVIDER_DEFINED_OBJECT 
SE_WMIGUID_OBJECT 
SE_REGISTRY_WOW64_32KEY 

Definition at line 157 of file accctrl.h.

◆ _SI_PAGE_TYPE

Enumerator
SI_PAGE_PERM 
SI_PAGE_ADVPERM 
SI_PAGE_AUDIT 
SI_PAGE_OWNER 

Definition at line 411 of file accctrl.h.

412 {
413  SI_PAGE_PERM = 0,
417 } SI_PAGE_TYPE;
enum _SI_PAGE_TYPE SI_PAGE_TYPE

◆ _TRUSTEE_FORM

Enumerator
TRUSTEE_IS_SID 
TRUSTEE_IS_NAME 
TRUSTEE_BAD_FORM 
TRUSTEE_IS_OBJECTS_AND_SID 
TRUSTEE_IS_OBJECTS_AND_NAME 

Definition at line 187 of file accctrl.h.

◆ _TRUSTEE_TYPE

Enumerator
TRUSTEE_IS_UNKNOWN 
TRUSTEE_IS_USER 
TRUSTEE_IS_GROUP 
TRUSTEE_IS_DOMAIN 
TRUSTEE_IS_ALIAS 
TRUSTEE_IS_WELL_KNOWN_GROUP 
TRUSTEE_IS_DELETED 
TRUSTEE_IS_INVALID 
TRUSTEE_IS_COMPUTER 

Definition at line 174 of file accctrl.h.