Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

Feedback

Was this page helpful?

Additional resources