LSA_SECPKG_FUNCTION_TABLE 結構 (ntsecpkg.h)

LSA_SECPKG_FUNCTION_TABLE 結構包含安全性套件可以呼叫之 LSA 函式的指標。 本機安全性授權單位 (LSA) 呼叫套件的 SpInitialize 函式時,將此結構傳遞至安全性套件。

語法

typedef struct _LSA_SECPKG_FUNCTION_TABLE {
  PLSA_CREATE_LOGON_SESSION          CreateLogonSession;
  PLSA_DELETE_LOGON_SESSION          DeleteLogonSession;
  PLSA_ADD_CREDENTIAL                AddCredential;
  PLSA_GET_CREDENTIALS               GetCredentials;
  PLSA_DELETE_CREDENTIAL             DeleteCredential;
  PLSA_ALLOCATE_LSA_HEAP             AllocateLsaHeap;
  PLSA_FREE_LSA_HEAP                 FreeLsaHeap;
  PLSA_ALLOCATE_CLIENT_BUFFER        AllocateClientBuffer;
  PLSA_FREE_CLIENT_BUFFER            FreeClientBuffer;
  PLSA_COPY_TO_CLIENT_BUFFER         CopyToClientBuffer;
  PLSA_COPY_FROM_CLIENT_BUFFER       CopyFromClientBuffer;
  PLSA_IMPERSONATE_CLIENT            ImpersonateClient;
  PLSA_UNLOAD_PACKAGE                UnloadPackage;
  PLSA_DUPLICATE_HANDLE              DuplicateHandle;
  PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials;
  PLSA_CREATE_THREAD                 CreateThread;
  PLSA_GET_CLIENT_INFO               GetClientInfo;
  PLSA_REGISTER_NOTIFICATION         RegisterNotification;
  PLSA_CANCEL_NOTIFICATION           CancelNotification;
  PLSA_MAP_BUFFER                    MapBuffer;
  PLSA_CREATE_TOKEN                  CreateToken;
  PLSA_AUDIT_LOGON                   AuditLogon;
  PLSA_CALL_PACKAGE                  CallPackage;
  PLSA_FREE_LSA_HEAP                 FreeReturnBuffer;
  PLSA_GET_CALL_INFO                 GetCallInfo;
  PLSA_CALL_PACKAGEEX                CallPackageEx;
  PLSA_CREATE_SHARED_MEMORY          CreateSharedMemory;
  PLSA_ALLOCATE_SHARED_MEMORY        AllocateSharedMemory;
  PLSA_FREE_SHARED_MEMORY            FreeSharedMemory;
  PLSA_DELETE_SHARED_MEMORY          DeleteSharedMemory;
  PLSA_OPEN_SAM_USER                 OpenSamUser;
  PLSA_GET_USER_CREDENTIALS          GetUserCredentials;
  PLSA_GET_USER_AUTH_DATA            GetUserAuthData;
  PLSA_CLOSE_SAM_USER                CloseSamUser;
  PLSA_CONVERT_AUTH_DATA_TO_TOKEN    ConvertAuthDataToToken;
  PLSA_CLIENT_CALLBACK               ClientCallback;
  PLSA_UPDATE_PRIMARY_CREDENTIALS    UpdateCredentials;
  PLSA_GET_AUTH_DATA_FOR_USER        GetAuthDataForUser;
  PLSA_CRACK_SINGLE_NAME             CrackSingleName;
  PLSA_AUDIT_ACCOUNT_LOGON           AuditAccountLogon;
  PLSA_CALL_PACKAGE_PASSTHROUGH      CallPackagePassthrough;
  CredReadFn                         *CrediRead;
  CredReadDomainCredentialsFn        *CrediReadDomainCredentials;
  CredFreeCredentialsFn              *CrediFreeCredentials;
  PLSA_PROTECT_MEMORY                DummyFunction1;
  PLSA_PROTECT_MEMORY                DummyFunction2;
  PLSA_PROTECT_MEMORY                DummyFunction3;
  PLSA_PROTECT_MEMORY                LsaProtectMemory;
  PLSA_PROTECT_MEMORY                LsaUnprotectMemory;
  PLSA_OPEN_TOKEN_BY_LOGON_ID        OpenTokenByLogonId;
  PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN   ExpandAuthDataForDomain;
  PLSA_ALLOCATE_PRIVATE_HEAP         AllocatePrivateHeap;
  PLSA_FREE_PRIVATE_HEAP             FreePrivateHeap;
  PLSA_CREATE_TOKEN_EX               CreateTokenEx;
  CredWriteFn                        *CrediWrite;
  CrediUnmarshalandDecodeStringFn    *CrediUnmarshalandDecodeString;
  PLSA_PROTECT_MEMORY                DummyFunction4;
  PLSA_PROTECT_MEMORY                DummyFunction5;
  PLSA_PROTECT_MEMORY                DummyFunction6;
  PLSA_GET_EXTENDED_CALL_FLAGS       GetExtendedCallFlags;
  PLSA_DUPLICATE_HANDLE              DuplicateTokenHandle;
  PLSA_GET_SERVICE_ACCOUNT_PASSWORD  GetServiceAccountPassword;
  PLSA_PROTECT_MEMORY                DummyFunction7;
  PLSA_AUDIT_LOGON_EX                AuditLogonEx;
  PLSA_CHECK_PROTECTED_USER_BY_TOKEN CheckProtectedUserByToken;
  PLSA_QUERY_CLIENT_REQUEST          QueryClientRequest;
  PLSA_GET_APP_MODE_INFO             GetAppModeInfo;
  PLSA_SET_APP_MODE_INFO             SetAppModeInfo;
  PLSA_GET_CLIENT_INFO_EX            GetClientInfoEx;
} LSA_SECPKG_FUNCTION_TABLE, *PLSA_SECPKG_FUNCTION_TABLE;

