ReactOS  0.4.14-dev-55-g2da92ac
ntsecpkg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _LSA_TOKEN_INFORMATION_NULL
 
struct  _LSA_TOKEN_INFORMATION_V1
 
struct  _SECPKG_PRIMARY_CRED
 
struct  _SECPKG_SUPPLEMENTAL_CRED
 
struct  _SECPKG_SUPPLEMENTAL_CRED_ARRAY
 
struct  _SECPKG_PARAMETERS
 
struct  _SECPKG_CLIENT_INFO
 
struct  _SECURITY_USER_DATA
 
struct  _SECPKG_GSS_INFO
 
struct  _SECPKG_CONTEXT_THUNKS
 
struct  _SECPKG_MUTUAL_AUTH_LEVEL
 
struct  _SECPKG_CALL_INFO
 
struct  _SECPKG_EXTENDED_INFORMATION
 
struct  _SECPKG_TARGETINFO
 
struct  _SECPKG_POST_LOGON_USER_INFO
 
struct  _SECPKG_DLL_FUNCTIONS
 
struct  _LSA_DISPATCH_TABLE
 
struct  _LSA_SECPKG_FUNCTION_TABLE
 
struct  _SECPKG_FUNCTION_TABLE
 
struct  _SECPKG_USER_FUNCTION_TABLE
 

Macros

#define SECPKG_STATE_ENCRYPTION_PERMITTED   0x01
 
#define SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED   0x02
 
#define SECPKG_STATE_DOMAIN_CONTROLLER   0x04
 
#define SECPKG_STATE_WORKSTATION   0x08
 
#define SECPKG_STATE_STANDALONE   0x10
 
#define SECPKG_INTERFACE_VERSION   0x10000
 
#define SECPKG_INTERFACE_VERSION_2   0x20000
 
#define SECPKG_INTERFACE_VERSION_3   0x40000
 
#define SECPKG_INTERFACE_VERSION_4   0x80000
 
#define SECPKG_INTERFACE_VERSION_5   0x100000
 
#define SECPKG_INTERFACE_VERSION_6   0x200000
 
#define SECPKG_INTERFACE_VERSION_7   0x400000
 

Typedefs

typedef enum _LSA_TOKEN_INFORMATION_TYPE LSA_TOKEN_INFORMATION_TYPE
 
typedef enum _LSA_TOKEN_INFORMATION_TYPEPLSA_TOKEN_INFORMATION_TYPE
 
typedef enum _SECPKG_EXTENDED_INFORMATION_CLASS SECPKG_EXTENDED_INFORMATION_CLASS
 
typedef enum _SECPKG_NAME_TYPE SECPKG_NAME_TYPE
 
typedef struct _LSA_TOKEN_INFORMATION_NULL LSA_TOKEN_INFORMATION_NULL
 
typedef struct _LSA_TOKEN_INFORMATION_NULLPLSA_TOKEN_INFORMATION_NULL
 
typedef struct _LSA_TOKEN_INFORMATION_V1 LSA_TOKEN_INFORMATION_V1
 
typedef struct _LSA_TOKEN_INFORMATION_V1PLSA_TOKEN_INFORMATION_V1
 
typedef LSA_TOKEN_INFORMATION_V1 LSA_TOKEN_INFORMATION_V2
 
typedef LSA_TOKEN_INFORMATION_V1PLSA_TOKEN_INFORMATION_V2
 
typedef struct _SECPKG_PRIMARY_CRED SECPKG_PRIMARY_CRED
 
typedef struct _SECPKG_PRIMARY_CREDPSECPKG_PRIMARY_CRED
 
typedef struct _SECPKG_SUPPLEMENTAL_CRED SECPKG_SUPPLEMENTAL_CRED
 
typedef struct _SECPKG_SUPPLEMENTAL_CREDPSECPKG_SUPPLEMENTAL_CRED
 
typedef struct _SECPKG_SUPPLEMENTAL_CRED_ARRAY SECPKG_SUPPLEMENTAL_CRED_ARRAY
 
typedef struct _SECPKG_SUPPLEMENTAL_CRED_ARRAYPSECPKG_SUPPLEMENTAL_CRED_ARRAY
 
typedef struct _SECPKG_PARAMETERS SECPKG_PARAMETERS
 
typedef struct _SECPKG_PARAMETERSPSECPKG_PARAMETERS
 
typedef struct _SECPKG_PARAMETERS SECPKG_EVENT_DOMAIN_CHANGE
 
typedef struct _SECPKG_PARAMETERSPSECPKG_EVENT_DOMAIN_CHANGE
 
typedef struct _SECPKG_CLIENT_INFO SECPKG_CLIENT_INFO
 
