SspiSetAsyncNotifyCallback function (sspi.h)

Registers a callback that is notified on async call completion.

Syntax

SECURITY_STATUS SspiSetAsyncNotifyCallback(
  SspiAsyncContext        *Context,
  SspiAsyncNotifyCallback Callback,
  void                    *CallbackData
);

Parameters

Context

The async call context.

Callback

The SspiAsyncNotifyCallback that will be notified on call completion.

CallbackData

An opaque pointer that is passed to SspiAsyncNotifyCallback.

Remarks

The Callback and CallbackData parameters can be set to null in order to specify that the caller is not interested in the result of the operation.

Note

Setting the callback to null is only supported for SspiDeleteSecurityContextAsync

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

SspiAsyncNotifyCallback