Share via


UnloadPackage function

Unloads an security support provider/authentication package (SSP/AP).

The UnloadPackage function is available for use by SSP/APs that detect some unrecoverable problem after being loaded. The calling package is unloaded and removed from the list of valid packages.

Syntax

NTSTATUS UnloadPackage(void);

Parameters

This function has no parameters.

Return value

The function returns STATUS_SUCCESS.

Remarks

A pointer to the UnloadPackage function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

LSA_SECPKG_FUNCTION_TABLE

SpInitialize