UniQueryLocaleItem returns a pointer in info_item_addr_ptr to a null-terminated
UniChar string containing information
found in the locale object identified by locale_object about the
language or cultural item named by the liItem argument. UniQueryLocaleItem
allocates the memory to hold the UniChar string
and returns a pointer in info_item_addr_ptr. Use UniFreeMem
to free the memory associated with info_item_addr_ptr by UniQueryLocaleItem.
The constant names and values for liItem are contained in ulsitem.h:
ABDAY_1
Abbreviated first day of the week (Sun).
ABDAY_2
Abbreviated second
day of the week (Mon).
ABDAY_3
Abbreviated
third day of the week (Tue).
ABDAY_4
Abbreviated
fourth day of the week (Wed).
ABDAY_5
Abbreviated
fifth day of the week (Thu).
ABDAY_6
Abbreviated
sixth day of the week (Fri).
ABDAY_7
Abbreviated
seventh day of the week (Sat).
ABMON_1
Abbreviated
first month (Jan).
ABMON_2
Abbreviated
second month (Feb).
ABMON_3
Abbreviated
third month (Mar).
ABMON_4
Abreviated
fourth month (Apr).
ABMON_5
Abbreviated
fifth month (May).
ABMON_6
Abbreviated
sixth month (Jun).
ABMON_7
Abbreviated
seventh month (Jul).
ABMON_8
Abbreviated
eighth month (Aug).
ABMON_9
Abbreviated
ninth month (Sep).
ABMON_10
Abbreviated
tenth month (Oct).
ABMON_11
Abbreviated
eleventh month (Nov).
ABMON_12
Abbreviated
twelfth month (Dec).
ABMON_13
Abbreviated
thirteenth month.
ALT_DIGITS
Alternative
symbols for digits.
AM_STR
CODESET
Current
code page of the process.
CRNCYSTR
Currency
symbol; - leading, + trailing.
DATESEP
DAY_1
Name of
the first day of the week (Sunday).
DAY_2
Name
of the second day of the week (Monday).
DAY_3
Name
of the third day of the week (Tuesday).
DAY_4
Name
of the fourth day of the week (Wednesday).
DAY_5
Name of the fifth day of the week (Thursday).
DAY_6
Name of the sixth day of the week (Friday).
DAY_7
Name of the seventh day of the week (Saturday).
D_FMT
String for formatting
date.
D_T_FMT
String for
formatting date and time.
ERA
ERA
description segments.
ERA_D_FMT
ERA_D_T_FMT
ERA
date and time format string.
ERA_T_FMT
LISTSEP
MON_1
Name of
the first month (January).
MON_2
Name
of the second month (February).
MON_3
Name
of the third month (March).
MON_4
Name
of the fourth month (April).
MON_5
Name
of the fifth month (May).
MON_6
Name
of the sixth month (June).
MON_7
Name
of the seventh month (July).
MON_8
Name
of the eighth month (August).
MON_9
Name
of the ninth month (September).
MON_10
Name
of the tenth month (October).
MON_11
Name
of the eleventh month (November).
MON_12
Name
of the twelfth month (December).
MON_13
Name
of the thirteenth month.
NOEXPR
Negative
response expression.
NOSTR
Negative
response for yes/no queries.
PM_STR
RADIXCHAR
T_FMT
String
for formatting time.
T_FMT_AMPM
AM/PM
time formatting string.
THOUSEP
TIMESEP
YESEXPR
Affirmative
response expression.
YESSTR
Affirmative
response for yes/no queries.
[Back: UniQueryLocaleItem - Parameters]
[Next: UniQueryLocaleItem - Related Functions]