SimpleCallback callback function
Applies to: desktop apps | Metro style apps
Applications implement this callback if they call the TrySubmitThreadpoolCallback function to start a worker thread.
The PTP_SIMPLE_CALLBACK type defines a pointer to this callback function. SimpleCallback is a placeholder for the application-defined function name.
Syntax
VOID CALLBACK SimpleCallback( __inout PTP_CALLBACK_INSTANCE Instance, __inout_opt PVOID Context );
Parameters
- Instance [in, out]
-
A TP_CALLBACK_INSTANCE structure that defines the callback instance. Applications do not modify the members of this structure.
This structure can be passed to one of the following functions:
- Context [in, out, optional]
-
The application-defined data.
Return value
This function does not return a value.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012