WS_ASYNC_CONTEXT structure
Used with the Async Model to specify the asynchronous callback and a pointer which will be passed to the asynchronous callback.
Syntax
struct WS_ASYNC_CONTEXT { WS_ASYNC_CALLBACK callback; void* callbackState; };
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
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|