WS_ASYNC_CONTEXT structure (webservices.h)

Used with the Async Model to specify the asynchronous callback and a pointer which will be passed to the asynchronous callback.

Syntax

typedef struct _WS_ASYNC_CONTEXT {
  WS_ASYNC_CALLBACK callback;
  void              *callbackState;
} WS_ASYNC_CONTEXT;

Members

callback

The callback function to call if the operation completes asynchronously. This field may not be NULL.

callbackState

A pointer to user-defined data which will passed to the asynchronous callback function if the operation completes asynchronously.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header webservices.h