typedef struct _SECPKG_CLIENT_INFOPSECPKG_CLIENT_INFO
 
typedef struct _SECURITY_USER_DATA SECURITY_USER_DATA
 
typedef struct _SECURITY_USER_DATAPSECURITY_USER_DATA
 
typedef struct _SECURITY_USER_DATA SecurityUserData
 
typedef struct _SECURITY_USER_DATAPSecurityUserData
 
typedef struct _SECPKG_GSS_INFO SECPKG_GSS_INFO
 
typedef struct _SECPKG_GSS_INFOPSECPKG_GSS_INFO
 
typedef struct _SECPKG_CONTEXT_THUNKS SECPKG_CONTEXT_THUNKS
 
typedef struct _SECPKG_CONTEXT_THUNKSPSECPKG_CONTEXT_THUNKS
 
typedef struct _SECPKG_MUTUAL_AUTH_LEVEL SECPKG_MUTUAL_AUTH_LEVEL
 
typedef struct _SECPKG_MUTUAL_AUTH_LEVELPSECPKG_MUTUAL_AUTH_LEVEL
 
typedef struct _SECPKG_CALL_INFO SECPKG_CALL_INFO
 
typedef struct _SECPKG_CALL_INFOPSECPKG_CALL_INFO
 
typedef struct _SECPKG_EXTENDED_INFORMATION SECPKG_EXTENDED_INFORMATION
 
typedef struct _SECPKG_EXTENDED_INFORMATIONPSECPKG_EXTENDED_INFORMATION
 
typedef struct _SECPKG_TARGETINFO SECPKG_TARGETINFO
 
typedef struct _SECPKG_TARGETINFOPSECPKG_TARGETINFO
 
typedef struct _SECPKG_POST_LOGON_USER_INFO SECPKG_POST_LOGON_USER_INFO
 
typedef struct _SECPKG_POST_LOGON_USER_INFOPSECPKG_POST_LOGON_USER_INFO
 
typedef VOID(NTAPIPLSA_CALLBACK_FUNCTION) (ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)
 
typedef PVOIDPLSA_CLIENT_REQUEST
 
typedef ULONG LSA_SEC_HANDLE
 
typedef ULONGPLSA_SEC_HANDLE
 
typedef LPTHREAD_START_ROUTINE SEC_THREAD_START
 
typedef PSECURITY_ATTRIBUTES SEC_ATTRS
 
typedef NTSTATUS(NTAPIPLSA_REGISTER_CALLBACK) (ULONG, PLSA_CALLBACK_FUNCTION)
 
typedef NTSTATUS(NTAPIPLSA_CREATE_LOGON_SESSION) (PLUID)
 
typedef NTSTATUS(NTAPIPLSA_DELETE_LOGON_SESSION) (PLUID)
 
typedef NTSTATUS(NTAPIPLSA_ADD_CREDENTIAL) (PLUID, ULONG, PLSA_STRING, PLSA_STRING)
 
typedef NTSTATUS(NTAPIPLSA_GET_CREDENTIALS) (PLUID, ULONG, PULONG, BOOLEAN, PLSA_STRING, PULONG, PLSA_STRING)
 
typedef NTSTATUS(NTAPIPLSA_DELETE_CREDENTIAL) (PLUID, ULONG, PLSA_STRING)
 
typedef PVOID(NTAPIPLSA_ALLOCATE_LSA_HEAP) (ULONG)
 
typedef VOID(NTAPIPLSA_FREE_LSA_HEAP) (PVOID)
 
typedef NTSTATUS(NTAPIPLSA_ALLOCATE_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID *)
 
typedef NTSTATUS(NTAPIPLSA_FREE_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, PVOID)
 
typedef NTSTATUS(NTAPIPLSA_COPY_TO_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)
 
typedef NTSTATUS(NTAPIPLSA_COPY_FROM_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)
 
typedef NTSTATUS(NTAPIPLSA_IMPERSONATE_CLIENT) (void)
 
typedef NTSTATUS(NTAPIPLSA_UNLOAD_PACKAGE) (void)
 
typedef NTSTATUS(NTAPIPLSA_DUPLICATE_HANDLE) (HANDLE, PHANDLE)
 
typedef NTSTATUS(NTAPIPLSA_SAVE_SUPPLEMENTAL_CREDENTIALS) (PLUID, ULONG, PVOID, BOOLEAN)
 
typedef HANDLE(NTAPIPLSA_CREATE_THREAD) (SEC_ATTRS, ULONG, SEC_THREAD_START, PVOID, ULONG, PULONG)
 
