SpShutDown function

The SpShutDown function is called by the Local Security Authority (LSA) before the security support provider/authentication package (SSP/AP) is unloaded. The implementation of this function should release any allocated resources, such as credentials.

Syntax


NTSTATUS SpShutDown(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, return STATUS_SUCCESS.

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

Remarks

SSP/APs must implement the SpShutDown function; however, the actual name given to the implementation is up to the developer.

A pointer to the SpShutDown function is available in the SECPKG_FUNCTION_TABLE structure received from the SpLsaModeInitialize function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SECPKG_FUNCTION_TABLE
SpLsaModeInitialize

 

 

Show: