WM_GetWirelessCounter

# WM_GetWirelessCommFlag

## Syntax

      #include <nitro/wm.h>

      u8 WM_GetWirelessCommFlag( void );

## Arguments

None.

## Return Values

Gets the current TWL wireless mode.

## Description

Gets the TWL wireless mode that is set in the Wireless Communications item in the TWL's System Settings. Because this item doesn't exist on these systems, `WM_WIRELESS_COMM_FLAG_UNKNOWN` will be returned for applications running on the Nintendo DS or DS Lite.

The function can obtain the following values:

Value | Description
--- | ---
`WM_WIRELESS_COMM_FLAG_OFF` | Disabled
`WM_WIRELESS_COMM_FLAG_ON` | Enabled
`WM_WIRELESS_COMM_FLAG_UNKNOWN` | Unable to determine, because the application is running on a Nintendo DS or DS Lite

## See Also

`WM_Init WM_Initialize`

## Revision History

2008/09/12 Initial version.

CONFIDENTIAL