SCIGetCafeCountry

Syntax

#include <cafe/sci.h>

SCIStatus SCIGetCafeCountry(u32 *country);

Parameters

country Pointer to get value.

Return Values

SCI_STATUS_SUCCESS Successfully done.
SCI_STATUS_FAIL Failed to get value.
SCI_STATUS_READ_ERROR Error reading the system config file.
SCI_STATUS_FILE_NOT_FOUND System config file is not found.
SCI_STATUS_ITEM_NOT_FOUND Item is not found in the system config file.

Description

Gets the country ID from the system config setting file.

NOTE:
Run System Config Tool at least once before using SCI. System Config Tool automatically creates the default system setting files at startup. If it has never run, this function returns a SCI_STATUS_FILE_NOT_FOUND error.

For more information, see the list of the country code and the country name.

Do Not Call From

None.

See Also

Region
System Config Tool

Revision History

2013/05/08 Automated cleanup pass.
2013/01/23 Updates for System Config Tool
2012/07/03 Modified the argument name.
2012/05/09 Initial version.


CONFIDENTIAL