InitSecurityInterfaceA function (sspi.h)

The InitSecurityInterface function returns a pointer to an SSPI dispatch table. This function enables clients to use SSPI without binding directly to an implementation of the interface.

Syntax

PSecurityFunctionTableA SEC_ENTRY InitSecurityInterfaceA();

Return value

If the function succeeds, the return value is a pointer to a SecurityFunctionTable structure.

If the function fails, the return value is NULL.

Remarks

Note

The sspi.h header defines InitSecurityInterface 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. QueryContextAttributesExA and QueryCredentialsAttributesExA are not initialized.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header sspi.h (include Security.h)
Library Secur32.lib
DLL Secur32.dll

See also

SSPI Functions

SecurityFunctionTable