SpLsaModeInitialize Function Home
SpLsaModeInitialize Function

The SpLsaModeInitialize function is called once by the Local Security Authority (LSA) for each registered security support provider/authentication package (SSP/AP) DLL it loads. This function provides the LSA with pointers to the functions implemented by each security package in the SSP/AP DLL.

Syntax

NTSTATUS NTAPI SpLsaModeInitialize(
  __in   ULONG LsaVersion,
  __out  PULONG PackageVersion,
  __out  PSECPKG_FUNCTION_TABLE *ppTables,
  __out  PULONG pcTables
);


Parameters

LsaVersion [in]

The version of the LSA.

PackageVersion [out]

Pointer to a ULONG that returns the SSP/AP DLL version number.

ppTables [out]

Pointer to an array of SECPKG_FUNCTION_TABLE structures. Each structure is a table of pointers to the functions implemented by a security package deployed in the SSP/AP DLL.

pcTables [out]

Pointer that returns the number of elements in the array pointed to by the ppTables parameter.

Return Value

If the function succeeds, return STATUS_SUCCESS.

If the function fails, return an NTSTATUS code that indicates the reason it failed.

Remarks

The SpLsaModeInitialize function must be implemented by SSP/AP DLLs.

The ppTables parameter should contain one SECPKG_FUNCTION_TABLE for each security package deployed in the DLL.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderNtsecpkg.h

See Also

SECPKG_FUNCTION_TABLE

Send comments about this topic to Microsoft

Build date: 11/19/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View