ReactOS  0.4.11-dev-433-g473ca91
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_ENTRYA
PACTRL_ACCESS_ENTRYA
 
typedef struct _ACTRL_ACCESS_ENTRYW ACTRL_ACCESS_ENTRYW
 
typedef struct
_ACTRL_ACCESS_ENTRYW
PACTRL_ACCESS_ENTRYW
 
typedef struct
_ACTRL_ACCESS_ENTRY_LISTA 
ACTRL_ACCESS_ENTRY_LISTA
 
typedef struct
_ACTRL_ACCESS_ENTRY_LISTA
PACTRL_ACCESS_ENTRY_LISTA
 
typedef struct
_ACTRL_ACCESS_ENTRY_LISTW 
ACTRL_ACCESS_ENTRY_LISTW
 
typedef struct
_ACTRL_ACCESS_ENTRY_LISTW
PACTRL_ACCESS_ENTRY_LISTW
 
typedef struct
_ACTRL_PROPERTY_ENTRYA 
ACTRL_PROPERTY_ENTRYA
 
typedef struct
_ACTRL_PROPERTY_ENTRYA
PACTRL_PROPERTY_ENTRYA
 
typedef struct
_ACTRL_PROPERTY_ENTRYW 
ACTRL_PROPERTY_ENTRYW
 
typedef struct
_ACTRL_PROPERTY_ENTRYW
PACTRL_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_INFOA
PACTRL_ACCESS_INFOA
 
typedef struct _ACTRL_ACCESS_INFOW ACTRL_ACCESS_INFOW
 
typedef struct
_ACTRL_ACCESS_INFOW
PACTRL_ACCESS_INFOW
 
typedef struct _ACTRL_CONTROL_INFOA ACTRL_CONTROL_INFOA
 
typedef struct
_ACTRL_CONTROL_INFOA
PACTRL_CONTROL_INFOA
 
typedef struct _ACTRL_CONTROL_INFOW ACTRL_CONTROL_INFOW
 
typedef struct
_ACTRL_CONTROL_INFOW
PACTRL_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_A
POBJECTS_AND_NAME_A
 
typedef struct _OBJECTS_AND_NAME_W OBJECTS_AND_NAME_W
 
typedef struct
_OBJECTS_AND_NAME_W
POBJECTS_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_FUNCTIONS
PFN_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

#define ACCCTRL_DEFAULT_PROVIDER   ACCCTRL_DEFAULT_PROVIDERA

Definition at line 465 of file accctrl.h.

#define ACCCTRL_DEFAULT_PROVIDERA   "Windows NT Access Provider"

Definition at line 93 of file accctrl.h.

#define ACCCTRL_DEFAULT_PROVIDERW   L"Windows NT Access Provider"

Definition at line 94 of file accctrl.h.

#define AccFree   LocalFree

Definition at line 8 of file accctrl.h.

#define ACTRL_ACCESS_ALLOWED   0x00000001

Definition at line 12 of file accctrl.h.

#define ACTRL_ACCESS_DENIED   0x00000002

Definition at line 13 of file accctrl.h.

#define ACTRL_ACCESS_NO_OPTIONS   0x00000000

Definition at line 90 of file accctrl.h.

#define ACTRL_ACCESS_PROTECTED   0x00000001

Definition at line 11 of file accctrl.h.

#define ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES   0x00000001

Definition at line 91 of file accctrl.h.

#define ACTRL_AUDIT_FAILURE   0x00000008

Definition at line 15 of file accctrl.h.

#define ACTRL_AUDIT_SUCCESS   0x00000004

Definition at line 14 of file accctrl.h.

#define ACTRL_CHANGE_ACCESS   0x20000000

Definition at line 19 of file accctrl.h.

#define ACTRL_CHANGE_OWNER   0x40000000

Definition at line 20 of file accctrl.h.

#define ACTRL_DELETE   0x08000000

Definition at line 17 of file accctrl.h.

#define ACTRL_DIR_CREATE_CHILD   0x00000004

Definition at line 36 of file accctrl.h.

#define ACTRL_DIR_CREATE_OBJECT   0x00000002

Definition at line 35 of file accctrl.h.

#define ACTRL_DIR_DELETE_CHILD   0x00000040

Definition at line 37 of file accctrl.h.

#define ACTRL_DIR_LIST   0x00000001

Definition at line 34 of file accctrl.h.

#define ACTRL_DIR_TRAVERSE   0x00000020

