# WM_Finish

## C Specification

      #include <nitro/wm.h>

      WMErrCode WM_Finish( void );

## Description

Closes the WM library

Unlike the `WM_End` function, this synchronous function processes only on the ARM9 side. If the wireless hardware was in use and you want to close the WM library, you must first call `WM_PowerOff` and `WM_Disable` to stop the wireless hardware. This function will be called automatically after the callback for `WM_End` indicates successful completion.

## Arguments

None.

## Return Values

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

## See Also

`WM_Init`, `WM_Enable`, `WM_PowerOn`, `WM_PowerOff`, `WM_Disable`, `WM_Initialize`, `WM_End`

## Revision History

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