Skip to content

Latest commit

 

History

History
93 lines (71 loc) · 3.52 KB

nc-ntsecpkg-lsa_ap_initialize_package.md

File metadata and controls

93 lines (71 loc) · 3.52 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:ntsecpkg.LSA_AP_INITIALIZE_PACKAGE
LSA_AP_INITIALIZE_PACKAGE (ntsecpkg.h)
Called once by the Local Security Authority (LSA) during system initialization to provide the authentication package a chance to initialize itself.
LSA_AP_INITIALIZE_PACKAGE
LSA_AP_INITIALIZE_PACKAGE callback
LsaApInitializePackage
LsaApInitializePackage callback function [Security]
_lsa_lsaapinitializepackage
ntsecpkg/LsaApInitializePackage
security.lsaapinitializepackage
security\lsaapinitializepackage.htm
security
1fed5a5e-5dc1-4b59-aa28-bd1395a27742
12/05/2018
LSA_AP_INITIALIZE_PACKAGE, LSA_AP_INITIALIZE_PACKAGE callback, LsaApInitializePackage, LsaApInitializePackage callback function [Security], _lsa_lsaapinitializepackage, ntsecpkg/LsaApInitializePackage, security.lsaapinitializepackage
ntsecpkg.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
LSA_AP_INITIALIZE_PACKAGE
ntsecpkg/LSA_AP_INITIALIZE_PACKAGE
c++
APIRef
kbSyntax
UserDefined
Ntsecpkg.h
LsaApInitializePackage

LSA_AP_INITIALIZE_PACKAGE callback function

-description

Called once by the Local Security Authority (LSA) during system initialization to provide the authentication package a chance to initialize itself.

-parameters

-param AuthenticationPackageId [in]

The identifier the LSA has assigned to the authentication package.

-param LsaDispatchTable [in]

Pointer to an LSA_DISPATCH_TABLE structure that contains the addresses of LSA functions that can be called by authentication packages. Your custom authentication package should save this information if it requires any of the functions described in LSA Functions Called by Authentication Packages.

-param Database [in, optional]

This parameter is not used; it is NULL.

-param Confidentiality [in, optional]

This parameter is not used; it is NULL.

-param AuthenticationPackageName [out]

Pointer to a pointer to an LSA_STRING structure that receives the name of the authentication package. The authentication package is responsible for allocating the structure and the buffer that contains this string (using the AllocateLsaHeap function) and returning the address of the structure in this parameter. The buffer will be freed by the LSA when it is no longer needed.

-returns

If the function succeeds, return STATUS_SUCCESS.

If the function fails, return an NTSTATUS error code. For more information, see LSA Policy Function Return Values.

-remarks

This function must be implemented by authentication packages.

-see-also

AllocateLsaHeap