Identifies the type
of value in the LocaleSpec argument.
The constant names of the values of LocaleSpecType are defined in
the header unidef.h:
UNI_MBS_STRING_POINTER
LocaleSpec points
to a multibyte character string.
UNI_TOKEN_POINTER
LocaleSpec points to a locale token.
UNI_UCS_STRING_POINTER
LocaleSpec points to a UCS character string.
LocaleSpec (const VOID *)
The
LocaleSpec argument points to either a character string or a locale
token, as indicated by the value of the LocaleSpecType argument.
locale_object (LocaleObject *)
An address that will receive a pointer to a locale
object upon successful completion of UniCreateLocaleObject.
result (int) - returns
ULS_INVALID
A locale specification string or token
that is not valid was passed; the locale object pointer points to undefined
data.
ULS_NOMEMORY
There
is insufficient memory to create the requested locale or the default locale;
the locale object pointer points to undefined data.
ULS_SUCCESS
The specified locale is supported and a valid locale
object was created.
ULS_UNSUPPORTED
The
specified locale is not supported; the locale object pointer points to undefined
data.
For a full list of error codes and the decimal
and hexadecimal values of the error codes, see Error
Codes.
[Back: UniCreateLocaleObject Return Value - result]
[Next: UniCreateLocaleObject - Remarks]