WMCallbackFunc

Definitions

#include <nitro/wm.h>
typedef void ( *WMCallbackFunc )( void* arg );

Arguments

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.
The calling function
The structure to be passed
WM_StartParent WMstartParentCallback*
WM_StartScan WMstartScanCallback*
WM_StartScanEx WMstartScanExCallback*
WM_StartConnect, WM_StartConnectEx WMstartConnectCallback*
WM_Disconnect, WM_DisconnectChildren WMDisconnectCallback*
WM_SetMPParameter, WM_SetMPFrequency, WM_SetMPParentSize, WM_SetMPChildSize, WM_SetMPTiming, WM_SetMPInterval WMSetMPParameterCallback*
WM_StartMP WMstartMPCallback*
WM_SetMPDataToPort, WM_SetMPDataToPortEx, WM_SetMPData WMPortSendCallback*
WM_StartDCF WMstartDCFCallback*
WM_MeasureChannel WMMeasureChannelCallback*
WM_GetWirelessCounter WMGetWirelessCounterCallback*
WM_SetIndCallback WMindCallback*
WM_SetPortCallback WMPortRecvCallback*
Common to other asynchronous functions WMCallback*

Return Values

None.

Description

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 processing results of an asynchronous process are stored.

Revision History

2005/11/24 Added WM-SetMPParameter callback.
2005/03/04 Added WM_SetMPData* callback.
2005/02/14 Added callback for use during WM_StartScanEx.
10/26/2004 Added Disconnect callbacks
08/11/2004 Added callback types.
08/02/2004 Standardized structure names.
07/29/2004 Initial version.