成員

CreateLogonSession

CreateLogonSession 函式的指標。

DeleteLogonSession

DeleteLogonSession 函式的指標。

AddCredential

AddCredential 函式的指標。

GetCredentials

GetCredentials 函式的指標。

DeleteCredential

DeleteCredential 函式的指標。

AllocateLsaHeap

AllocateLsaHeap 函式的指標。

FreeLsaHeap

FreeLsaHeap 函式的指標。

AllocateClientBuffer

AllocateClientBuffer 函式的指標。

FreeClientBuffer

FreeClientBuffer 函式的指標。

CopyToClientBuffer

CopyToClientBuffer 函式的指標。

CopyFromClientBuffer

CopyFromClientBuffer 函式的指標。

ImpersonateClient

ImpersonateClient 函式的指標。

UnloadPackage

UnloadPackage 函式的指標。

DuplicateHandle

DuplicateHandle 函式的指標。

SaveSupplementalCredentials

SaveSupplementalCredentials 函式的指標。

CreateThread

CreateThread 函式的指標。

GetClientInfo

GetClientInfo 函式的指標。

RegisterNotification

RegisterNotification 函式的指標。

CancelNotification

CancelNotification 函式的指標。

MapBuffer

MapBuffer 函式的指標。

CreateToken

CreateToken 函式的指標。

AuditLogon

AuditLogon 函式的指標。

CallPackage

CallPackage 函式的指標。

FreeReturnBuffer

FreeReturnBuffer 函式的指標。

GetCallInfo

GetCallInfo 函式的指標。

CallPackageEx

CallPackageEx 函式的指標。

CreateSharedMemory

CreateSharedMemory 函式的指標。

AllocateSharedMemory

AllocateSharedMemory 函式的指標。

FreeSharedMemory

FreeSharedMemory 函式的指標。

DeleteSharedMemory

DeleteSharedMemory 函式的指標。

OpenSamUser

OpenSamUser 函式的指標。

GetUserCredentials

GetUserCredentials 函式的指標。

GetUserAuthData

GetUserAuthData 函式的指標。

CloseSamUser

CloseSamUser 函式的指標。

ConvertAuthDataToToken

ConvertAuthDataToToken 函式的指標。

ClientCallback

ClientCallback 函式的指標。

UpdateCredentials

UpdateCredentials 函式的指標。

GetAuthDataForUser

GetAuthDataForUser 函式的指標。

CrackSingleName

CrackSingleName 函式的指標。

AuditAccountLogon

AuditAccountLogon 函式的指標。

CallPackagePassthrough

CallPackagePassthrough 函式的指標。

CrediRead

一個與 一起執行程式 代碼函式的指標。

CrediReadDomainCredentials

一個 PointerReadDomainCredentials 函式的指標。

CrediFreeCredentials

與FreeFreeCredentials 函式的指標。

DummyFunction1

DummyFunction2

DummyFunction3

LsaProtectMemory

LsaProtectMemory 函式的指標。

LsaUnprotectMemory

LsaUnprotectMemory 函式的指標。

OpenTokenByLogonId

OpenTokenByLogonId 函式的指標。

ExpandAuthDataForDomain

ExpandAuthDataForDomain 函式的指標。

AllocatePrivateHeap

AllocatePrivateHeap 函式的指標。

FreePrivateHeap

FreePrivateHeap 函式的指標。

CreateTokenEx

CreateTokenEx 函式的指標。

CrediWrite

一個與 一起的PointerWrite 函式指標。

CrediUnmarshalandDecodeString

一個 PointerUnmarshalandDecodeString 函式的指標。

Windows Server 2003 和 Windows XP: 此函式未實作。

DummyFunction4

DummyFunction5

DummyFunction6

在 Windows 8 和更新版本中引進,僅供內部 Microsoft 使用。

Windows Server 2008 R2、Windows 7、Windows Server 2008、Windows Vista、Windows Server 2003 和 Windows XP: 此函式未實作。

GetExtendedCallFlags

GetExtendedCallFlags 函式的指標。

Windows Server 2008 R2、Windows 7、Windows Server 2008、Windows Vista、Windows Server 2003 和 Windows XP: 此函式未實作。

DuplicateTokenHandle

DuplicateTokenHandle 函式的指標。

Windows Server 2008 R2、Windows 7、Windows Server 2008、Windows Vista、Windows Server 2003 和 Windows XP: 此函式未實作。

GetServiceAccountPassword

GetServiceAccountPassword 函式的指標。

Windows Server 2008 R2、Windows 7、Windows Server 2008、Windows Vista、Windows Server 2003 和 Windows XP: 此函式未實作。

DummyFunction7

在 Windows 8 和更新版本中引進,僅供內部 Microsoft 使用。

Windows Server 2008 R2、Windows 7、Windows Server 2008、Windows Vista、Windows Server 2003 和 Windows XP: 此函式未實作。

AuditLogonEx

AuditLogonEx 函式的指標。

CheckProtectedUserByToken

CheckProtectedUserByToken 函式的指標。

QueryClientRequest

QueryClientRequest 函式的指標。

GetAppModeInfo

GetAppModeInfo 函式的指標。

SetAppModeInfo

SetAppModeInfo 函式的指標。

GetClientInfoEx

規格需求

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