SspiFreeCredentialsHandleAsync function (sspi.h)

Frees up a credential handle.

Syntax

SECURITY_STATUS SspiFreeCredentialsHandleAsync(
  SspiAsyncContext *AsyncContext,
  PCredHandle      phCredential
);

Parameters

AsyncContext

The async call context.

phCredential

The credential handle to free.

Return value

Returns SEC_E_OK if the async request to free the credential handle was successfully queued for execution. Otherwise, it returns the error generated attempting to queue it. To retrieve the status of the operation, use SspiGetAsyncCallStatus.

SspiGetAsyncCallStatus returns SEC_E_OK on completion. Otherwise, it may return SEC_I_ASYNC_CALL_PENDING if the call is still in progress.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [kernel-mode drivers only]
Minimum supported server Windows Server 2016 [kernel-mode drivers only]
Header sspi.h

See also

FreeCredentialsHandle