SspiIsPromptingNeeded function (sspi.h)
Indicates whether an error returned after a call to either the InitializeSecurityContext or the AcceptSecurityContext function requires an additional call to the SspiPromptForCredentials function.
Syntax
BOOLEAN SEC_ENTRY SspiIsPromptingNeeded(
[in] unsigned long ErrorOrNtStatus
);
Parameters
[in] ErrorOrNtStatus
The error to test.
Return value
TRUE if the error specified by the ErrorOrNtStatus parameter indicates that an additional call to SspiPromptForCredentials is necessary; otherwise, FALSE.
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 | Credui.lib |
DLL | Credui.dll |