AddSecurityPackageA function

Adds a security support provider to the list of providers supported by Microsoft Negotiate.

Syntax

SECURITY_STATUS SEC_ENTRY AddSecurityPackageA(
  LPSTR                     pszPackageName,
  PSECURITY_PACKAGE_OPTIONS pOptions
);

Parameters

pszPackageName

The name of the package to add.

pOptions

A pointer to a SECURITY_PACKAGE_OPTIONS structure that specifies additional information about the security package.

Return Value

If the function succeeds, it returns SEC_E_OK.

If the function fails, it returns a nonzero error code.

Requirements

   
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

See Also

DeleteSecurityPackage