Author: ekohl
Date: Mon Nov 19 17:28:36 2012
New Revision: 57736
URL:
http://svn.reactos.org/svn/reactos?rev=57736&view=rev
Log:
[INCLUDE]
Add generic rights for account and secret objects.
Modified:
trunk/reactos/include/psdk/ntlsa.h
Modified: trunk/reactos/include/psdk/ntlsa.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntlsa.h?rev=5…
==============================================================================
--- trunk/reactos/include/psdk/ntlsa.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntlsa.h [iso-8859-1] Mon Nov 19 17:28:36 2012
@@ -30,8 +30,19 @@
#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