#include <cafe/sci.h>

SCIStatus SCIGetCountryNameUtf16(wchar_t *name, u32 size, u32 country, SCICafeLanguage type);


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.


Gets the country name string in UTF-16 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

List of the country code and the country name

Revision History

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