mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:16:18 +00:00
[NTOS:SE] Add a documentation note about SeTokenIsWriteRestricted() and SeTokenIsAdmin(), and update the one for NtDuplicateToken().
[XDK] Move TOKEN_HAS_ADMIN_GROUP where appropriate.
This commit is contained in:
parent
f61694cfbb
commit
9594022ce1
3 changed files with 10 additions and 5 deletions
|
@ -1360,8 +1360,6 @@ typedef struct _QUERY_PATH_RESPONSE {
|
|||
|
||||
/* end winnt.h */
|
||||
|
||||
#define TOKEN_HAS_ADMIN_GROUP 0x08
|
||||
|
||||
#if (VER_PRODUCTBUILD >= 1381)
|
||||
#define FSCTL_GET_HFS_INFORMATION CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 31, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif /* (VER_PRODUCTBUILD >= 1381) */
|
||||
|
|
|
@ -1125,6 +1125,7 @@ typedef struct _TOKEN_ACCESS_INFORMATION {
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue