estructura LSA_SECPKG_FUNCTION_TABLE (ntsecpkg.h)

La estructura LSA_SECPKG_FUNCTION_TABLE contiene punteros a las funciones de LSA a las que puede llamar un paquete de seguridad . La autoridad de seguridad local (LSA) pasa esta estructura a un paquete de seguridad cuando llama a la función SpInitialize del paquete.

Sintaxis

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;

Miembros

CreateLogonSession

Puntero a la función CreateLogonSession .

DeleteLogonSession

Puntero a la función DeleteLogonSession .

AddCredential

Puntero a la función AddCredential .

GetCredentials

Puntero a la función GetCredentials .

DeleteCredential

Puntero a la función DeleteCredential .

AllocateLsaHeap

Puntero a la función AllocateLsaHeap .

FreeLsaHeap

Puntero a la función FreeLsaHeap .

AllocateClientBuffer

Puntero a la función AllocateClientBuffer .

FreeClientBuffer

Puntero a la función FreeClientBuffer .

CopyToClientBuffer

Puntero a la función CopyToClientBuffer .

CopyFromClientBuffer

Puntero a la función CopyFromClientBuffer .

ImpersonateClient

Puntero a la función ImpersonateClient .

UnloadPackage

Puntero a la función UnloadPackage .

DuplicateHandle

Puntero a la función DuplicateHandle .

SaveSupplementalCredentials

Puntero a la función SaveSupplementalCredentials .

CreateThread

Puntero a la función CreateThread .

GetClientInfo

Puntero a la función GetClientInfo .

RegisterNotification

Puntero a la función RegisterNotification .

CancelNotification

Puntero a la función CancelNotification .

MapBuffer

Puntero a la función MapBuffer .

CreateToken

Puntero a la función CreateToken .

AuditLogon

Puntero a la función AuditLogon .

CallPackage

Puntero a la función CallPackage .

FreeReturnBuffer

Puntero a la función FreeReturnBuffer .

GetCallInfo

Puntero a la función GetCallInfo .

CallPackageEx

Puntero a la función CallPackageEx .

CreateSharedMemory

Puntero a la función CreateSharedMemory .

AllocateSharedMemory

Puntero a la función AllocateSharedMemory .

FreeSharedMemory

Puntero a la función FreeSharedMemory .

DeleteSharedMemory

Puntero a la función DeleteSharedMemory .

OpenSamUser

Puntero a la función OpenSamUser .

GetUserCredentials

Puntero a la función GetUserCredentials .

GetUserAuthData

Puntero a la función GetUserAuthData .

CloseSamUser

Puntero a la función CloseSamUser .

ConvertAuthDataToToken

Puntero a la función ConvertAuthDataToToken .

ClientCallback

Puntero a la función ClientCallback .

UpdateCredentials

Puntero a la función UpdateCredentials .

GetAuthDataForUser

Puntero a la función GetAuthDataForUser .

CrackSingleName

Puntero a la función CrackSingleName .

AuditAccountLogon

Puntero a la función AuditAccountLogon .

CallPackagePassthrough

Puntero a la función CallPackagePassthrough .

CrediRead

Puntero a la función CrediRead .

CrediReadDomainCredentials

Puntero a la función CrediReadDomainCredentials .

CrediFreeCredentials

Puntero a la función CrediFreeCredentials .

DummyFunction1

DummyFunction2

DummyFunction3

LsaProtectMemory

Puntero a la función LsaProtectMemory .

LsaUnprotectMemory

Puntero a la función LsaUnprotectMemory .

OpenTokenByLogonId

Puntero a la función OpenTokenByLogonId .

ExpandAuthDataForDomain

Puntero a la función ExpandAuthDataForDomain .

AllocatePrivateHeap

Puntero a la función AllocatePrivateHeap .

FreePrivateHeap

Puntero a la función FreePrivateHeap .

CreateTokenEx

Puntero a la función CreateTokenEx .

CrediWrite

Puntero a la función CrediWrite .

CrediUnmarshalandDecodeString

Puntero a la función CrediUnmarshalandDecodeString .

Windows Server 2003 y Windows XP: Esta función no se implementa.

DummyFunction4

DummyFunction5

DummyFunction6

Se introdujo en Windows 8 y versiones posteriores solo para uso interno de Microsoft.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 y Windows XP: Esta función no se implementa.

GetExtendedCallFlags

Puntero a la función GetExtendedCallFlags .

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 y Windows XP: Esta función no se implementa.

DuplicateTokenHandle

Puntero a la función DuplicateTokenHandle .

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 y Windows XP: Esta función no se implementa.

GetServiceAccountPassword

Puntero a la función GetServiceAccountPassword .

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 y Windows XP: Esta función no se implementa.

DummyFunction7

Se introdujo en Windows 8 y versiones posteriores solo para uso interno de Microsoft.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 y Windows XP: Esta función no se implementa.

AuditLogonEx

Puntero a la función AuditLogonEx .

CheckProtectedUserByToken

Puntero a la función CheckProtectedUserByToken .

QueryClientRequest

Puntero a la función QueryClientRequest .

GetAppModeInfo

Puntero a la función GetAppModeInfo .

SetAppModeInfo

Puntero a la función SetAppModeInfo .

GetClientInfoEx

Requisitos

Requisito Value
Cliente mínimo compatible Windows XP [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2003 [solo aplicaciones de escritorio]
Encabezado ntsecpkg.h