#include <nitro/wm.h> typedef void ( *WMCallbackFunc )( void* arg );
This is the format of a user callback function that is called either on completion or during an asynchronous process that was started by a WM asynchronous operation function. It takes as an argument a pointer to the structure where the process results of an asynchronous process are stored.
arg
|
Pointer to a structure that will be passed to a callback function The corresponding structure that is passed by each calling function is shown below. |
|
|
|
|
|
WM_StartParent
|
WMstartParentCallback*
|
|
WM_StartScan
|
WMstartScanCallback*
|
|
WM_StartConnect
|
WMstartConnectCallback*
|
|
WM_Disconnect, WM_DisconnectChildren |
WMDisconnectCallback* |
|
WM_StartMP
|
WMstartMPCallback*
|
|
WM_StartDCF
|
WMstartDCFCallback*
|
|
WM_MeasureChannel
|
WMMeasureChannelCallback*
|
|
WM_GetWirelessCounter
|
WMGetWirelessCounterCallback*
|
|
WM_SetIndCallback
|
WMindCallback*
|
|
| Common to other asynchronous functions |
WMCallback*
|
|
None
10/26/2004 Added Disconnect callbacks
08/11/2004 Added callback types
08/02/2004 Standardized structure names
07/29/2004 Initial Version