1*c2c66affSColin Finck /* 2*c2c66affSColin Finck * ntlsa.h 3*c2c66affSColin Finck * 4*c2c66affSColin Finck * This file is part of the ReactOS PSDK package. 5*c2c66affSColin Finck * 6*c2c66affSColin Finck * Contributors: 7*c2c66affSColin Finck * Created by Eric Kohl. 8*c2c66affSColin Finck * 9*c2c66affSColin Finck * THIS SOFTWARE IS NOT COPYRIGHTED 10*c2c66affSColin Finck * 11*c2c66affSColin Finck * This source code is offered for use in the public domain. You may 12*c2c66affSColin Finck * use, modify or distribute it freely. 13*c2c66affSColin Finck * 14*c2c66affSColin Finck * This code is distributed in the hope that it will be useful but 15*c2c66affSColin Finck * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 16*c2c66affSColin Finck * DISCLAIMED. This includes but is not limited to warranties of 17*c2c66affSColin Finck * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18*c2c66affSColin Finck * 19*c2c66affSColin Finck */ 20*c2c66affSColin Finck 21*c2c66affSColin Finck #ifndef _NTLSA_ 22*c2c66affSColin Finck #define _NTLSA_ 23*c2c66affSColin Finck 24*c2c66affSColin Finck #ifdef __cplusplus 25*c2c66affSColin Finck extern "C" { 26*c2c66affSColin Finck #endif 27*c2c66affSColin Finck 28*c2c66affSColin Finck #define ACCOUNT_VIEW 1 29*c2c66affSColin Finck #define ACCOUNT_ADJUST_PRIVILEGES 2 30*c2c66affSColin Finck #define ACCOUNT_ADJUST_QUOTAS 4 31*c2c66affSColin Finck #define ACCOUNT_ADJUST_SYSTEM_ACCESS 8 32*c2c66affSColin Finck 33*c2c66affSColin Finck #define ACCOUNT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 15) 34*c2c66affSColin Finck #define ACCOUNT_READ (STANDARD_RIGHTS_READ | 1) 35*c2c66affSColin Finck #define ACCOUNT_WRITE (STANDARD_RIGHTS_WRITE | 14) 36*c2c66affSColin Finck #define ACCOUNT_EXECUTE (STANDARD_RIGHTS_EXECUTE) 37*c2c66affSColin Finck 38*c2c66affSColin Finck #define SECRET_SET_VALUE 1 39*c2c66affSColin Finck #define SECRET_QUERY_VALUE 2 40*c2c66affSColin Finck 41*c2c66affSColin Finck #define SECRET_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 3) 42*c2c66affSColin Finck #define SECRET_READ (STANDARD_RIGHTS_READ | 2) 43*c2c66affSColin Finck #define SECRET_WRITE (STANDARD_RIGHTS_WRITE | 1) 44*c2c66affSColin Finck #define SECRET_EXECUTE (STANDARD_RIGHTS_EXECUTE) 45*c2c66affSColin Finck 46*c2c66affSColin Finck 47*c2c66affSColin Finck /* System Access Flags */ 48*c2c66affSColin Finck #define SECURITY_ACCESS_INTERACTIVE_LOGON 0x00000001 49*c2c66affSColin Finck #define SECURITY_ACCESS_NETWORK_LOGON 0x00000002 50*c2c66affSColin Finck #define SECURITY_ACCESS_BATCH_LOGON 0x00000004 51*c2c66affSColin Finck #define SECURITY_ACCESS_SERVICE_LOGON 0x00000010 52*c2c66affSColin Finck #define SECURITY_ACCESS_PROXY_LOGON 0x00000020 53*c2c66affSColin Finck #define SECURITY_ACCESS_DENY_INTERACTIVE_LOGON 0x00000040 54*c2c66affSColin Finck #define SECURITY_ACCESS_DENY_NETWORK_LOGON 0x00000080 55*c2c66affSColin Finck #define SECURITY_ACCESS_DENY_BATCH_LOGON 0x00000100 56*c2c66affSColin Finck #define SECURITY_ACCESS_DENY_SERVICE_LOGON 0x00000200 57*c2c66affSColin Finck #define SECURITY_ACCESS_REMOTE_INTERACTIVE_LOGON 0x00000400 58*c2c66affSColin Finck #define SECURITY_ACCESS_DENY_REMOTE_INTERACTIVE_LOGON 0x00000800 59*c2c66affSColin Finck 60*c2c66affSColin Finck #ifdef _NTIFS_INCLUDED_ // HACK to avoid redefinition from ntsecapi.h 61*c2c66affSColin Finck typedef enum _POLICY_AUDIT_EVENT_TYPE 62*c2c66affSColin Finck { 63*c2c66affSColin Finck AuditCategorySystem, 64*c2c66affSColin Finck AuditCategoryLogon, 65*c2c66affSColin Finck AuditCategoryObjectAccess, 66*c2c66affSColin Finck AuditCategoryPrivilegeUse, 67*c2c66affSColin Finck AuditCategoryDetailedTracking, 68*c2c66affSColin Finck AuditCategoryPolicyChange, 69*c2c66affSColin Finck AuditCategoryAccountManagement, 70*c2c66affSColin Finck AuditCategoryDirectoryServiceAccess, 71*c2c66affSColin Finck AuditCategoryAccountLogon 72*c2c66affSColin Finck } POLICY_AUDIT_EVENT_TYPE, *PPOLICY_AUDIT_EVENT_TYPE; 73*c2c66affSColin Finck #endif 74*c2c66affSColin Finck 75*c2c66affSColin Finck #ifdef __cplusplus 76*c2c66affSColin Finck } 77*c2c66affSColin Finck #endif 78*c2c66affSColin Finck 79*c2c66affSColin Finck 80*c2c66affSColin Finck #endif /* _NTLSA_ */ 81