SspiCreateAsyncContext function (sspi.h)

Creates an instance of SspiAsyncContext that tracks the async call.

Syntax

SspiAsyncContext * SspiCreateAsyncContext();

Return value

Returns the initialized SspiAsyncContext.

Remarks

When done, the caller must free the async context with SspiFreeAsyncContext

While the instance's lifetime is the single async operation, it can be reused by calling SspiReinitAsyncContext after the operation has 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

SspiFreeAsyncContext

SspiReinitAsyncContext