ReactOS  0.4.14-dev-98-gb0d4763
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 {
40 
41 
42 typedef struct _LSA_LOGON_USER_MSG
43 {
44  union
45  {
46  struct
47  {
56  } Request;
57 
58  struct
59  {
66  } Reply;
67  };
69 
70 
72 {
73  union
74  {
75  struct
76  {
80  } Request;
81  struct
82  {
86  } Reply;
87  };
89 
90 
92 {
93  union
94  {
95  struct
96  {
98  } Request;
99  struct
100  {
101  ULONG Dummy;
102  } Reply;
103  };
105 
106 
108 {
109  union
110  {
111  struct
112  {
115  } Request;
116  struct
117  {
119  } Reply;
120  };
122 
123 
125 {
126  union
127  {
128  struct
129  {
131  } Request;
132  struct
133  {
136  } Reply;
137  };
139 
140 
142 {
143  union
144  {
145  struct
146  {
148  } Request;
149  struct
150  {
152  } Reply;
153  };
155 
156 
158 {
159  union
160  {
161  struct
162  {
166  } Request;
167  struct
168  {
170  } Reply;
171  };
173 
174 
175 typedef struct _LSA_API_MSG
176 {
178  union
179  {
181  struct
182  {
185  union
186  {
194  };
195  };
196  };
198 
199 #define LSA_PORT_DATA_SIZE(c) (sizeof(ULONG)+sizeof(NTSTATUS)+sizeof(c))
200 #define LSA_PORT_MESSAGE_SIZE (sizeof(LSA_API_MSG))
201 
202 #endif /* __INCLUDE_LSASS_LSASS_H */
enum _LSA_API_NUMBER LSA_API_NUMBER
ULONG LocalGroupsCount
Definition: lsass.h:54
struct _LSA_CONNECTION_INFO LSA_CONNECTION_INFO
LSA_LOGON_USER_MSG LogonUser
Definition: lsass.h:187
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG::@3339::@3342 Reply
LSA_DEREGISTER_LOGON_PROCESS_MSG DeregisterLogonProcess
Definition: lsass.h:189
CHAR PackageName[LSASS_MAX_PACKAGE_NAME_LENGTH+1]
Definition: lsass.h:114
LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG LookupAuthenticationPackage
Definition: lsass.h:190
HANDLE Token
Definition: lsass.h:63
LSA_GET_LOGON_SESSION_DATA_MSG GetLogonSessionData
Definition: lsass.h:192
struct _LSA_API_MSG LSA_API_MSG
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3359::@3362 Reply
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG::@3347::@3349 Request
struct _LSA_POLICY_CHANGE_NOTIFY_MSG * PLSA_POLICY_CHANGE_NOTIFY_MSG
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3355::@3358 Reply
char CHAR
Definition: xmlstorage.h:175
LSA_POLICY_CHANGE_NOTIFY_MSG PolicyChangeNotify
Definition: lsass.h:193
LONG NTSTATUS
Definition: precomp.h:26
PTOKEN_GROUPS LocalGroups
Definition: lsass.h:53
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass
Definition: lsass.h:163
struct _LSA_API_MSG * PLSA_API_MSG
#define LSASS_MAX_LOGON_PROCESS_NAME_LENGTH
Definition: lsass.h:15
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG::@3339::@3341 Request
PORT_MESSAGE h
Definition: lsass.h:177
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
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG::@3347::@3350 Reply
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_ENUM_LOGON_SESSIONS_MSG::@3351::@3354 Reply
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG::@3343::@3346 Reply
ULONG AuthenticationPackage
Definition: lsass.h:50
enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS
unsigned char BOOLEAN
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:48
SECURITY_LOGON_TYPE LogonType
Definition: lsass.h:49
PVOID AuthenticationInformation
Definition: lsass.h:51
struct _LSA_DEREGISTER_LOGON_PROCESS_MSG::@3343::@3345 Request
LSA_API_NUMBER ApiNumber
Definition: lsass.h:183
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_ENUM_LOGON_SESSIONS_MSG::@3351::@3353 Request
PVOID ProfileBuffer
Definition: lsass.h:60
LSA_OPERATIONAL_MODE OperationalMode
Definition: lsass.h:34
QUOTA_LIMITS Quotas
Definition: lsass.h:64
ULONG ProfileBufferLength
Definition: lsass.h:61
struct _LSA_LOGON_USER_MSG::@3335::@3338 Reply
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG
LSA_CALL_AUTHENTICATION_PACKAGE_MSG CallAuthenticationPackage
Definition: lsass.h:188
struct _LSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG * PLSA_LOOKUP_AUTHENTICATION_PACKAGE_MSG
struct _LSA_LOGON_USER_MSG::@3335::@3337 Request
ULONG AuthenticationInformationLength
Definition: lsass.h:52
LSA_ENUM_LOGON_SESSIONS_MSG EnumLogonSessions
Definition: lsass.h:191
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
LSA_CONNECTION_INFO ConnectInfo
Definition: lsass.h:180
#define LSASS_MAX_PACKAGE_NAME_LENGTH
Definition: lsass.h:16
unsigned int ULONG
Definition: retypes.h:1
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3355::@3357 Request
struct _LSA_LOGON_USER_MSG * PLSA_LOGON_USER_MSG
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3359::@3361 Request
NTSTATUS SubStatus
Definition: lsass.h:65
struct _LSA_ENUM_LOGON_SESSIONS_MSG LSA_ENUM_LOGON_SESSIONS_MSG
struct _LSA_CALL_AUTHENTICATION_PACKAGE_MSG * PLSA_CALL_AUTHENTICATION_PACKAGE_MSG
TOKEN_SOURCE SourceContext
Definition: lsass.h:55
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:184