From 4874b78fd41dd21abfce9559077f887f92cb2e31 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 19 Nov 2012 17:28:36 +0000 Subject: [PATCH] [INCLUDE] Add generic rights for account and secret objects. svn path=/trunk/; revision=57736 --- reactos/include/psdk/ntlsa.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/reactos/include/psdk/ntlsa.h b/reactos/include/psdk/ntlsa.h index 188c696ae28..60c41d6459a 100644 --- a/reactos/include/psdk/ntlsa.h +++ b/reactos/include/psdk/ntlsa.h @@ -30,9 +30,20 @@ extern "C" { #define ACCOUNT_ADJUST_QUOTAS 4 #define ACCOUNT_ADJUST_SYSTEM_ACCESS 8 +#define ACCOUNT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 15) +#define ACCOUNT_READ (STANDARD_RIGHTS_READ | 1) +#define ACCOUNT_WRITE (STANDARD_RIGHTS_WRITE | 14) +#define ACCOUNT_EXECUTE (STANDARD_RIGHTS_EXECUTE) + #define SECRET_SET_VALUE 1 #define SECRET_QUERY_VALUE 2 +#define SECRET_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 3) +#define SECRET_READ (STANDARD_RIGHTS_READ | 2) +#define SECRET_WRITE (STANDARD_RIGHTS_WRITE | 1) +#define SECRET_EXECUTE (STANDARD_RIGHTS_EXECUTE) + + /* System Access Flags */ #define SECURITY_ACCESS_INTERACTIVE_LOGON 0x00000001 #define SECURITY_ACCESS_NETWORK_LOGON 0x00000002