Definition at line 38 of file accctrl.h.

#define ACTRL_FILE_APPEND   0x00000004

Definition at line 26 of file accctrl.h.

#define ACTRL_FILE_CREATE_PIPE   0x00000200

Definition at line 32 of file accctrl.h.

#define ACTRL_FILE_EXECUTE   0x00000020

Definition at line 29 of file accctrl.h.

#define ACTRL_FILE_READ   0x00000001

Definition at line 24 of file accctrl.h.

#define ACTRL_FILE_READ_ATTRIB   0x00000080

Definition at line 30 of file accctrl.h.

#define ACTRL_FILE_READ_PROP   0x00000008

Definition at line 27 of file accctrl.h.

#define ACTRL_FILE_WRITE   0x00000002

Definition at line 25 of file accctrl.h.

#define ACTRL_FILE_WRITE_ATTRIB   0x00000100

Definition at line 31 of file accctrl.h.

#define ACTRL_FILE_WRITE_PROP   0x00000010

Definition at line 28 of file accctrl.h.

#define ACTRL_KERNEL_ALERT   0x00000400

Definition at line 50 of file accctrl.h.

#define ACTRL_KERNEL_CONTROL   0x00000200

Definition at line 49 of file accctrl.h.

#define ACTRL_KERNEL_DIMPERSONATE   0x00008000

Definition at line 55 of file accctrl.h.

#define ACTRL_KERNEL_DUP_HANDLE   0x00000020

Definition at line 45 of file accctrl.h.

#define ACTRL_KERNEL_GET_CONTEXT   0x00000800

Definition at line 51 of file accctrl.h.

#define ACTRL_KERNEL_GET_INFO   0x00000100

Definition at line 48 of file accctrl.h.

#define ACTRL_KERNEL_IMPERSONATE   0x00004000

Definition at line 54 of file accctrl.h.

#define ACTRL_KERNEL_PROCESS   0x00000040

Definition at line 46 of file accctrl.h.

#define ACTRL_KERNEL_SET_CONTEXT   0x00001000

Definition at line 52 of file accctrl.h.

#define ACTRL_KERNEL_SET_INFO   0x00000080

Definition at line 47 of file accctrl.h.

#define ACTRL_KERNEL_TERMINATE   0x00000001

Definition at line 40 of file accctrl.h.

#define ACTRL_KERNEL_THREAD   0x00000002

Definition at line 41 of file accctrl.h.

#define ACTRL_KERNEL_TOKEN   0x00002000

Definition at line 53 of file accctrl.h.

#define ACTRL_KERNEL_VM   0x00000004

Definition at line 42 of file accctrl.h.

#define ACTRL_KERNEL_VM_READ   0x00000008

Definition at line 43 of file accctrl.h.

#define ACTRL_KERNEL_VM_WRITE   0x00000010

Definition at line 44 of file accctrl.h.

#define ACTRL_PRINT_JADMIN   0x00000010

Definition at line 61 of file accctrl.h.

#define ACTRL_PRINT_PADMIN   0x00000004

Definition at line 59 of file accctrl.h.

#define ACTRL_PRINT_PUSE   0x00000008

Definition at line 60 of file accctrl.h.

#define ACTRL_PRINT_SADMIN   0x00000001

Definition at line 57 of file accctrl.h.

#define ACTRL_PRINT_SLIST   0x00000002

Definition at line 58 of file accctrl.h.

#define ACTRL_READ_CONTROL   0x10000000

Definition at line 18 of file accctrl.h.

#define ACTRL_REG_CREATE_CHILD   0x00000004

Definition at line 75 of file accctrl.h.

#define ACTRL_REG_LINK   0x00000020

Definition at line 78 of file accctrl.h.

#define ACTRL_REG_LIST   0x00000008

Definition at line 76 of file accctrl.h.

#define ACTRL_REG_NOTIFY   0x00000010

Definition at line 77 of file accctrl.h.

#define ACTRL_REG_QUERY   0x00000001

Definition at line 73 of file accctrl.h.

#define ACTRL_REG_SET   0x00000002

Definition at line 74 of file accctrl.h.

#define ACTRL_RESERVED   0x00000000

Definition at line 10 of file accctrl.h.

#define ACTRL_STD_RIGHTS_ALL   0xf8000000

Definition at line 22 of file accctrl.h.

#define ACTRL_SVC_GET_INFO   0x00000001

Definition at line 63 of file accctrl.h.

#define ACTRL_SVC_INTERROGATE   0x00000080

Definition at line 70 of file accctrl.h.

#define ACTRL_SVC_LIST   0x00000008

Definition at line 66 of file accctrl.h.

#define ACTRL_SVC_PAUSE   0x00000040

Definition at line 69 of file accctrl.h.

#define ACTRL_SVC_SET_INFO   0x00000002

Definition at line 64 of file accctrl.h.

#define ACTRL_SVC_START   0x00000010

Definition at line 67 of file accctrl.h.

#define ACTRL_SVC_STATUS   0x00000004

Definition at line 65 of file accctrl.h.

#define ACTRL_SVC_STOP   0x00000020

Definition at line 68 of file accctrl.h.

#define ACTRL_SVC_UCONTROL   0x00000100

Definition at line 71 of file accctrl.h.

#define ACTRL_SYNCHRONIZE   0x80000000

Definition at line 21 of file accctrl.h.

#define ACTRL_SYSTEM_ACCESS   0x04000000

Definition at line 16 of file accctrl.h.

#define ACTRL_WIN_CLIPBRD   0x00000001

Definition at line 80 of file accctrl.h.

#define ACTRL_WIN_CREATE   0x00000004

Definition at line 82 of file accctrl.h.

#define ACTRL_WIN_EXIT   0x00000100

Definition at line 88 of file accctrl.h.

#define ACTRL_WIN_GLOBAL_ATOMS   0x00000002

Definition at line 81 of file accctrl.h.

#define ACTRL_WIN_LIST   0x00000010

Definition at line 84 of file accctrl.h.

#define ACTRL_WIN_LIST_DESK   0x00000008

Definition at line 83 of file accctrl.h.

#define ACTRL_WIN_READ_ATTRIBS   0x00000020

Definition at line 85 of file accctrl.h.

#define ACTRL_WIN_SCREEN   0x00000080

Definition at line 87 of file accctrl.h.

#define ACTRL_WIN_WRITE_ATTRIBS   0x00000040

Definition at line 86 of file accctrl.h.

#define INHERIT_NO_PROPAGATE   0x4

Definition at line 107 of file accctrl.h.

#define INHERIT_ONLY   0x8

Definition at line 108 of file accctrl.h.

#define INHERITED_ACCESS_ENTRY   0x10

Definition at line 109 of file accctrl.h.

#define INHERITED_GRANDPARENT   0x20000000

Definition at line 111 of file accctrl.h.

#define INHERITED_PARENT   0x10000000

Definition at line 110 of file accctrl.h.

#define SI_ACCESS_CONTAINER   0x00040000

Definition at line 140 of file accctrl.h.

Referenced by SecurityPageProc().

#define SI_ACCESS_GENERAL   0x00020000

Definition at line 139 of file accctrl.h.

Referenced by SecurityPageProc().

#define SI_ACCESS_PROPERTY   0x00080000

Definition at line 141 of file accctrl.h.

#define SI_ACCESS_SPECIFIC   0x00010000

Definition at line 138 of file accctrl.h.

Referenced by LoadPermissionsList().

#define SI_ADVANCED   0x00000010

Definition at line 118 of file accctrl.h.

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

Definition at line 136 of file accctrl.h.

Referenced by RegKeyEditPermissions().

#define SI_EDIT_AUDITS   0x00000002

Definition at line 115 of file accctrl.h.

#define SI_EDIT_EFFECTIVE   0x00020000

Definition at line 130 of file accctrl.h.

Referenced by RegKeyEditPermissions().

#define SI_EDIT_OWNER   0x00000001

Definition at line 114 of file accctrl.h.

#define SI_EDIT_PERMS   0x00000000

Definition at line 113 of file accctrl.h.

Referenced by RegKeyEditPermissions(), and SecurityPageProc().

#define SI_EDIT_PROPERTIES   0x00000080

Definition at line 121 of file accctrl.h.

#define SI_MAY_WRITE   0x10000000

Definition at line 135 of file accctrl.h.

#define SI_NO_ACL_PROTECT   0x00000200

Definition at line 123 of file accctrl.h.

#define SI_NO_ADDITIONAL_PERMISSION   0x00200000

Definition at line 134 of file accctrl.h.

#define SI_NO_TREE_APPLY   0x00000400

Definition at line 124 of file accctrl.h.

#define SI_OBJECT_GUID   0x00010000

Definition at line 129 of file accctrl.h.

#define SI_OWNER_READONLY   0x00000040