typedef NTSTATUS(NTAPIPLSA_GET_CLIENT_INFO) (PSECPKG_CLIENT_INFO)
 
typedef HANDLE(NTAPIPLSA_REGISTER_NOTIFICATION) (SEC_THREAD_START, PVOID, ULONG, ULONG, ULONG, ULONG, HANDLE)
 
typedef NTSTATUS(NTAPIPLSA_CANCEL_NOTIFICATION) (HANDLE)
 
typedef NTSTATUS(NTAPIPLSA_MAP_BUFFER) (PSecBuffer, PSecBuffer)
 
typedef NTSTATUS(NTAPIPLSA_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)
 
typedef VOID(NTAPIPLSA_AUDIT_LOGON) (NTSTATUS, NTSTATUS, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, OPTIONAL PSID, SECURITY_LOGON_TYPE, PTOKEN_SOURCE, PLUID)
 
typedef NTSTATUS(NTAPIPLSA_CALL_PACKAGE) (PUNICODE_STRING, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef BOOLEAN(NTAPIPLSA_GET_CALL_INFO) (PSECPKG_CALL_INFO)
 
typedef NTSTATUS(NTAPIPLSA_CALL_PACKAGEEX) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef PVOID(NTAPIPLSA_CREATE_SHARED_MEMORY) (ULONG, ULONG)
 
typedef PVOID(NTAPIPLSA_ALLOCATE_SHARED_MEMORY) (PVOID, ULONG)
 
typedef VOID(NTAPIPLSA_FREE_SHARED_MEMORY) (PVOID, PVOID)
 
typedef BOOLEAN(NTAPIPLSA_DELETE_SHARED_MEMORY) (PVOID)
 
typedef NTSTATUS(NTAPIPLSA_OPEN_SAM_USER) (PUNICODE_STRING, SECPKG_NAME_TYPE, PUNICODE_STRING, BOOLEAN, ULONG, PVOID *)
 
typedef NTSTATUS(NTAPIPLSA_GET_USER_CREDENTIALS) (PVOID, PVOID *, PULONG, PVOID *, PULONG)
 
typedef NTSTATUS(NTAPIPLSA_GET_USER_AUTH_DATA) (PVOID, PUCHAR *, PULONG)
 
typedef NTSTATUS(NTAPIPLSA_CLOSE_SAM_USER) (PVOID)
 
typedef NTSTATUS(NTAPIPLSA_CONVERT_AUTH_DATA_TO_TOKEN) (PVOID, ULONG, SECURITY_IMPERSONATION_LEVEL, PTOKEN_SOURCE, SECURITY_LOGON_TYPE, PUNICODE_STRING, PHANDLE, PLUID, PUNICODE_STRING, PNTSTATUS)
 
typedef NTSTATUS(NTAPIPLSA_CLIENT_CALLBACK) (PCHAR, ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)
 
typedef NTSTATUS(NTAPIPLSA_UPDATE_PRIMARY_CREDENTIALS) (PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY)
 
typedef NTSTATUS(NTAPIPLSA_GET_AUTH_DATA_FOR_USER) (PUNICODE_STRING, SECPKG_NAME_TYPE, PUNICODE_STRING, PUCHAR *, PULONG, PUNICODE_STRING)
 
typedef NTSTATUS(NTAPIPLSA_CRACK_SINGLE_NAME) (ULONG, BOOLEAN, PUNICODE_STRING, PUNICODE_STRING, ULONG, PUNICODE_STRING, PUNICODE_STRING, PULONG)
 
typedef NTSTATUS(NTAPIPLSA_AUDIT_ACCOUNT_LOGON) (ULONG, BOOLEAN, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, NTSTATUS)
 
typedef NTSTATUS(NTAPIPLSA_CALL_PACKAGE_PASSTHROUGH) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef struct _SECPKG_DLL_FUNCTIONS SECPKG_DLL_FUNCTIONS
 
typedef struct _SECPKG_DLL_FUNCTIONSPSECPKG_DLL_FUNCTIONS
 
typedef struct _LSA_DISPATCH_TABLE LSA_DISPATCH_TABLE
 
typedef struct _LSA_DISPATCH_TABLEPLSA_DISPATCH_TABLE
 
typedef struct _LSA_SECPKG_FUNCTION_TABLE LSA_SECPKG_FUNCTION_TABLE
 
typedef struct _LSA_SECPKG_FUNCTION_TABLEPLSA_SECPKG_FUNCTION_TABLE
 
typedef NTSTATUS(NTAPIPLSA_AP_INITIALIZE_PACKAGE) (ULONG, PLSA_DISPATCH_TABLE, PLSA_STRING, PLSA_STRING, PLSA_STRING *)
 
typedef NTSTATUS(NTAPIPLSA_AP_LOGON_USER) (LPWSTR, LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, PHANDLE)
 
typedef NTSTATUS(NTAPIPLSA_AP_CALL_PACKAGE) (PUNICODE_STRING, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef VOID(NTAPIPLSA_AP_LOGON_TERMINATED) (PLUID)
 
typedef NTSTATUS(NTAPIPLSA_AP_CALL_PACKAGE_UNTRUSTED) (PLSA_CLIENT_REQUEST, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef NTSTATUS(NTAPIPLSA_AP_CALL_PACKAGE_PASSTHROUGH) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
typedef NTSTATUS(NTAPIPLSA_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 *)
 
typedef NTSTATUS(NTAPIPLSA_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 *)
 
typedef NTSTATUS() SpInitializeFn(ULONG_PTR, PSECPKG_PARAMETERS, PLSA_SECPKG_FUNCTION_TABLE)
 
typedef PSecurityUserData *typedef NTSTATUS(NTAPI SpGetExtendedInformationFn) (SECPKG_EXTENDED_INFORMATION_CLASS
 
typedef PSecurityUserData *typedef PSECPKG_EXTENDED_INFORMATION *typedef ULONG
 
typedef PSecurityUserData *typedef PSECPKG_EXTENDED_INFORMATION *typedef PVOID
 
typedef GUID PULONG
 
typedef GUID PUCHAR *typedef GUID PUCHAR
 
typedef PVOID *typedef PSecBuffer
 
typedef PVOID *typedef PHANDLE
 
typedef struct _SECPKG_FUNCTION_TABLE SECPKG_FUNCTION_TABLE
 
typedef struct _SECPKG_FUNCTION_TABLEPSECPKG_FUNCTION_TABLE
 
typedef struct _SECPKG_USER_FUNCTION_TABLE SECPKG_USER_FUNCTION_TABLE
 
typedef struct _SECPKG_USER_FUNCTION_TABLEPSECPKG_USER_FUNCTION_TABLE
 
typedef NTSTATUS(NTAPISpLsaModeInitializeFn) (ULONG, PULONG, PSECPKG_FUNCTION_TABLE *, PULONG)
 
typedef NTSTATUS(WINAPISpUserModeInitializeFn) (ULONG, PULONG, PSECPKG_USER_FUNCTION_TABLE *, PULONG)
 

Enumerations

enum  _LSA_TOKEN_INFORMATION_TYPE {
  LsaTokenInformationNull, LsaTokenInformationV1, LsaTokenInformationNull, LsaTokenInformationV1,
  LsaTokenInformationV2
}
 
enum  _SECPKG_EXTENDED_INFORMATION_CLASS { SecpkgGssInfo = 1, SecpkgContextThunks, SecpkgMutualAuthLevel, SecpkgMaxInfo }
 
enum  _SECPKG_NAME_TYPE { SecNameSamCompatible, SecNameAlternateId, SecNameFlat, SecNameDN }
 

Functions

typedef NTSTATUS (NTAPI SpShutDownFn)(void)
 

Variables

typedef PUNICODE_STRING
 
typedef PLUID
 
typedef PTimeStamp
 
typedef PSecBufferDesc
 
typedef PBOOLEAN
 
typedef BOOLEAN
 
typedef HANDLE
 

Macro Definition Documentation

◆ SECPKG_INTERFACE_VERSION

#define SECPKG_INTERFACE_VERSION   0x10000

Definition at line 34 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_2

#define SECPKG_INTERFACE_VERSION_2   0x20000

Definition at line 35 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_3

#define SECPKG_INTERFACE_VERSION_3   0x40000

Definition at line 36 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_4

#define SECPKG_INTERFACE_VERSION_4   0x80000

Definition at line 37 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_5

#define SECPKG_INTERFACE_VERSION_5   0x100000

Definition at line 38 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_6

#define SECPKG_INTERFACE_VERSION_6   0x200000

Definition at line 39 of file ntsecpkg.h.

◆ SECPKG_INTERFACE_VERSION_7

#define SECPKG_INTERFACE_VERSION_7   0x400000

Definition at line 40 of file ntsecpkg.h.

◆ SECPKG_STATE_DOMAIN_CONTROLLER

#define SECPKG_STATE_DOMAIN_CONTROLLER   0x04

Definition at line 29 of file ntsecpkg.h.

◆ SECPKG_STATE_ENCRYPTION_PERMITTED

#define SECPKG_STATE_ENCRYPTION_PERMITTED   0x01

Definition at line 27 of file ntsecpkg.h.

◆ SECPKG_STATE_STANDALONE

#define SECPKG_STATE_STANDALONE   0x10

Definition at line 31 of file ntsecpkg.h.

◆ SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED

#define SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED   0x02

Definition at line 28 of file ntsecpkg.h.

◆ SECPKG_STATE_WORKSTATION

#define SECPKG_STATE_WORKSTATION   0x08

Definition at line 30 of file ntsecpkg.h.

Typedef Documentation

◆ LSA_DISPATCH_TABLE

◆ LSA_SEC_HANDLE

typedef LSA_SEC_HANDLE

Definition at line 188 of file ntsecpkg.h.

◆ LSA_SECPKG_FUNCTION_TABLE

◆ LSA_TOKEN_INFORMATION_NULL

◆ LSA_TOKEN_INFORMATION_TYPE

◆ LSA_TOKEN_INFORMATION_V1

◆ LSA_TOKEN_INFORMATION_V2

Definition at line 82 of file ntsecpkg.h.

◆ NTSTATUS

typedef PVOID* typedef NTSTATUS(NTAPI SpExportSecurityContextFn)(LSA_SEC_HANDLE

Definition at line 371 of file ntsecpkg.h.

◆ PHANDLE

typedef PHANDLE

Definition at line 414 of file ntsecpkg.h.

◆ PLSA_ADD_CREDENTIAL

typedef NTSTATUS(NTAPI * PLSA_ADD_CREDENTIAL) (PLUID, ULONG, PLSA_STRING, PLSA_STRING)

Definition at line 196 of file ntsecpkg.h.

◆ PLSA_ALLOCATE_CLIENT_BUFFER

typedef NTSTATUS(NTAPI * PLSA_ALLOCATE_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID *)

Definition at line 203 of file ntsecpkg.h.

◆ PLSA_ALLOCATE_LSA_HEAP

typedef PVOID(NTAPI * PLSA_ALLOCATE_LSA_HEAP) (ULONG)

Definition at line 201 of file ntsecpkg.h.

◆ PLSA_ALLOCATE_SHARED_MEMORY

typedef PVOID(NTAPI * PLSA_ALLOCATE_SHARED_MEMORY) (PVOID, ULONG)

Definition at line 235 of file ntsecpkg.h.

◆ PLSA_AP_CALL_PACKAGE

typedef NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE) (PUNICODE_STRING, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 333 of file ntsecpkg.h.

◆ PLSA_AP_CALL_PACKAGE_PASSTHROUGH

typedef NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE_PASSTHROUGH) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 338 of file ntsecpkg.h.

◆ PLSA_AP_CALL_PACKAGE_UNTRUSTED

typedef NTSTATUS(NTAPI * PLSA_AP_CALL_PACKAGE_UNTRUSTED) (PLSA_CLIENT_REQUEST, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 336 of file ntsecpkg.h.

◆ PLSA_AP_INITIALIZE_PACKAGE

typedef NTSTATUS(NTAPI * PLSA_AP_INITIALIZE_PACKAGE) (ULONG, PLSA_DISPATCH_TABLE, PLSA_STRING, PLSA_STRING, PLSA_STRING *)

Definition at line 329 of file ntsecpkg.h.

◆ PLSA_AP_LOGON_TERMINATED

typedef VOID(NTAPI * PLSA_AP_LOGON_TERMINATED) (PLUID)

Definition at line 335 of file ntsecpkg.h.

◆ PLSA_AP_LOGON_USER

typedef NTSTATUS(NTAPI * PLSA_AP_LOGON_USER) (LPWSTR, LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, PHANDLE)

Definition at line 331 of file ntsecpkg.h.

◆ PLSA_AP_LOGON_USER_EX

◆ PLSA_AP_LOGON_USER_EX2

◆ PLSA_AUDIT_ACCOUNT_LOGON

typedef NTSTATUS(NTAPI * PLSA_AUDIT_ACCOUNT_LOGON) (ULONG, BOOLEAN, PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, NTSTATUS)

Definition at line 255 of file ntsecpkg.h.

◆ PLSA_AUDIT_LOGON

◆ PLSA_CALL_PACKAGE

typedef NTSTATUS(NTAPI * PLSA_CALL_PACKAGE) (PUNICODE_STRING, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 229 of file ntsecpkg.h.

◆ PLSA_CALL_PACKAGE_PASSTHROUGH

typedef NTSTATUS(NTAPI * PLSA_CALL_PACKAGE_PASSTHROUGH) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 257 of file ntsecpkg.h.

◆ PLSA_CALL_PACKAGEEX

typedef NTSTATUS(NTAPI * PLSA_CALL_PACKAGEEX) (PUNICODE_STRING, PVOID, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)

Definition at line 232 of file ntsecpkg.h.

◆ PLSA_CALLBACK_FUNCTION

typedef VOID(NTAPI * PLSA_CALLBACK_FUNCTION) (ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)

Definition at line 183 of file ntsecpkg.h.

◆ PLSA_CANCEL_NOTIFICATION

typedef NTSTATUS(NTAPI * PLSA_CANCEL_NOTIFICATION) (HANDLE)

Definition at line 220 of file ntsecpkg.h.

◆ PLSA_CLIENT_CALLBACK

typedef NTSTATUS(NTAPI * PLSA_CLIENT_CALLBACK) (PCHAR, ULONG_PTR, ULONG_PTR, PSecBuffer, PSecBuffer)

Definition at line 247 of file ntsecpkg.h.

◆ PLSA_CLIENT_REQUEST

Definition at line 187 of file ntsecpkg.h.

◆ PLSA_CLOSE_SAM_USER

typedef NTSTATUS(NTAPI * PLSA_CLOSE_SAM_USER) (PVOID)

Definition at line 243 of file ntsecpkg.h.

◆ PLSA_CONVERT_AUTH_DATA_TO_TOKEN

◆ PLSA_COPY_FROM_CLIENT_BUFFER

typedef NTSTATUS(NTAPI * PLSA_COPY_FROM_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)

Definition at line 208 of file ntsecpkg.h.

◆ PLSA_COPY_TO_CLIENT_BUFFER

typedef NTSTATUS(NTAPI * PLSA_COPY_TO_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, ULONG, PVOID, PVOID)

Definition at line 206 of file ntsecpkg.h.

◆ PLSA_CRACK_SINGLE_NAME

Definition at line 252 of file ntsecpkg.h.

◆ PLSA_CREATE_LOGON_SESSION

typedef NTSTATUS(NTAPI * PLSA_CREATE_LOGON_SESSION) (PLUID)

Definition at line 194 of file ntsecpkg.h.

◆ PLSA_CREATE_SHARED_MEMORY

typedef PVOID(NTAPI * PLSA_CREATE_SHARED_MEMORY) (ULONG, ULONG)

Definition at line 234 of file ntsecpkg.h.

◆ PLSA_CREATE_THREAD

typedef HANDLE(NTAPI * PLSA_CREATE_THREAD) (SEC_ATTRS, ULONG, SEC_THREAD_START, PVOID, ULONG, PULONG)

Definition at line 215 of file ntsecpkg.h.

◆ PLSA_CREATE_TOKEN

◆ PLSA_DELETE_CREDENTIAL

typedef NTSTATUS(NTAPI * PLSA_DELETE_CREDENTIAL) (PLUID, ULONG, PLSA_STRING)

Definition at line 200 of file ntsecpkg.h.

◆ PLSA_DELETE_LOGON_SESSION

typedef NTSTATUS(NTAPI * PLSA_DELETE_LOGON_SESSION) (PLUID)

Definition at line 195 of file ntsecpkg.h.

◆ PLSA_DELETE_SHARED_MEMORY

typedef BOOLEAN(NTAPI * PLSA_DELETE_SHARED_MEMORY) (PVOID)

Definition at line 237 of file ntsecpkg.h.

◆ PLSA_DISPATCH_TABLE

◆ PLSA_DUPLICATE_HANDLE

typedef NTSTATUS(NTAPI * PLSA_DUPLICATE_HANDLE) (HANDLE, PHANDLE)

Definition at line 212 of file ntsecpkg.h.

◆ PLSA_FREE_CLIENT_BUFFER

typedef NTSTATUS(NTAPI * PLSA_FREE_CLIENT_BUFFER) (PLSA_CLIENT_REQUEST, PVOID)

Definition at line 205 of file ntsecpkg.h.

◆ PLSA_FREE_LSA_HEAP

typedef VOID(NTAPI * PLSA_FREE_LSA_HEAP) (PVOID)

Definition at line 202 of file ntsecpkg.h.

◆ PLSA_FREE_SHARED_MEMORY

typedef VOID(NTAPI * PLSA_FREE_SHARED_MEMORY) (PVOID, PVOID)

Definition at line 236 of file ntsecpkg.h.

◆ PLSA_GET_AUTH_DATA_FOR_USER

Definition at line 250 of file ntsecpkg.h.

◆ PLSA_GET_CALL_INFO

typedef BOOLEAN(NTAPI * PLSA_GET_CALL_INFO) (PSECPKG_CALL_INFO)

Definition at line 231 of file ntsecpkg.h.

◆ PLSA_GET_CLIENT_INFO

typedef NTSTATUS(NTAPI * PLSA_GET_CLIENT_INFO) (PSECPKG_CLIENT_INFO)

Definition at line 217 of file ntsecpkg.h.

◆ PLSA_GET_CREDENTIALS

typedef NTSTATUS(NTAPI * PLSA_GET_CREDENTIALS) (PLUID, ULONG, PULONG, BOOLEAN, PLSA_STRING, PULONG, PLSA_STRING)

Definition at line 198 of file ntsecpkg.h.

◆ PLSA_GET_USER_AUTH_DATA

typedef NTSTATUS(NTAPI * PLSA_GET_USER_AUTH_DATA) (PVOID, PUCHAR *, PULONG)

Definition at line 242 of file ntsecpkg.h.

◆ PLSA_GET_USER_CREDENTIALS

typedef NTSTATUS(NTAPI * PLSA_GET_USER_CREDENTIALS) (PVOID, PVOID *, PULONG, PVOID *, PULONG)

Definition at line 240 of file ntsecpkg.h.

◆ PLSA_IMPERSONATE_CLIENT

typedef NTSTATUS(NTAPI * PLSA_IMPERSONATE_CLIENT) (void)

Definition at line 210 of file ntsecpkg.h.

◆ PLSA_MAP_BUFFER

typedef NTSTATUS(NTAPI * PLSA_MAP_BUFFER) (PSecBuffer, PSecBuffer)

Definition at line 221 of file ntsecpkg.h.

◆ PLSA_OPEN_SAM_USER

Definition at line 238 of file ntsecpkg.h.

◆ PLSA_REGISTER_CALLBACK

typedef NTSTATUS(NTAPI * PLSA_REGISTER_CALLBACK) (ULONG, PLSA_CALLBACK_FUNCTION)

Definition at line 193 of file ntsecpkg.h.

◆ PLSA_REGISTER_NOTIFICATION

typedef HANDLE(NTAPI * PLSA_REGISTER_NOTIFICATION) (SEC_THREAD_START, PVOID, ULONG, ULONG, ULONG, ULONG, HANDLE)

Definition at line 218 of file ntsecpkg.h.

◆ PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS

typedef NTSTATUS(NTAPI * PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS) (PLUID, ULONG, PVOID, BOOLEAN)

Definition at line 213 of file ntsecpkg.h.

◆ PLSA_SEC_HANDLE

typedef PLSA_SEC_HANDLE

Definition at line 188 of file ntsecpkg.h.

◆ PLSA_SECPKG_FUNCTION_TABLE

◆ PLSA_TOKEN_INFORMATION_NULL

◆ PLSA_TOKEN_INFORMATION_TYPE

◆ PLSA_TOKEN_INFORMATION_V1

◆ PLSA_TOKEN_INFORMATION_V2

Definition at line 82 of file ntsecpkg.h.

◆ PLSA_UNLOAD_PACKAGE

typedef NTSTATUS(NTAPI * PLSA_UNLOAD_PACKAGE) (void)

Definition at line 211 of file ntsecpkg.h.

◆ PLSA_UPDATE_PRIMARY_CREDENTIALS

typedef NTSTATUS(NTAPI * PLSA_UPDATE_PRIMARY_CREDENTIALS) (PSECPKG_PRIMARY_CRED, PSECPKG_SUPPLEMENTAL_CRED_ARRAY)

Definition at line 249 of file ntsecpkg.h.

◆ PSecBuffer

typedef PVOID *typedef PSecBuffer

Definition at line 400 of file ntsecpkg.h.

◆ PSECPKG_CALL_INFO

◆ PSECPKG_CLIENT_INFO

◆ PSECPKG_CONTEXT_THUNKS

◆ PSECPKG_DLL_FUNCTIONS

Definition at line 398 of file ntsecpkg.h.

◆ PSECPKG_EVENT_DOMAIN_CHANGE

◆ PSECPKG_EXTENDED_INFORMATION

Definition at line 378 of file ntsecpkg.h.

◆ PSECPKG_FUNCTION_TABLE

◆ PSECPKG_GSS_INFO

◆ PSECPKG_MUTUAL_AUTH_LEVEL

◆ PSECPKG_PARAMETERS

◆ PSECPKG_POST_LOGON_USER_INFO

◆ PSECPKG_PRIMARY_CRED

Definition at line 353 of file ntsecpkg.h.

◆ PSECPKG_SUPPLEMENTAL_CRED

Definition at line 353 of file ntsecpkg.h.

◆ PSECPKG_SUPPLEMENTAL_CRED_ARRAY

◆ PSECPKG_TARGETINFO

Definition at line 393 of file ntsecpkg.h.

◆ PSECPKG_USER_FUNCTION_TABLE

◆ PSECURITY_USER_DATA

◆ PSecurityUserData

◆ PUCHAR

typedef PUCHAR

Definition at line 391 of file ntsecpkg.h.

◆ PULONG

typedef PULONG

Definition at line 389 of file ntsecpkg.h.

◆ PVOID

typedef PVOID

Definition at line 373 of file ntsecpkg.h.

◆ SEC_ATTRS

Definition at line 190 of file ntsecpkg.h.

◆ SEC_THREAD_START

Definition at line 189 of file ntsecpkg.h.

◆ SECPKG_CALL_INFO

◆ SECPKG_CLIENT_INFO

◆ SECPKG_CONTEXT_THUNKS

◆ SECPKG_DLL_FUNCTIONS

◆ SECPKG_EVENT_DOMAIN_CHANGE

◆ SECPKG_EXTENDED_INFORMATION

◆ SECPKG_EXTENDED_INFORMATION_CLASS

◆ SECPKG_FUNCTION_TABLE

◆ SECPKG_GSS_INFO

◆ SECPKG_MUTUAL_AUTH_LEVEL

◆ SECPKG_NAME_TYPE

◆ SECPKG_PARAMETERS

◆ SECPKG_POST_LOGON_USER_INFO

◆ SECPKG_PRIMARY_CRED

◆ SECPKG_SUPPLEMENTAL_CRED

◆ SECPKG_SUPPLEMENTAL_CRED_ARRAY

◆ SECPKG_TARGETINFO

◆ SECPKG_USER_FUNCTION_TABLE

◆ SECURITY_USER_DATA

◆ SecurityUserData

◆ SpInitializeFn

Definition at line 348 of file ntsecpkg.h.

◆ SpLsaModeInitializeFn

typedef NTSTATUS(NTAPI * SpLsaModeInitializeFn) (ULONG, PULONG, PSECPKG_FUNCTION_TABLE *, PULONG)

Definition at line 491 of file ntsecpkg.h.

◆ SpUserModeInitializeFn

typedef NTSTATUS(WINAPI * SpUserModeInitializeFn) (ULONG, PULONG, PSECPKG_USER_FUNCTION_TABLE *, PULONG)

Definition at line 495 of file ntsecpkg.h.

◆ ULONG

typedef PVOID* typedef ULONG

Definition at line 373 of file ntsecpkg.h.

Enumeration Type Documentation

◆ _LSA_TOKEN_INFORMATION_TYPE

Enumerator
LsaTokenInformationNull 
LsaTokenInformationV1 
LsaTokenInformationNull 
LsaTokenInformationV1 
LsaTokenInformationV2 

Definition at line 43 of file ntsecpkg.h.

43  {
enum _LSA_TOKEN_INFORMATION_TYPE * PLSA_TOKEN_INFORMATION_TYPE
enum _LSA_TOKEN_INFORMATION_TYPE LSA_TOKEN_INFORMATION_TYPE

◆ _SECPKG_EXTENDED_INFORMATION_CLASS

Enumerator
SecpkgGssInfo 
SecpkgContextThunks 
SecpkgMutualAuthLevel 
SecpkgMaxInfo 

Definition at line 49 of file ntsecpkg.h.

50 {
51  SecpkgGssInfo = 1,
enum _SECPKG_EXTENDED_INFORMATION_CLASS SECPKG_EXTENDED_INFORMATION_CLASS

◆ _SECPKG_NAME_TYPE

Enumerator
SecNameSamCompatible 
SecNameAlternateId 
SecNameFlat 
SecNameDN 

Definition at line 57 of file ntsecpkg.h.

57  {
61  SecNameDN
enum _SECPKG_NAME_TYPE SECPKG_NAME_TYPE

Function Documentation

◆ NTSTATUS()

typedef NTSTATUS ( NTAPI  SpShutDownFn)

Variable Documentation

◆ BOOLEAN

typedef BOOLEAN

Definition at line 384 of file ntsecpkg.h.

◆ HANDLE

typedef HANDLE

Definition at line 416 of file ntsecpkg.h.

◆ PBOOLEAN

typedef PBOOLEAN

Definition at line 362 of file ntsecpkg.h.

◆ PLUID

typedef PLUID

Definition at line 354 of file ntsecpkg.h.

◆ PSecBufferDesc

typedef PSecBufferDesc

Definition at line 362 of file ntsecpkg.h.

◆ PTimeStamp

typedef PTimeStamp

Definition at line 354 of file ntsecpkg.h.

◆ PUNICODE_STRING

typedef PUNICODE_STRING

Definition at line 353 of file ntsecpkg.h.