WM_Disable


C Specification

#include <nitro/wm.h>

WMErrCode WM_Disable( WMCallbackFunc callback );

Description

Disables the wireless hardware

If the return value is WM_ERRCODE_OPERATING, the specified callback will be called after the wireless disable process completes. This function can only be called when the WM is in the STOP state. After WM is disabled, the WM will move to the READY state. To stop the wireless library, call the WM_Finish function after the callback is called as specified by this function.

Arguments

callback Specifies the callback function that is called when the asynchronous process completes

Return Values

Returns the process results that are in the WMErrCode enumerated type.

See Also

WM_Init, WM_Enable, WM_PowerOn, WM_PowerOff, WM_Finish, WM_Initialize, WM_End

Revision History

10/22/2004 Changed return value types
09/11/2004 Initial version