SspiFreeAsyncContext function (sspi.h)

The SspiFreeAsyncContext function frees up a context created in the call to the SspiCreateAsyncContext function.

Syntax

void SspiFreeAsyncContext(
  SspiAsyncContext *Handle
);

Parameters

Handle

The async call context to free.

Return value

None

Remarks

For all operations that require notification of completion, SspiFreeAsyncContext must not be called until the async operation is complete and the callback has been invoked. Calling SspiGetAsyncCallStatus will return status != SEC_I_ASYNC_CALL_PENDING to indicate the async operation has not completed.

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

SspiCreateAsyncContext

SspiGetAsyncCallStatus