SCIGetPlatformRegion

Syntax

#include <cafe/sci.h>

SCIStatus SCIGetPlatformRegion(SCIPlatformRegion *region);

Parameters

region Pointer to get platform region.

SCIPlatformRegion

SCI_PLATFORM_REGION_JPN 0x00000001 Japan.
SCI_PLATFORM_REGION_USA 0x00000002 United States of America.
SCI_PLATFORM_REGION_EUR 0x00000004 Europe.
SCI_PLATFORM_REGION_AUS 0x00000008 Australia (Obsolete).
SCI_PLATFORM_REGION_CHN 0x00000010 China.
SCI_PLATFORM_REGION_KOR 0x00000020 Korea.
SCI_PLATFORM_REGION_TWN 0x00000040 Taiwan.
SCI_PLATFORM_REGION_INVALID 0x00000000 Invalid.

Return Values

SCI_STATUS_SUCCESS Success.
SCI_STATUS_FAIL Failed to get the region bit.
SCI_STATUS_READ_ERROR Error reading system product information.

Description

Get Platform Region (Product Area) of console.

NOTE:
Run System Config Tool at least once before using SCI. System Config Tool automatically creates the default system setting files at startup. If you have never run System Config Tool, this function will return SCI_STATUS_READ_ERROR.

Do Not Call From

None.

See Also

Region

Revision History

2013/05/08 Automated cleanup pass.
2013/01/23 Updates for System Config Tool
2012/08/21 Initial version.


CONFIDENTIAL