Definition at line 120 of file accctrl.h.

#define SI_OWNER_RECURSE   0x00000100

Definition at line 122 of file accctrl.h.

Referenced by RegKeyEditPermissions().

#define SI_PAGE_TITLE   0x00000800

Definition at line 125 of file accctrl.h.

Referenced by CreateSecurityPage().

#define SI_READONLY   0x00000008

Definition at line 117 of file accctrl.h.

#define SI_RESET   0x00000020

Definition at line 119 of file accctrl.h.

#define SI_RESET_DACL   0x00040000

Definition at line 131 of file accctrl.h.

#define SI_RESET_DACL_TREE   0x00004000

Definition at line 127 of file accctrl.h.

Referenced by RegKeyEditPermissions().

#define SI_RESET_OWNER   0x00100000

Definition at line 133 of file accctrl.h.

#define SI_RESET_SACL   0x00080000

Definition at line 132 of file accctrl.h.

#define SI_RESET_SACL_TREE   0x00008000

Definition at line 128 of file accctrl.h.

Referenced by RegKeyEditPermissions().

#define SI_SERVER_IS_DC   0x00001000

Definition at line 126 of file accctrl.h.

Referenced by CreateSecurityPage(), and InitializeObjectPicker().

#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().

#define SUB_CONTAINERS_ONLY_INHERIT   0x2

Definition at line 105 of file accctrl.h.

#define SUB_OBJECTS_ONLY_INHERIT   0x1

Definition at line 104 of file accctrl.h.

#define TRUSTEE_ACCESS_ALL   0xFFFFFFFFL

Definition at line 101 of file accctrl.h.

#define TRUSTEE_ACCESS_ALLOWED   0x00000001L

Definition at line 96 of file accctrl.h.

#define TRUSTEE_ACCESS_EXPLICIT   0x00000001L

Definition at line 99 of file accctrl.h.

#define TRUSTEE_ACCESS_READ   0x00000002L

Definition at line 97 of file accctrl.h.

#define TRUSTEE_ACCESS_READ_WRITE   (TRUSTEE_ACCESS_READ | TRUSTEE_ACCESS_WRITE)

Definition at line 100 of file accctrl.h.

#define TRUSTEE_ACCESS_WRITE   0x00000004L

Definition at line 98 of file accctrl.h.

Typedef Documentation

Definition at line 144 of file accctrl.h.

Definition at line 468 of file accctrl.h.

Definition at line 471 of file accctrl.h.

Definition at line 469 of file accctrl.h.

Definition at line 470 of file accctrl.h.

Definition at line 472 of file accctrl.h.

Definition at line 473 of file accctrl.h.

Definition at line 475 of file accctrl.h.

Definition at line 474 of file accctrl.h.

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.

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.

Definition at line 143 of file accctrl.h.

Definition at line 477 of file accctrl.h.

typedef ULONG * PACCESS_RIGHTS

Definition at line 144 of file accctrl.h.

Definition at line 468 of file accctrl.h.

Definition at line 471 of file accctrl.h.

Definition at line 469 of file accctrl.h.

Definition at line 470 of file accctrl.h.

Definition at line 472 of file accctrl.h.

Definition at line 473 of file accctrl.h.

Definition at line 475 of file accctrl.h.

Definition at line 474 of file accctrl.h.

typedef ULONG * PINHERIT_FLAGS

Definition at line 143 of file accctrl.h.

Definition at line 477 of file accctrl.h.

typedef TRUSTEEA * PTRUSTEE

Definition at line 467 of file accctrl.h.

typedef TRUSTEE_A * PTRUSTEE_

Definition at line 466 of file accctrl.h.

Definition at line 476 of file accctrl.h.

Definition at line 104 of file security.c.

typedef TRUSTEEA TRUSTEE

Definition at line 467 of file accctrl.h.

Definition at line 466 of file accctrl.h.

Definition at line 476 of file accctrl.h.

Enumeration Type Documentation

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.

Enumerator
NO_MULTIPLE_TRUSTEE 
TRUSTEE_IS_IMPERSONATE 

Definition at line 196 of file accctrl.h.

197 {
enum _MULTIPLE_TRUSTEE_OPERATION MULTIPLE_TRUSTEE_OPERATION
Enumerator
ProgressInvokeNever 
ProgressInvokeEveryObject 
ProgressInvokeOnError 
ProgressCancelOperation 
ProgressRetryOperation 

Definition at line 424 of file accctrl.h.

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.

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
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.

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.