Converts a ULONG country code into a locale name represented as a UniChar string that is acceptable as input to other Unicode functions.
#include <unidef.h> ULONG ulCountryCode; /* An OS/2 country code. */ UniChar *ucsLocaleName; /* A buffer for placing the Unicode string. */ size_t n; /* Size, in characters, of the ucsLocaleName buffer. This should be at least eight Unicode characters. */ int result; result = UniMapCtryToLocale(ulCountryCode, ucsLocaleName, n);