SCIGetCountryName

Syntax

#include <cafe/sci.h>

SCIStatus SCIGetCountryName(char *name, u32 size, u32 country, SCICafeLanguage type);

Parameters

name Buffer to get country name.
size Size of buffer. Should be more than SCI_CAFE_COUNTRY_NAME_SIZE_MAX.
country Country ID.
type Language type for string.

Return Values

SCI_STATUS_SUCCESS Successfully done.
SCI_STATUS_FAIL Failed to get string.
SCI_STATUS_INVALID_SIZE Invalid buffer size.
SCI_STATUS_INVALID_PARAM Invalid input parameter.
SCI_STATUS_READ_ERROR Error reading database file.
SCI_STATUS_FILE_NOT_FOUND Database file is not found.
SCI_STATUS_ITEM_NOT_FOUND Item is not found in database.

Description

Get country name string in UTF-8 format from the wiiu_country database. For more information, see the list of the country code and the country name.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

Region
List of the country code and the country name

Revision History

2013/05/08 Automated cleanup pass.
2012/08/02 Initial version.


CONFIDENTIAL