DeleteSecurityPackageA function (sspi.h)
Deletes a security support provider from the list of providers supported by Microsoft Negotiate.
Syntax
SECURITY_STATUS SEC_ENTRY DeleteSecurityPackageA(
[in] LPSTR pszPackageName
);
Parameters
[in] pszPackageName
The name of the security provider to delete.
Return value
If the function succeeds, it returns SEC_E_OK.
If the function fails, it returns a nonzero error code.
Remarks
Note
The sspi.h header defines DeleteSecurityPackage as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | sspi.h |
Library | Secur32.lib |
DLL | Secur32.dll |