mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 20:44:00 +00:00
* Create a branch for USB experiments.
svn path=/branches/usb-experiments/; revision=72629
This commit is contained in:
parent
28d8ba0d3e
commit
0ee830d7a4
23049 changed files with 0 additions and 1313991 deletions
80
sdk/include/psdk/ntlsa.h
Normal file
80
sdk/include/psdk/ntlsa.h
Normal file
|
@ -0,0 +1,80 @@
|
|||
/*
|
||||
* ntlsa.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Eric Kohl.
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _NTLSA_
|
||||
#define _NTLSA_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ACCOUNT_VIEW 1
|
||||
#define ACCOUNT_ADJUST_PRIVILEGES 2
|
||||
#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
|
||||
#define SECURITY_ACCESS_BATCH_LOGON 0x00000004
|
||||
#define SECURITY_ACCESS_SERVICE_LOGON 0x00000010
|
||||
#define SECURITY_ACCESS_PROXY_LOGON 0x00000020
|
||||
#define SECURITY_ACCESS_DENY_INTERACTIVE_LOGON 0x00000040
|
||||
#define SECURITY_ACCESS_DENY_NETWORK_LOGON 0x00000080
|
||||
#define SECURITY_ACCESS_DENY_BATCH_LOGON 0x00000100
|
||||
#define SECURITY_ACCESS_DENY_SERVICE_LOGON 0x00000200
|
||||
#define SECURITY_ACCESS_REMOTE_INTERACTIVE_LOGON 0x00000400
|
||||
#define SECURITY_ACCESS_DENY_REMOTE_INTERACTIVE_LOGON 0x00000800
|
||||
|
||||
#ifdef _NTIFS_INCLUDED_ // HACK to avoid redefinition from ntsecapi.h
|
||||
typedef enum _POLICY_AUDIT_EVENT_TYPE
|
||||
{
|
||||
AuditCategorySystem,
|
||||
AuditCategoryLogon,
|
||||
AuditCategoryObjectAccess,
|
||||
AuditCategoryPrivilegeUse,
|
||||
AuditCategoryDetailedTracking,
|
||||
AuditCategoryPolicyChange,
|
||||
AuditCategoryAccountManagement,
|
||||
AuditCategoryDirectoryServiceAccess,
|
||||
AuditCategoryAccountLogon
|
||||
} POLICY_AUDIT_EVENT_TYPE, *PPOLICY_AUDIT_EVENT_TYPE;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _NTLSA_ */
|
Loading…
Add table
Add a link
Reference in a new issue