SECPKG_FUNCTION_TABLE structure (ntsecpkg.h)
The SECPKG_FUNCTION_TABLE structure contains pointers to the LSA functions that a security package must implement. The Local Security Authority (LSA) obtains this structure from an SSP/AP DLL when it calls the SpLsaModeInitialize function.
Syntax
typedef struct _SECPKG_FUNCTION_TABLE {
PLSA_AP_INITIALIZE_PACKAGE InitializePackage;
PLSA_AP_LOGON_USER LogonUser;
PLSA_AP_CALL_PACKAGE CallPackage;
PLSA_AP_LOGON_TERMINATED LogonTerminated;
PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted;
PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
PLSA_AP_LOGON_USER_EX LogonUserEx;
PLSA_AP_LOGON_USER_EX2 LogonUserEx2;
SpInitializeFn *Initialize;
SpShutdownFn *Shutdown;
SpGetInfoFn *GetInfo;
SpAcceptCredentialsFn *AcceptCredentials;
SpAcquireCredentialsHandleFn *AcquireCredentialsHandle;
SpQueryCredentialsAttributesFn *QueryCredentialsAttributes;
SpFreeCredentialsHandleFn *FreeCredentialsHandle;
SpSaveCredentialsFn *SaveCredentials;
SpGetCredentialsFn *GetCredentials;
SpDeleteCredentialsFn *DeleteCredentials;
SpInitLsaModeContextFn *InitLsaModeContext;
SpAcceptLsaModeContextFn *AcceptLsaModeContext;
SpDeleteContextFn *DeleteContext;
SpApplyControlTokenFn *ApplyControlToken;
SpGetUserInfoFn *GetUserInfo;
SpGetExtendedInformationFn *GetExtendedInformation;
SpQueryContextAttributesFn *QueryContextAttributes;
SpAddCredentialsFn *AddCredentials;
SpSetExtendedInformationFn *SetExtendedInformation;
SpSetContextAttributesFn *SetContextAttributes;
SpSetCredentialsAttributesFn *SetCredentialsAttributes;
SpChangeAccountPasswordFn *ChangeAccountPassword;
SpQueryMetaDataFn *QueryMetaData;
SpExchangeMetaDataFn *ExchangeMetaData;
SpGetCredUIContextFn *GetCredUIContext;
SpUpdateCredentialsFn *UpdateCredentials;
SpValidateTargetInfoFn *ValidateTargetInfo;
LSA_AP_POST_LOGON_USER *PostLogonUser;
SpGetRemoteCredGuardLogonBufferFn *GetRemoteCredGuardLogonBuffer;
SpGetRemoteCredGuardSupplementalCredsFn *GetRemoteCredGuardSupplementalCreds;
SpGetTbalSupplementalCredsFn *GetTbalSupplementalCreds;
PLSA_AP_LOGON_USER_EX3 LogonUserEx3;
PLSA_AP_PRE_LOGON_USER_SURROGATE PreLogonUserSurrogate;
PLSA_AP_POST_LOGON_USER_SURROGATE PostLogonUserSurrogate;
SpExtractTargetInfoFn *ExtractTargetInfo;
} SECPKG_FUNCTION_TABLE, *PSECPKG_FUNCTION_TABLE;
Members
InitializePackage
Pointer to the LsaApInitializePackage function.
LogonUser
Pointer to the LogonUser function.
CallPackage
Pointer to the CallPackage function.
LogonTerminated
Pointer to the LsaApLogonTerminated function.
CallPackageUntrusted
Pointer to the LsaApCallPackageUntrusted function.
CallPackagePassthrough
Pointer to the CallPackagePassthrough function.
LogonUserEx
Pointer to the LogonUserEx function.
LogonUserEx2
Pointer to the LsaApLogonUserEx2 function.
Initialize
Pointer to the SpInitialize function.
Shutdown
Pointer to the SpShutdown function.
GetInfo
Pointer to the SpGetInfo function.
AcceptCredentials
Pointer to the SpAcceptCredentials function.
AcquireCredentialsHandle
Pointer to the AcquireCredentialsHandle function.
QueryCredentialsAttributes
Pointer to the QueryCredentialsAttributes function.
FreeCredentialsHandle
Pointer to the FreeCredentialsHandle function.
SaveCredentials
Pointer to the SpSaveCredentials function.
GetCredentials
Pointer to the GetCredentials function.
DeleteCredentials
Pointer to the SpDeleteCredentials function.
InitLsaModeContext
Pointer to the SpInitLsaModeContext function.
AcceptLsaModeContext
Pointer to the SpAcceptLsaModeContext function.
DeleteContext
Pointer to the SpDeleteContext function.
ApplyControlToken
Pointer to the ApplyControlToken function.
GetUserInfo
Pointer to the SpGetUserInfo function.
GetExtendedInformation
Pointer to the SpGetExtendedInformation function.
QueryContextAttributes
Pointer to the QueryContextAttributes (General) function.
AddCredentials
Pointer to the SpAddCredentials function.
SetExtendedInformation
Pointer to the SpSetExtendedInformation function.
SetContextAttributes
Pointer to the SetContextAttributes function.
SetCredentialsAttributes
Pointer to the SetCredentialsAttributes function.
ChangeAccountPassword
Pointer to the ChangeAccountPassword function.
QueryMetaData
Pointer to the QueryMetaData function.
ExchangeMetaData
Pointer to the ExchangeMetaData function.
GetCredUIContext
Pointer to the GetCredUIContext function.
UpdateCredentials
Pointer to the UpdateCredentials function.
ValidateTargetInfo
Pointer to the SpValidateTargetInfoFn function.
PostLogonUser
GetRemoteCredGuardLogonBuffer
GetRemoteCredGuardSupplementalCreds
GetTbalSupplementalCreds
LogonUserEx3
PreLogonUserSurrogate
PostLogonUserSurrogate
ExtractTargetInfo
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntsecpkg.h |