# WM_Reset

## C Specification

      #include <nitro/wm.h>

      WMErrCode WM_Reset( WMCallbackFunc callback );

## Description

Resets the WM

This function changes the WM from any state other than `READY` and `STOP` to `IDLE`.

Connection information that has been stored until this time will be deleted. If the return value for the function is `WM_ERRCODE_OPERATING`, a callback is triggered after the reset process is complete.

## Arguments

`callback` | Pointer to the callback function to call when the asynchronous process completes.

## Return Values

Returns the process result as a `WMErrCode` enumerated type.

## See Also

`WM_Initialize`, `WM_SetIndCallback`, `WM_End`

## Revision History

10/22/2004 Changed return value types
09/11/2004 Changed descriptions
07/29/2004 Added descriptions
07/23/2004 Initial version