# OS_GetRegion

## Syntax

  `#include <twl/os.h>`
  `OSTWLRegion OS_GetRegion(void);`

## Arguments

None.

## Return Values

Region information.

The return value is an `OSTWLRegion` enumerated type and will be one of the following values:

Region (OSTWLRegion enumerated type) | Value
--- | ---
`OS_TWL_REGION_JAPAN` | 0
`OS_TWL_REGION_AMERICA` | 1
`OS_TWL_REGION_EUROPE` | 2
`OS_TWL_REGION_AUSTRALIA` | 3
`OS_TWL_REGION_CHINA` | 4
`OS_TWL_REGION_KOREA` | 5

If not running in TWL mode this function always returns 0 (`OS_TWL_REGION_JAPAN`).

## Description

Gets the region information.

## See Also

`OSOwnerInfoEx`

## Revision History

2008/09/02 Initial version.

CONFIDENTIAL