ReactOS 0.4.15-dev-5865-g640e228
ntsecpkg.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2007 Yuval Fledel
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef _NTSECPKG_H
20#define _NTSECPKG_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/* Flags for the MachineState field in SECPKG_PARAMETERS */
27#define SECPKG_STATE_ENCRYPTION_PERMITTED 0x01
28#define SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED 0x02
29#define SECPKG_STATE_DOMAIN_CONTROLLER 0x04
30#define SECPKG_STATE_WORKSTATION 0x08
31#define SECPKG_STATE_STANDALONE 0x10
32
33/* Version magics as passed to or returned from Sp[Lsa,Mode]ModeInitialize */
34#define SECPKG_INTERFACE_VERSION 0x10000
35#define SECPKG_INTERFACE_VERSION_2 0x20000
36#define SECPKG_INTERFACE_VERSION_3 0x40000
37#define SECPKG_INTERFACE_VERSION_4 0x80000
38#define SECPKG_INTERFACE_VERSION_5 0x100000
39#define SECPKG_INTERFACE_VERSION_6 0x200000
40#define SECPKG_INTERFACE_VERSION_7 0x400000
41
42/* enum definitions for Secure Service Provider/Authentication Packages */
48
50{
58
59typedef enum _SECPKG_NAME_TYPE {
65
66/* struct definitions for SSP/AP */
67typedef struct _LSA_TOKEN_INFORMATION_NULL
68{
72
73typedef struct _LSA_TOKEN_INFORMATION_V1
74{
83
85
86typedef struct _SECPKG_PRIMARY_CRED {
102
108
113
114typedef struct _SECPKG_PARAMETERS {
124
125typedef struct _SECPKG_CLIENT_INFO {
134
135typedef struct _SECURITY_USER_DATA {
142
143typedef struct _SECPKG_GSS_INFO {
147
152
156
160
161#define SECPKG_MAX_OID_LENGTH 32
167
168typedef struct _SECPKG_EXTRA_OIDS {
172
173typedef struct _SECPKG_CALL_INFO {
179
182 union {
190
191typedef struct _SECPKG_TARGETINFO {
195
201
202/* callbacks implemented by SSP/AP dlls and called by the LSA */
204 PSecBuffer);
205
206/* misc typedefs used in the below prototypes */
211
212/* functions used by SSP/AP obtainable by dispatch tables */
224 ULONG, PVOID*);
227 PVOID, PVOID);
229 ULONG, PVOID, PVOID);
234 PVOID, BOOLEAN);
236 PVOID, ULONG, PULONG);
261 PVOID *, PULONG);
274 PULONG);
284
285/* Dispatch tables of functions used by SSP/AP */
286typedef struct _SECPKG_DLL_FUNCTIONS {
292
293typedef struct _LSA_DISPATCH_TABLE {
307
350#ifdef _WINCRED_H_
351 CredReadFn *CrediRead;
352 CredReadDomainCredentialsFn *CrediReadDomainCredentials;
353 CredFreeCredentialsFn *CrediFreeCredentials;
354#else
358#endif
367
368/* LSA-mode functions implemented by SSP/AP obtainable by a dispatch table */
388typedef NTSTATUS (NTAPI SpInitializeFn)(ULONG_PTR, PSECPKG_PARAMETERS,
390typedef NTSTATUS (NTAPI SpShutDownFn)(void);
391typedef NTSTATUS (NTAPI SpGetInfoFn)(PSecPkgInfoW);
392typedef NTSTATUS (NTAPI SpAcceptCredentialsFn)(SECURITY_LOGON_TYPE,
394typedef NTSTATUS (NTAPI SpAcquireCredentialsHandleFn)(PUNICODE_STRING, ULONG,
396typedef NTSTATUS (NTAPI SpQueryCredentialsAttributesFn)(LSA_SEC_HANDLE, ULONG,
397 PVOID);
398typedef NTSTATUS (NTAPI SpFreeCredentialsHandleFn)(LSA_SEC_HANDLE);
399typedef NTSTATUS (NTAPI SpSaveCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer);
400typedef NTSTATUS (NTAPI SpGetCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer);
401typedef NTSTATUS (NTAPI SpDeleteCredentialsFn)(LSA_SEC_HANDLE, PSecBuffer);
402typedef NTSTATUS (NTAPI SpInitLsaModeContextFn)(LSA_SEC_HANDLE, LSA_SEC_HANDLE,
405typedef NTSTATUS (NTAPI SpAcceptLsaModeContextFn)(LSA_SEC_HANDLE,
408typedef NTSTATUS (NTAPI SpDeleteContextFn)(LSA_SEC_HANDLE);
409typedef NTSTATUS (NTAPI SpApplyControlTokenFn)(LSA_SEC_HANDLE, PSecBufferDesc);
410typedef NTSTATUS (NTAPI SpGetUserInfoFn)(PLUID, ULONG, PSecurityUserData *);
411typedef NTSTATUS (NTAPI SpGetExtendedInformationFn)(
413typedef NTSTATUS (NTAPI SpQueryContextAttributesFn)(LSA_SEC_HANDLE, ULONG,
415typedef NTSTATUS (NTAPI SpAddCredentialsFn)(LSA_SEC_HANDLE, PUNICODE_STRING,
417typedef NTSTATUS (NTAPI SpSetExtendedInformationFn)(
419typedef NTSTATUS (NTAPI SpSetContextAttributesFn)(LSA_SEC_HANDLE, ULONG, PVOID,
420 ULONG);
421typedef NTSTATUS (NTAPI SpSetCredentialsAttributesFn)(LSA_SEC_HANDLE, ULONG,
422 PVOID, ULONG);
423typedef NTSTATUS (NTAPI SpChangeAccountPasswordFn)(PUNICODE_STRING,
425typedef NTSTATUS (NTAPI SpQueryMetaDataFn)(LSA_SEC_HANDLE, PUNICODE_STRING,
427typedef NTSTATUS (NTAPI SpExchangeMetaDataFn)(LSA_SEC_HANDLE, PUNICODE_STRING,
429typedef NTSTATUS (NTAPI SpGetCredUIContextFn)(LSA_SEC_HANDLE, GUID *, PULONG,
430 PUCHAR *);
431typedef NTSTATUS (NTAPI SpUpdateCredentialsFn)(LSA_SEC_HANDLE, GUID *, ULONG,
433typedef NTSTATUS (NTAPI SpValidateTargetInfoFn)(PLSA_CLIENT_REQUEST, PVOID,
435typedef NTSTATUS (NTAPI LSA_AP_POST_LOGON_USER)(PSECPKG_POST_LOGON_USER_INFO);
436
437/* User-mode functions implemented by SSP/AP obtainable by a dispatch table */
438typedef NTSTATUS (NTAPI SpInstanceInitFn)(ULONG, PSECPKG_DLL_FUNCTIONS,
439 PVOID *);
440typedef NTSTATUS (NTAPI SpInitUserModeContextFn)(LSA_SEC_HANDLE, PSecBuffer);
441typedef NTSTATUS (NTAPI SpMakeSignatureFn)(LSA_SEC_HANDLE, ULONG,
443typedef NTSTATUS (NTAPI SpVerifySignatureFn)(LSA_SEC_HANDLE, PSecBufferDesc,
444 ULONG, PULONG);
445typedef NTSTATUS (NTAPI SpSealMessageFn)(LSA_SEC_HANDLE, ULONG, PSecBufferDesc,
446 ULONG);
447typedef NTSTATUS (NTAPI SpUnsealMessageFn)(LSA_SEC_HANDLE, PSecBufferDesc,
448 ULONG, PULONG);
449typedef NTSTATUS (NTAPI SpGetContextTokenFn)(LSA_SEC_HANDLE, PHANDLE);
450typedef NTSTATUS (NTAPI SpCompleteAuthTokenFn)(LSA_SEC_HANDLE, PSecBufferDesc);
451typedef NTSTATUS (NTAPI SpFormatCredentialsFn)(PSecBuffer, PSecBuffer);
452typedef NTSTATUS (NTAPI SpMarshallSupplementalCredsFn)(ULONG, PUCHAR, PULONG,
453 PVOID *);
454typedef NTSTATUS (NTAPI SpExportSecurityContextFn)(LSA_SEC_HANDLE, ULONG,
456typedef NTSTATUS (NTAPI SpImportSecurityContextFn)(PSecBuffer, HANDLE,
458
459#ifdef WINE_NO_UNICODE_MACROS
460#undef SetContextAttributes
461#endif
462
463/* dispatch tables of LSA-mode functions implemented by SSP/AP */
473 SpInitializeFn *Initialize;
474 SpShutDownFn *Shutdown;
475 SpGetInfoFn *GetInfo;
476 SpAcceptCredentialsFn *AcceptCredentials;
477 SpAcquireCredentialsHandleFn *SpAcquireCredentialsHandle;
478 SpQueryCredentialsAttributesFn *SpQueryCredentialsAttributes;
479 SpFreeCredentialsHandleFn *FreeCredentialsHandle;
480 SpSaveCredentialsFn *SaveCredentials;
481 SpGetCredentialsFn *GetCredentials;
482 SpDeleteCredentialsFn *DeleteCredentials;
483 SpInitLsaModeContextFn *InitLsaModeContext;
484 SpAcceptLsaModeContextFn *AcceptLsaModeContext;
485 SpDeleteContextFn *DeleteContext;
486 SpApplyControlTokenFn *ApplyControlToken;
487 SpGetUserInfoFn *GetUserInfo;
488 SpGetExtendedInformationFn *GetExtendedInformation;
489 SpQueryContextAttributesFn *SpQueryContextAttributes;
490 SpAddCredentialsFn *SpAddCredentials;
491 SpSetExtendedInformationFn *SetExtendedInformation;
492 /* Packages with version SECPKG_INTERFACE_VERSION end here */
493 SpSetContextAttributesFn *SetContextAttributes;
494 /* Packages with version SECPKG_INTERFACE_VERSION_2 end here */
495 SpSetCredentialsAttributesFn *SetCredentialsAttributes;
496 /* Packages with version SECPKG_INTERFACE_VERSION_3 end here */
497 SpChangeAccountPasswordFn *ChangeAccountPassword;
498 /* Packages with version SECPKG_INTERFACE_VERSION_4 end here */
499 SpQueryMetaDataFn *QueryMetaData;
500 SpExchangeMetaDataFn *ExchangeMetaData;
501 SpGetCredUIContextFn *GetCredUIContext;
502 SpUpdateCredentialsFn *UpdateCredentials;
503 /* Packages with version SECPKG_INTERFACE_VERSION_5 end here */
504 SpValidateTargetInfoFn *ValidateTargetInfo;
505 /* Packages with version SECPKG_INTERFACE_VERSION_6 end here */
506 LSA_AP_POST_LOGON_USER* PostLogonUser;
507 /* Packages with version SECPKG_INTERFACE_VERSION_7 end here */
510
511/* dispatch tables of user-mode functions implemented by SSP/AP */
513 SpInstanceInitFn *InstanceInit;
514 SpInitUserModeContextFn *InitUserModeContext;
515 SpMakeSignatureFn *MakeSignature;
516 SpVerifySignatureFn *VerifySignature;
517 SpSealMessageFn *SealMessage;
518 SpUnsealMessageFn *UnsealMessage;
519 SpGetContextTokenFn *GetContextToken;
520 SpQueryContextAttributesFn *SpQueryContextAttributes;
521 SpCompleteAuthTokenFn *CompleteAuthToken;
522 SpDeleteContextFn *DeleteUserModeContext;
523 SpFormatCredentialsFn *FormatCredentials;
524 SpMarshallSupplementalCredsFn *MarshallSupplementalCreds;
525 SpExportSecurityContextFn *ExportContext;
526 SpImportSecurityContextFn *ImportContext;
529
530/* LSA-mode entry point to SSP/APs */
533
534/* User-mode entry point to SSP/APs */
537
538#ifdef __cplusplus
539}
540#endif
541#endif /* _NTSECPKG_H */
unsigned char BOOLEAN
#define VOID
Definition: acefi.h:82
_LSA_TOKEN_INFORMATION_TYPE
Definition: authpackage.c:15
#define ULONG_PTR
Definition: config.h:101
enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL
#define PCHAR
Definition: match.c:90
struct _TOKEN_SOURCE * PTOKEN_SOURCE
* PNTSTATUS
Definition: strlen.c:14
struct _SID * PSID
Definition: eventlog.c:35
#define DWORD
Definition: nt_native.h:44
struct _LSA_STRING * PLSA_STRING
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
struct _SECPKG_TARGETINFO * PSECPKG_TARGETINFO
Definition: ntsecpkg.h:434
NTSTATUS(NTAPI * PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS)(PLUID, ULONG, PVOID, BOOLEAN)
Definition: ntsecpkg.h:233
struct _SECPKG_TARGETINFO SECPKG_TARGETINFO
NTSTATUS(NTAPI * PLSA_GET_USER_AUTH_DATA)(PVOID, PUCHAR *, PULONG)
Definition: ntsecpkg.h:262
VOID(NTAPI * PLSA_FREE_PRIVATE_HEAP)(PVOID)
Definition: ntsecpkg.h:283
VOID(NTAPI * PLSA_FREE_SHARED_MEMORY)(PVOID, PVOID)
Definition: ntsecpkg.h:256
NTSTATUS(NTAPI * PLSA_GET_CREDENTIALS)(PLUID, ULONG, PULONG, BOOLEAN, PLSA_STRING, PULONG, PLSA_STRING)
Definition: ntsecpkg.h:218
struct _SECPKG_CALL_INFO * PSECPKG_CALL_INFO
VOID(NTAPI * PLSA_PROTECT_MEMORY)(PVOID, ULONG)
Definition: ntsecpkg.h:279
struct _SECPKG_FUNCTION_TABLE * PSECPKG_FUNCTION_TABLE
NTSTATUS(NTAPI * PLSA_CLIENT_CALLBACK)(PCHAR, ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)
Definition: ntsecpkg.h:267
struct _LSA_DISPATCH_TABLE LSA_DISPATCH_TABLE
typedef PUNICODE_STRING
Definition: ntsecpkg.h:393
PVOID(NTAPI * PLSA_ALLOCATE_PRIVATE_HEAP)(SIZE_T)
Definition: ntsecpkg.h:282
struct _LSA_TOKEN_INFORMATION_NULL LSA_TOKEN_INFORMATION_NULL
NTSTATUS(NTAPI * PLSA_CALL_PACKAGE_PASSTHROUGH)(PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:277
NTSTATUS(NTAPI * PLSA_ADD_CREDENTIAL)(PLUID, ULONG, PLSA_STRING, PLSA_STRING)
Definition: ntsecpkg.h:216
NTSTATUS(NTAPI * PLSA_GET_AUTH_DATA_FOR_USER)(PSECURITY_STRING, SECPKG_NAME_TYPE, PSECURITY_STRING, PUCHAR *, PULONG, PUNICODE_STRING)
Definition: ntsecpkg.h:270
NTSTATUS(NTAPI * PLSA_AP_INITIALIZE_PACKAGE)(ULONG, PLSA_DISPATCH_TABLE, PLSA_STRING, PLSA_STRING, PLSA_STRING *)
Definition: ntsecpkg.h:369
typedef BOOLEAN
Definition: ntsecpkg.h:424
struct _LSA_DISPATCH_TABLE * PLSA_DISPATCH_TABLE
struct _SECPKG_GSS_INFO * PSECPKG_GSS_INFO
enum _LSA_TOKEN_INFORMATION_TYPE LSA_TOKEN_INFORMATION_TYPE
struct _SECPKG_USER_FUNCTION_TABLE SECPKG_USER_FUNCTION_TABLE
struct _SECPKG_GSS_INFO SECPKG_GSS_INFO
ULONG LSA_SEC_HANDLE
Definition: ntsecpkg.h:208
enum _SECPKG_NAME_TYPE SECPKG_NAME_TYPE
struct _SECPKG_SERIALIZED_OID * PSECPKG_SERIALIZED_OID
LSA_TOKEN_INFORMATION_V1 * PLSA_TOKEN_INFORMATION_V2
Definition: ntsecpkg.h:84
typedef PTimeStamp
Definition: ntsecpkg.h:395
struct _SECPKG_SUPPLEMENTAL_CRED_ARRAY SECPKG_SUPPLEMENTAL_CRED_ARRAY
NTSTATUS(NTAPI * PLSA_UPDATE_PRIMARY_CREDENTIALS)(PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY)
Definition: ntsecpkg.h:269
struct _SECURITY_USER_DATA * PSecurityUserData
struct _SECPKG_EXTRA_OIDS * PSECPKG_EXTRA_OIDS
struct _SECPKG_SUPPLEMENTAL_CRED SECPKG_SUPPLEMENTAL_CRED
GUID PULONG
Definition: ntsecpkg.h:429
struct _LSA_TOKEN_INFORMATION_V1 * PLSA_TOKEN_INFORMATION_V1
struct _SECPKG_WOW_CLIENT_DLL * PSECPKG_WOW_CLIENT_DLL
NTSTATUS(NTAPI * PLSA_CALL_PACKAGEEX)(PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:252
struct _SECPKG_CONTEXT_THUNKS * PSECPKG_CONTEXT_THUNKS
struct _SECPKG_CLIENT_INFO * PSECPKG_CLIENT_INFO
struct _SECPKG_SERIALIZED_OID SECPKG_SERIALIZED_OID
NTSTATUS(NTAPI * PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN)(PUCHAR, ULONG, PVOID, PUCHAR *, PULONG)
Definition: ntsecpkg.h:281
BOOLEAN(NTAPI * PLSA_GET_CALL_INFO)(PSECPKG_CALL_INFO)
Definition: ntsecpkg.h:251
LSA_TOKEN_INFORMATION_V1 LSA_TOKEN_INFORMATION_V2
Definition: ntsecpkg.h:84
struct _SECPKG_PARAMETERS * PSECPKG_EVENT_DOMAIN_CHANGE
ULONG * PLSA_SEC_HANDLE
Definition: ntsecpkg.h:208
@ LsaTokenInformationV1
Definition: ntsecpkg.h:45
@ LsaTokenInformationV2
Definition: ntsecpkg.h:46
@ LsaTokenInformationNull
Definition: ntsecpkg.h:44
NTSTATUS(NTAPI * PLSA_REGISTER_CALLBACK)(ULONG, PLSA_CALLBACK_FUNCTION)
Definition: ntsecpkg.h:213
struct _SECURITY_USER_DATA SECURITY_USER_DATA
struct _SECPKG_PARAMETERS * PSECPKG_PARAMETERS
Definition: ntsecpkg.h:388
struct _SECPKG_PARAMETERS SECPKG_EVENT_DOMAIN_CHANGE
PSECURITY_ATTRIBUTES SEC_ATTRS
Definition: ntsecpkg.h:210
PVOID * PLSA_CLIENT_REQUEST
Definition: ntsecpkg.h:207
struct _LSA_TOKEN_INFORMATION_V1 LSA_TOKEN_INFORMATION_V1
NTSTATUS(NTAPI * PLSA_COPY_FROM_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)
Definition: ntsecpkg.h:228
struct _SECPKG_CALL_INFO SECPKG_CALL_INFO
typedef PBOOLEAN
Definition: ntsecpkg.h:404
struct _SECPKG_EXTENDED_INFORMATION SECPKG_EXTENDED_INFORMATION
LPTHREAD_START_ROUTINE SEC_THREAD_START
Definition: ntsecpkg.h:209
HANDLE(NTAPI * PLSA_REGISTER_NOTIFICATION)(SEC_THREAD_START, PVOID, ULONG, ULONG, ULONG, ULONG, HANDLE)
Definition: ntsecpkg.h:238
NTSTATUS(NTAPI * PLSA_CLOSE_SAM_USER)(PVOID)
Definition: ntsecpkg.h:263
enum _LSA_TOKEN_INFORMATION_TYPE * PLSA_TOKEN_INFORMATION_TYPE
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
NTSTATUS(NTAPI * PLSA_CREATE_TOKEN)(PLUID, PTOKEN_SOURCE, SECURITY_LOGON_TYPE, SECURITY_IMPERSONATION_LEVEL, LSA_TOKEN_INFORMATION_TYPE, PVOID, PTOKEN_GROUPS, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, PHANDLE, PNTSTATUS)
Definition: ntsecpkg.h:242
NTSTATUS(WINAPI * SpUserModeInitializeFn)(ULONG, PULONG, PSECPKG_USER_FUNCTION_TABLE *, PULONG)
Definition: ntsecpkg.h:535
PVOID(NTAPI * PLSA_ALLOCATE_SHARED_MEMORY)(PVOID, ULONG)
Definition: ntsecpkg.h:255
NTSTATUS(NTAPI * PLSA_CANCEL_NOTIFICATION)(HANDLE)
Definition: ntsecpkg.h:240
NTSTATUS(NTAPI * PLSA_MAP_BUFFER)(PSecBuffer, PSecBuffer)
Definition: ntsecpkg.h:241
NTSTATUS(NTAPI * PLSA_AP_LOGON_USER_EX2)(PLSA_CLIENT_REQUEST, SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS, PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *, PUNICODE_STRING *, PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY *)
Definition: ntsecpkg.h:384
_SECPKG_EXTENDED_INFORMATION_CLASS
Definition: ntsecpkg.h:50
@ SecpkgExtraOids
Definition: ntsecpkg.h:55
@ SecpkgMaxInfo
Definition: ntsecpkg.h:56
@ SecpkgMutualAuthLevel
Definition: ntsecpkg.h:53
@ SecpkgWowClientDll
Definition: ntsecpkg.h:54
@ SecpkgContextThunks
Definition: ntsecpkg.h:52
@ SecpkgGssInfo
Definition: ntsecpkg.h:51
struct _SECURITY_USER_DATA SecurityUserData
NTSTATUS(NTAPI * PLSA_IMPERSONATE_CLIENT)(void)
Definition: ntsecpkg.h:230
PVOID(NTAPI * PLSA_ALLOCATE_LSA_HEAP)(ULONG)
Definition: ntsecpkg.h:221
HANDLE(NTAPI * PLSA_CREATE_THREAD)(SEC_ATTRS, ULONG, SEC_THREAD_START, PVOID, ULONG, PULONG)
Definition: ntsecpkg.h:235
struct _SECPKG_PARAMETERS SECPKG_PARAMETERS
typedef HANDLE
Definition: ntsecpkg.h:456
enum _SECPKG_EXTENDED_INFORMATION_CLASS SECPKG_EXTENDED_INFORMATION_CLASS
PSecurityUserData *typedef PSECPKG_EXTENDED_INFORMATION *typedef ULONG
Definition: ntsecpkg.h:413
struct _SECURITY_USER_DATA * PSECURITY_USER_DATA
NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE_PASSTHROUGH)(PLSA_CLIENT_REQUEST, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:378
NTSTATUS(NTAPI * PLSA_AUDIT_ACCOUNT_LOGON)(ULONG, BOOLEAN, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, NTSTATUS)
Definition: ntsecpkg.h:275
struct _SECPKG_EXTRA_OIDS SECPKG_EXTRA_OIDS
PSecurityUserData *typedef PSECPKG_EXTENDED_INFORMATION *typedef PVOID
Definition: ntsecpkg.h:414
struct _SECPKG_SUPPLEMENTAL_CRED * PSECPKG_SUPPLEMENTAL_CRED
Definition: ntsecpkg.h:393
struct _SECPKG_WOW_CLIENT_DLL SECPKG_WOW_CLIENT_DLL
struct _SECPKG_DLL_FUNCTIONS SECPKG_DLL_FUNCTIONS
struct _SECPKG_SUPPLEMENTAL_CRED_ARRAY * PSECPKG_SUPPLEMENTAL_CRED_ARRAY
VOID(NTAPI * PLSA_FREE_LSA_HEAP)(PVOID)
Definition: ntsecpkg.h:222
struct _LSA_TOKEN_INFORMATION_NULL * PLSA_TOKEN_INFORMATION_NULL
NTSTATUS(NTAPI * PLSA_AP_LOGON_USER)(LPWSTR, LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, PHANDLE)
Definition: ntsecpkg.h:371
struct _SECPKG_CONTEXT_THUNKS SECPKG_CONTEXT_THUNKS
NTSTATUS(NTAPI * PLSA_COPY_TO_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)
Definition: ntsecpkg.h:226
PVOID(NTAPI * PLSA_CREATE_SHARED_MEMORY)(ULONG, ULONG)
Definition: ntsecpkg.h:254
struct _SECPKG_USER_FUNCTION_TABLE * PSECPKG_USER_FUNCTION_TABLE
NTSTATUS(NTAPI * PLSA_AP_LOGON_USER_EX)(PLSA_CLIENT_REQUEST, SECURITY_LOGON_TYPE, PVOID, PVOID, ULONG, PVOID *, PULONG, PLUID, PNTSTATUS, PLSA_TOKEN_INFORMATION_TYPE, PVOID *, PUNICODE_STRING *, PUNICODE_STRING *, PUNICODE_STRING *)
Definition: ntsecpkg.h:380
struct _SECPKG_MUTUAL_AUTH_LEVEL SECPKG_MUTUAL_AUTH_LEVEL
struct _LSA_SECPKG_FUNCTION_TABLE * PLSA_SECPKG_FUNCTION_TABLE
Definition: ntsecpkg.h:389
NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE_UNTRUSTED)(PLSA_CLIENT_REQUEST, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:376
VOID(NTAPI * PLSA_AP_LOGON_TERMINATED)(PLUID)
Definition: ntsecpkg.h:375
NTSTATUS(NTAPI * PLSA_UNLOAD_PACKAGE)(void)
Definition: ntsecpkg.h:231
NTSTATUS(NTAPI * PLSA_OPEN_TOKEN_BY_LOGON_ID)(PLUID, HANDLE *)
Definition: ntsecpkg.h:280
struct _SECPKG_MUTUAL_AUTH_LEVEL * PSECPKG_MUTUAL_AUTH_LEVEL
NTSTATUS(NTAPI * PLSA_DELETE_CREDENTIAL)(PLUID, ULONG, PLSA_STRING)
Definition: ntsecpkg.h:220
PSecurityUserData *typedef NTSTATUS(NTAPI SpGetExtendedInformationFn)(SECPKG_EXTENDED_INFORMATION_CLASS
Definition: ntsecpkg.h:411
struct _SECPKG_FUNCTION_TABLE SECPKG_FUNCTION_TABLE
struct _SECPKG_DLL_FUNCTIONS * PSECPKG_DLL_FUNCTIONS
Definition: ntsecpkg.h:438
NTSTATUS(NTAPI * PLSA_FREE_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, PVOID)
Definition: ntsecpkg.h:225
struct _LSA_SECPKG_FUNCTION_TABLE LSA_SECPKG_FUNCTION_TABLE
VOID(NTAPI * PLSA_AUDIT_LOGON)(NTSTATUS, NTSTATUS, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, OPTIONAL PSID, SECURITY_LOGON_TYPE, PTOKEN_SOURCE, PLUID)
Definition: ntsecpkg.h:246
VOID(NTAPI * PLSA_CALLBACK_FUNCTION)(ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)
Definition: ntsecpkg.h:203
struct _SECPKG_POST_LOGON_USER_INFO * PSECPKG_POST_LOGON_USER_INFO
NTSTATUS(NTAPI * PLSA_OPEN_SAM_USER)(PSECURITY_STRING, SECPKG_NAME_TYPE, PSECURITY_STRING, BOOLEAN, ULONG, PVOID *)
Definition: ntsecpkg.h:258
NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE)(PLSA_CLIENT_REQUEST, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:373
NTSTATUS(NTAPI * SpLsaModeInitializeFn)(ULONG, PULONG, PSECPKG_FUNCTION_TABLE *, PULONG)
Definition: ntsecpkg.h:531
GUID PUCHAR *typedef GUID PUCHAR
Definition: ntsecpkg.h:432
PVOID *typedef PSecBuffer
Definition: ntsecpkg.h:440
NTSTATUS(NTAPI * PLSA_GET_USER_CREDENTIALS)(PVOID, PVOID *, PULONG, PVOID *, PULONG)
Definition: ntsecpkg.h:260
NTSTATUS(NTAPI * PLSA_CALL_PACKAGE)(PUNICODE_STRING, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
Definition: ntsecpkg.h:249
NTSTATUS(NTAPI * PLSA_DELETE_LOGON_SESSION)(PLUID)
Definition: ntsecpkg.h:215
#define SECPKG_MAX_OID_LENGTH
Definition: ntsecpkg.h:161
NTSTATUS(NTAPI * PLSA_DUPLICATE_HANDLE)(HANDLE, PHANDLE)
Definition: ntsecpkg.h:232
typedef PSecBufferDesc
Definition: ntsecpkg.h:403
struct _SECPKG_PRIMARY_CRED SECPKG_PRIMARY_CRED
NTSTATUS(NTAPI * PLSA_CREATE_LOGON_SESSION)(PLUID)
Definition: ntsecpkg.h:214
struct _SECPKG_EXTENDED_INFORMATION * PSECPKG_EXTENDED_INFORMATION
Definition: ntsecpkg.h:418
struct _SECPKG_POST_LOGON_USER_INFO SECPKG_POST_LOGON_USER_INFO
BOOLEAN(NTAPI * PLSA_DELETE_SHARED_MEMORY)(PVOID)
Definition: ntsecpkg.h:257
struct _SECPKG_PRIMARY_CRED * PSECPKG_PRIMARY_CRED
Definition: ntsecpkg.h:393
NTSTATUS(NTAPI * PLSA_CRACK_SINGLE_NAME)(ULONG, BOOLEAN, PUNICODE_STRING, PUNICODE_STRING, ULONG, PUNICODE_STRING, PUNICODE_STRING, PULONG)
Definition: ntsecpkg.h:272
NTSTATUS(NTAPI * PLSA_GET_CLIENT_INFO)(PSECPKG_CLIENT_INFO)
Definition: ntsecpkg.h:237
_SECPKG_NAME_TYPE
Definition: ntsecpkg.h:59
@ SecNameFlat
Definition: ntsecpkg.h:62
@ SecNameDN
Definition: ntsecpkg.h:63
@ SecNameAlternateId
Definition: ntsecpkg.h:61
@ SecNameSamCompatible
Definition: ntsecpkg.h:60
typedef PLUID
Definition: ntsecpkg.h:395
struct _SECPKG_CLIENT_INFO SECPKG_CLIENT_INFO
NTSTATUS(NTAPI * PLSA_CONVERT_AUTH_DATA_TO_TOKEN)(PVOID, ULONG, SECURITY_IMPERSONATION_LEVEL, PTOKEN_SOURCE, SECURITY_LOGON_TYPE, PUNICODE_STRING, PHANDLE, PLUID, PUNICODE_STRING, PNTSTATUS)
Definition: ntsecpkg.h:264
NTSTATUS(NTAPI * PLSA_ALLOCATE_CLIENT_BUFFER)(PLSA_CLIENT_REQUEST, ULONG, PVOID *)
Definition: ntsecpkg.h:223
struct _SecPkgInfoW * PSecPkgInfoW
struct _SECURITY_STRING * PSECURITY_STRING
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer
Definition: ntsecpkg.h:303
PLSA_DELETE_CREDENTIAL DeleteCredential
Definition: ntsecpkg.h:298
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer
Definition: ntsecpkg.h:301
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer
Definition: ntsecpkg.h:302
PLSA_FREE_LSA_HEAP FreeLsaHeap
Definition: ntsecpkg.h:300
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer
Definition: ntsecpkg.h:304
PLSA_CREATE_LOGON_SESSION CreateLogonSession
Definition: ntsecpkg.h:294
PLSA_ADD_CREDENTIAL AddCredential
Definition: ntsecpkg.h:296
PLSA_DELETE_LOGON_SESSION DeleteLogonSession
Definition: ntsecpkg.h:295
PLSA_GET_CREDENTIALS GetCredentials
Definition: ntsecpkg.h:297
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap
Definition: ntsecpkg.h:299
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer
Definition: ntsecpkg.h:316
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap
Definition: ntsecpkg.h:314
PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN ExpandAuthDataForDomain
Definition: ntsecpkg.h:362
PLSA_FREE_LSA_HEAP FreeReturnBuffer
Definition: ntsecpkg.h:332
PLSA_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough
Definition: ntsecpkg.h:349
PLSA_DELETE_SHARED_MEMORY DeleteSharedMemory
Definition: ntsecpkg.h:338
PLSA_DELETE_CREDENTIAL DeleteCredential
Definition: ntsecpkg.h:313
PLSA_PROTECT_MEMORY DummyFunction1
Definition: ntsecpkg.h:355
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer
Definition: ntsecpkg.h:318
PLSA_DUPLICATE_HANDLE DuplicateHandle
Definition: ntsecpkg.h:322
PLSA_CRACK_SINGLE_NAME CrackSingleName
Definition: ntsecpkg.h:347
PLSA_CALL_PACKAGE CallPackage
Definition: ntsecpkg.h:331
PLSA_FREE_PRIVATE_HEAP FreePrivateHeap
Definition: ntsecpkg.h:364
PLSA_GET_AUTH_DATA_FOR_USER GetAuthDataForUser
Definition: ntsecpkg.h:346
PLSA_AUDIT_LOGON AuditLogon
Definition: ntsecpkg.h:330
PLSA_OPEN_SAM_USER OpenSamUser
Definition: ntsecpkg.h:339
PLSA_PROTECT_MEMORY LsaUnprotectMemory
Definition: ntsecpkg.h:360
PLSA_ADD_CREDENTIAL AddCredential
Definition: ntsecpkg.h:311
PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials
Definition: ntsecpkg.h:323
PLSA_GET_USER_AUTH_DATA GetUserAuthData
Definition: ntsecpkg.h:341
PLSA_PROTECT_MEMORY LsaProtectMemory
Definition: ntsecpkg.h:359
PLSA_CANCEL_NOTIFICATION CancelNotification
Definition: ntsecpkg.h:327
PLSA_FREE_SHARED_MEMORY FreeSharedMemory
Definition: ntsecpkg.h:337
PLSA_CREATE_THREAD CreateThread
Definition: ntsecpkg.h:324
PLSA_CREATE_LOGON_SESSION CreateLogonSession
Definition: ntsecpkg.h:309
PLSA_GET_CALL_INFO GetCallInfo
Definition: ntsecpkg.h:333
PLSA_REGISTER_NOTIFICATION RegisterNotification
Definition: ntsecpkg.h:326
PLSA_UNLOAD_PACKAGE UnloadPackage
Definition: ntsecpkg.h:321
PLSA_CALL_PACKAGEEX CallPackageEx
Definition: ntsecpkg.h:334
PLSA_GET_CREDENTIALS GetCredentials
Definition: ntsecpkg.h:312
PLSA_DELETE_LOGON_SESSION DeleteLogonSession
Definition: ntsecpkg.h:310
PLSA_AUDIT_ACCOUNT_LOGON AuditAccountLogon
Definition: ntsecpkg.h:348
PLSA_PROTECT_MEMORY DummyFunction2
Definition: ntsecpkg.h:356
PLSA_CREATE_TOKEN CreateToken
Definition: ntsecpkg.h:329
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer
Definition: ntsecpkg.h:317
PLSA_GET_USER_CREDENTIALS GetUserCredentials
Definition: ntsecpkg.h:340
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer
Definition: ntsecpkg.h:319
PLSA_IMPERSONATE_CLIENT ImpersonateClient
Definition: ntsecpkg.h:320
PLSA_CREATE_SHARED_MEMORY CreateSharedMemory
Definition: ntsecpkg.h:335
PLSA_PROTECT_MEMORY DummyFunction3
Definition: ntsecpkg.h:357
PLSA_CLOSE_SAM_USER CloseSamUser
Definition: ntsecpkg.h:342
PLSA_MAP_BUFFER MapBuffer
Definition: ntsecpkg.h:328
PLSA_FREE_LSA_HEAP FreeLsaHeap
Definition: ntsecpkg.h:315
PLSA_UPDATE_PRIMARY_CREDENTIALS UpdateCredentials
Definition: ntsecpkg.h:345
PLSA_OPEN_TOKEN_BY_LOGON_ID OpenTokenByLogonId
Definition: ntsecpkg.h:361
PLSA_ALLOCATE_PRIVATE_HEAP AllocatePrivateHeap
Definition: ntsecpkg.h:363
PLSA_CLIENT_CALLBACK ClientCallback
Definition: ntsecpkg.h:344
PLSA_CONVERT_AUTH_DATA_TO_TOKEN ConvertAuthDataToToken
Definition: ntsecpkg.h:343
PLSA_GET_CLIENT_INFO GetClientInfo
Definition: ntsecpkg.h:325
PLSA_ALLOCATE_SHARED_MEMORY AllocateSharedMemory
Definition: ntsecpkg.h:336
LARGE_INTEGER ExpirationTime
Definition: authpackage.c:22
TOKEN_PRIMARY_GROUP PrimaryGroup
Definition: authpackage.c:31
PTOKEN_PRIVILEGES Privileges
Definition: authpackage.c:32
TOKEN_DEFAULT_DACL DefaultDacl
Definition: authpackage.c:34
LARGE_INTEGER ExpirationTime
Definition: authpackage.c:28
BOOLEAN Impersonating
Definition: ntsecpkg.h:130
BOOLEAN HasTcbPrivilege
Definition: ntsecpkg.h:129
BOOLEAN Restricted
Definition: ntsecpkg.h:131
PLSA_REGISTER_CALLBACK RegisterCallback
Definition: ntsecpkg.h:289
PLSA_ALLOCATE_LSA_HEAP AllocateHeap
Definition: ntsecpkg.h:287
PLSA_FREE_LSA_HEAP FreeHeap
Definition: ntsecpkg.h:288
SECPKG_WOW_CLIENT_DLL WowClientDll
Definition: ntsecpkg.h:186
SECPKG_MUTUAL_AUTH_LEVEL MutualAuthLevel
Definition: ntsecpkg.h:185
union _SECPKG_EXTENDED_INFORMATION::@3146 Info
SECPKG_EXTENDED_INFORMATION_CLASS Class
Definition: ntsecpkg.h:181
SECPKG_GSS_INFO GssInfo
Definition: ntsecpkg.h:183
SECPKG_EXTRA_OIDS ExtraOids
Definition: ntsecpkg.h:187
SECPKG_CONTEXT_THUNKS ContextThunks
Definition: ntsecpkg.h:184
SECPKG_SERIALIZED_OID Oids[1]
Definition: ntsecpkg.h:170
SpGetInfoFn * GetInfo
Definition: ntsecpkg.h:475
SpAcceptCredentialsFn * AcceptCredentials
Definition: ntsecpkg.h:476
SpGetExtendedInformationFn * GetExtendedInformation
Definition: ntsecpkg.h:488
SpAcceptLsaModeContextFn * AcceptLsaModeContext
Definition: ntsecpkg.h:484
SpDeleteContextFn * DeleteContext
Definition: ntsecpkg.h:485
SpChangeAccountPasswordFn * ChangeAccountPassword
Definition: ntsecpkg.h:497
SpGetCredUIContextFn * GetCredUIContext
Definition: ntsecpkg.h:501
SpInitializeFn * Initialize
Definition: ntsecpkg.h:473
SpDeleteCredentialsFn * DeleteCredentials
Definition: ntsecpkg.h:482
SpAcquireCredentialsHandleFn * SpAcquireCredentialsHandle
Definition: ntsecpkg.h:477
SpQueryContextAttributesFn * SpQueryContextAttributes
Definition: ntsecpkg.h:489
SpExchangeMetaDataFn * ExchangeMetaData
Definition: ntsecpkg.h:500
SpSetContextAttributesFn * SetContextAttributes
Definition: ntsecpkg.h:493
SpFreeCredentialsHandleFn * FreeCredentialsHandle
Definition: ntsecpkg.h:479
LSA_AP_POST_LOGON_USER * PostLogonUser
Definition: ntsecpkg.h:506
PLSA_AP_INITIALIZE_PACKAGE InitializePackage
Definition: ntsecpkg.h:465
PLSA_AP_CALL_PACKAGE CallPackage
Definition: ntsecpkg.h:467
SpSetCredentialsAttributesFn * SetCredentialsAttributes
Definition: ntsecpkg.h:495
PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough
Definition: ntsecpkg.h:470
SpInitLsaModeContextFn * InitLsaModeContext
Definition: ntsecpkg.h:483
SpQueryMetaDataFn * QueryMetaData
Definition: ntsecpkg.h:499
SpValidateTargetInfoFn * ValidateTargetInfo
Definition: ntsecpkg.h:504
PLSA_AP_LOGON_TERMINATED LogonTerminated
Definition: ntsecpkg.h:468
SpApplyControlTokenFn * ApplyControlToken
Definition: ntsecpkg.h:486
PLSA_AP_LOGON_USER_EX2 LogonUserEx2
Definition: ntsecpkg.h:472
PLSA_AP_LOGON_USER LsaLogonUser
Definition: ntsecpkg.h:466
PLSA_AP_LOGON_USER_EX LogonUserEx
Definition: ntsecpkg.h:471
SpGetUserInfoFn * GetUserInfo
Definition: ntsecpkg.h:487
SpQueryCredentialsAttributesFn * SpQueryCredentialsAttributes
Definition: ntsecpkg.h:478
SpUpdateCredentialsFn * UpdateCredentials
Definition: ntsecpkg.h:502
SpAddCredentialsFn * SpAddCredentials
Definition: ntsecpkg.h:490
SpGetCredentialsFn * GetCredentials
Definition: ntsecpkg.h:481
PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted
Definition: ntsecpkg.h:469
SpSetExtendedInformationFn * SetExtendedInformation
Definition: ntsecpkg.h:491
SpShutDownFn * Shutdown
Definition: ntsecpkg.h:474
SpSaveCredentialsFn * SaveCredentials
Definition: ntsecpkg.h:480
UCHAR EncodedId[4]
Definition: ntsecpkg.h:145
ULONG EncodedIdLength
Definition: ntsecpkg.h:144
UNICODE_STRING DnsDomainName
Definition: ntsecpkg.h:120
UNICODE_STRING DomainName
Definition: ntsecpkg.h:119
Definition: ntsecpkg.h:196
LUID LogonId
Definition: ntsecpkg.h:198
LUID LinkedLogonId
Definition: ntsecpkg.h:199
ULONG Flags
Definition: ntsecpkg.h:197
UNICODE_STRING Spare4
Definition: ntsecpkg.h:100
UNICODE_STRING Spare1
Definition: ntsecpkg.h:97
UNICODE_STRING DnsDomainName
Definition: ntsecpkg.h:94
UNICODE_STRING LogonServer
Definition: ntsecpkg.h:96
UNICODE_STRING Spare3
Definition: ntsecpkg.h:99
UNICODE_STRING Password
Definition: ntsecpkg.h:90
UNICODE_STRING Spare2
Definition: ntsecpkg.h:98
UNICODE_STRING DomainName
Definition: ntsecpkg.h:89
UNICODE_STRING DownlevelName
Definition: ntsecpkg.h:88
UNICODE_STRING OldPassword
Definition: ntsecpkg.h:91
UNICODE_STRING Upn
Definition: ntsecpkg.h:95
UCHAR OidValue[SECPKG_MAX_OID_LENGTH]
Definition: ntsecpkg.h:165
SECPKG_SUPPLEMENTAL_CRED Credentials[1]
Definition: ntsecpkg.h:111
UNICODE_STRING PackageName
Definition: ntsecpkg.h:104
PCWSTR ComputerName
Definition: ntsecpkg.h:193
SpInstanceInitFn * InstanceInit
Definition: ntsecpkg.h:513
SpMakeSignatureFn * MakeSignature
Definition: ntsecpkg.h:515
SpQueryContextAttributesFn * SpQueryContextAttributes
Definition: ntsecpkg.h:520
SpVerifySignatureFn * VerifySignature
Definition: ntsecpkg.h:516
SpFormatCredentialsFn * FormatCredentials
Definition: ntsecpkg.h:523
SpSealMessageFn * SealMessage
Definition: ntsecpkg.h:517
SpGetContextTokenFn * GetContextToken
Definition: ntsecpkg.h:519
SpImportSecurityContextFn * ImportContext
Definition: ntsecpkg.h:526
SpDeleteContextFn * DeleteUserModeContext
Definition: ntsecpkg.h:522
SpInitUserModeContextFn * InitUserModeContext
Definition: ntsecpkg.h:514
SpMarshallSupplementalCredsFn * MarshallSupplementalCreds
Definition: ntsecpkg.h:524
SpCompleteAuthTokenFn * CompleteAuthToken
Definition: ntsecpkg.h:521
SpUnsealMessageFn * UnsealMessage
Definition: ntsecpkg.h:518
SpExportSecurityContextFn * ExportContext
Definition: ntsecpkg.h:525
SECURITY_STRING WowClientDllPath
Definition: ntsecpkg.h:158
SECURITY_STRING LogonServer
Definition: ntsecpkg.h:138
SECURITY_STRING UserName
Definition: ntsecpkg.h:136
SECURITY_STRING LogonDomainName
Definition: ntsecpkg.h:137
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)
Definition: winbase.h:729
#define WINAPI
Definition: msvc.h:6
struct _TOKEN_GROUPS * PTOKEN_GROUPS
unsigned char UCHAR
Definition: xmlstorage.h:181
WCHAR * LPWSTR
Definition: xmlstorage.h:184