ReactOS  0.4.13-dev-479-gec9c8fd
lsass.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS system libraries
4  * FILE: include/reactos/subsys/lsass/lsass.h
5  * PURPOSE: LSASS API declarations
6  * UPDATE HISTORY:
7  * Created 05/08/00
8  */
9 
10 #ifndef __INCLUDE_LSASS_LSASS_H
11 #define __INCLUDE_LSASS_LSASS_H
12 
13 #include <ntsecapi.h>
14 
15 #define LSASS_MAX_LOGON_PROCESS_NAME_LENGTH 127
16 #define LSASS_MAX_PACKAGE_NAME_LENGTH 127
17 
18 typedef enum _LSA_API_NUMBER
19 {
29 
30 
31 typedef struct _LSA_CONNECTION_INFO
32 {
39 
40 
41 typedef struct _LSA_LOGON_USER_MSG
42 {
43  union
44  {
45  struct
46  {
55  } Request;
56 
57  struct
58  {
65  } Reply;
66  };
68 
69 
71 {
72  union
73  {
74  struct
75  {
79  } Request;
80  struct
81  {
85  } Reply;
86  };
88 
89 
91 {
92  union
93  {
94  struct
95  {
97  } Request;
98  struct
99  {
100  ULONG Dummy;
101  } Reply;
102  };
104 
105 
107 {
108  union
109  {
110  struct
111  {
114  } Request;
115  struct
116  {
118  } Reply;
119  };
121 
122 
124 {
125  union
126  {
127  struct
128  {
130  } Request;
131  struct
132  {
135  } Reply;
136  };
138 
139 
141 {
142  union
143  {
144  struct
145  {
147  } Request;
148  struct
149  {
151  } Reply;
152  };
154 
155 
157 {
158  union
159  {
160  struct
161  {
165  } Request;
166  struct
167  {
169  } Reply;
170  };
172 
173 
174 typedef struct _LSA_API_MSG
175 {
177  union
178  {
180  struct
181  {
184  union
185  {
193  };
194  };
195  };
197 
198 #define LSA_PORT_DATA_SIZE(c) (sizeof(ULONG)+sizeof(NTSTATUS)+sizeof(c))
199 #define LSA_PORT_MESSAGE_SIZE (sizeof(LSA_API_MSG))
200 
201 #endif /* __INCLUDE_LSASS_LSASS_H */
enum _LSA_API_NUMBER LSA_API_NUMBER
ULONG LocalGroupsCount
Definition: lsass.h:53
struct _LSA_CONNECTION_INFO LSA_CONNECTION_INFO
LSA_LOGON_USER_MSG LogonUser
Definition: lsass.h:186
struct _LSA_ENUM_LOGON_SESSIONS_MSG::@3345::@3347 Request
LSA_DEREGISTER_LOGON_PROCESS_MSG DeregisterLogonProcess
Definition: lsass.h:188
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3349::@3351 Request
CHAR PackageName[LSASS_MAX_PACKAGE_NAME_LENGTH+1]
Definition: lsass.h:113
struct _LSA_ENUM_LOGON_SESSIONS_MSG::@3345::@3348 Reply
LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG LookupAuthenticationPackage
Definition: lsass.h:189
HANDLE Token
Definition: lsass.h:62
LSA_GET_LOGON_SESSION_DATA_MSG GetLogonSessionData
Definition: lsass.h:191
struct _LSA_API_MSG LSA_API_MSG
struct _LSA_POLICY_CHANGE_NOTIFY_MSG * PLSA_POLICY_CHANGE_NOTIFY_MSG
struct _LSA_LOGON_USER_MSG::@3329::@3331 Request
char CHAR
Definition: xmlstorage.h:175
LSA_POLICY_CHANGE_NOTIFY_MSG PolicyChangeNotify
Definition: lsass.h:192
LONG NTSTATUS
Definition: precomp.h:26
PTOKEN_GROUPS LocalGroups
Definition: lsass.h:52
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass
Definition: lsass.h:162
struct _LSA_API_MSG * PLSA_API_MSG
#define LSASS_MAX_LOGON_PROCESS_NAME_LENGTH
Definition: lsass.h:15
PORT_MESSAGE h
Definition: lsass.h:176
CHAR LogonProcessNameBuffer[LSASS_MAX_LOGON_PROCESS_NAME_LENGTH+1]
Definition: lsass.h:36
struct _LSA_GET_LOGON_SESSION_DATA_MSG * PLSA_GET_LOGON_SESSION_DATA_MSG
BOOL CreateContext
Definition: lsass.h:37
NTSTATUS Status
Definition: lsass.h:33
struct _LSA_CONNECTION_INFO * PLSA_CONNECTION_INFO
enum _LSA_API_NUMBER * PLSA_API_NUMBER
unsigned int BOOL
Definition: ntddk_ex.h:94
_LSA_API_NUMBER
Definition: lsass.h:18
struct _LSA_ENUM_LOGON_SESSIONS_MSG * PLSA_ENUM_LOGON_SESSIONS_MSG
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG::@3333::@3336 Reply
ULONG AuthenticationPackage
Definition: lsass.h:49
enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS
unsigned char BOOLEAN
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3349::@3352 Reply
ULONG LSA_OPERATIONAL_MODE
Definition: ntsecapi.h:364
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG LSA_DEREGISTER_LOGON_PROCESS_MSG
LSA_STRING OriginName
Definition: lsass.h:47
SECURITY_LOGON_TYPE LogonType
Definition: lsass.h:48
PVOID AuthenticationInformation
Definition: lsass.h:50
struct _LSA_LOGON_USER_MSG::@3329::@3332 Reply
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG::@3341::@3344 Reply
LSA_API_NUMBER ApiNumber
Definition: lsass.h:182
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG * PLSA_DEREGISTER_LOGON_PROCESS_MSG
struct _LSA_GET_LOGON_SESSION_DATA_MSG LSA_GET_LOGON_SESSION_DATA_MSG
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG::@3337::@3339 Request
PVOID ProfileBuffer
Definition: lsass.h:59
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3353::@3355 Request
LSA_OPERATIONAL_MODE OperationalMode
Definition: lsass.h:34
QUOTA_LIMITS Quotas
Definition: lsass.h:63
ULONG ProfileBufferLength
Definition: lsass.h:60
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG
LSA_CALL_AUTHENTICATION_PACKAGE_MSG CallAuthenticationPackage
Definition: lsass.h:187
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG * PLSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG
ULONG AuthenticationInformationLength
Definition: lsass.h:51
LSA_ENUM_LOGON_SESSIONS_MSG EnumLogonSessions
Definition: lsass.h:190
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
LSA_CONNECTION_INFO ConnectInfo
Definition: lsass.h:179
#define LSASS_MAX_PACKAGE_NAME_LENGTH
Definition: lsass.h:16
unsigned int ULONG
Definition: retypes.h:1
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG::@3341::@3343 Request
struct _LSA_LOGON_USER_MSG * PLSA_LOGON_USER_MSG
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3353::@3356 Reply
NTSTATUS SubStatus
Definition: lsass.h:64
struct _LSA_ENUM_LOGON_SESSIONS_MSG LSA_ENUM_LOGON_SESSIONS_MSG
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG::@3337::@3340 Reply
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG * PLSA_CALL_AUTHENTICATION_PACKAGE_MSG
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG::@3333::@3335 Request
TOKEN_SOURCE SourceContext
Definition: lsass.h:54
struct _LSA_POLICY_CHANGE_NOTIFY_MSG LSA_POLICY_CHANGE_NOTIFY_MSG
struct _LSA_LOGON_USER_MSG LSA_LOGON_USER_MSG
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG LSA_CALL_AUTHENTICATION_PACKAGE_MSG
NTSTATUS Status
Definition: lsass.h:183