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