共用方式為


SECPKG_FUNCTION_TABLE 結構 (ntsecpkg.h)

SECPKG_FUNCTION_TABLE 結構包含安全性套件必須實作之 LSA 函式的指標。 本機安全性授權單位 (LSA) 呼叫 SpLsaModeInitialize 函式時,會從 SSP/AP DLL 取得此結構。

語法

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;

成員

InitializePackage

LsaApInitializePackage 函式的指標。

LogonUser

LogonUser 函式的指標。

CallPackage

CallPackage 函式的指標。

LogonTerminated

LsaApLogonTerminated 函式的指標。

CallPackageUntrusted

LsaApCallPackageUntrusted 函式的指標。

CallPackagePassthrough

CallPackagePassthrough 函式的指標。

LogonUserEx

LogonUserEx 函式的指標。

LogonUserEx2

LsaApLogonUserEx2 函式的指標。

Initialize

SpInitialize 函式的指標。

Shutdown

SpShutdown 函式的指標。

GetInfo

SpGetInfo 函式的指標。

AcceptCredentials

SpAcceptCredentials 函式的指標。

AcquireCredentialsHandle

AcquireCredentialsHandle 函式的指標。

QueryCredentialsAttributes

QueryCredentialsAttributes 函式的指標。

FreeCredentialsHandle

FreeCredentialsHandle 函式的指標。

SaveCredentials

SpSaveCredentials 函式的指標。

GetCredentials

GetCredentials 函式的指標。

DeleteCredentials

SpDeleteCredentials 函式的指標。

InitLsaModeContext

SpInitLsaModeContext 函式的指標。

AcceptLsaModeContext

SpAcceptLsaModeContext 函式的指標。

DeleteContext

SpDeleteContext 函式的指標。

ApplyControlToken

ApplyControlToken 函式的指標。

GetUserInfo

SpGetUserInfo 函式的指標。

GetExtendedInformation

SpGetExtendedInformation 函式的指標。

QueryContextAttributes

QueryContextAttributes (General) 函式的指標。

AddCredentials

SpAddCredentials 函式的指標。

SetExtendedInformation

SpSetExtendedInformation 函式的指標。

SetContextAttributes

SetContextAttributes 函式的指標。

SetCredentialsAttributes

SetCredentialsAttributes 函式的指標。

ChangeAccountPassword

ChangeAccountPassword 函式的指標。

QueryMetaData

QueryMetaData 函式的指標。

ExchangeMetaData

ExchangeMetaData 函式的指標。

GetCredUIContext

GetCredUIContext 函式的指標。

UpdateCredentials

UpdateCredentials 函式的指標。

ValidateTargetInfo

SpValidateTargetInfoFn 函式的指標。

PostLogonUser

GetRemoteCredGuardLogonBuffer

GetRemoteCredGuardSupplementalCreds

GetTbalSupplementalCreds

LogonUserEx3

PreLogonUserSurrogate

PostLogonUserSurrogate

ExtractTargetInfo

規格需求

需求
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
標頭 ntsecpkg.h