AddSecurityPackage function
Adds a security support provider to the list of providers supported by Microsoft Negotiate.
Syntax
SECURITY_STATUS AddSecurityPackage( _In_ LPTSTR pszPackageName, _In_ PSECURITY_PACKAGE_OPTIONS pOptions );
Parameters
- pszPackageName [in]
-
The name of the package to add.
- pOptions [in]
-
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] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
AddSecurityPackageW (Unicode) and AddSecurityPackageA (ANSI) |
See also