Jump to content

UniQueryLocaleItem: Difference between revisions

From EDM2
added and in progress; still have to link the rest of the LOCI_ constants
 
m completed linkage for LOCI_ constants
Line 40: Line 40:


The constant names and values for queryItem are contained in ulsitem.h:  
The constant names and values for queryItem are contained in ulsitem.h:  
<table border cellpadding="7">
<table border="1" cellpadding="7">
<tr>
<tr>
<th>Item Name</th>
<th>Item Name</th>
<th>Item Description</th>
<th>Item Description</th>
</tr><tr>
</tr><tr>
Line 54: Line 53:
<td>[[OS2 API:Constant:LOCI#LOCI_sTimeFormat|LOCI_sTimeFormat]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sTimeFormat|LOCI_sTimeFormat]]</td>
<td>Time format string </td>
<td>Time format string </td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_s1159|LOCI_s1159]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_s1159|LOCI_s1159]]</td>
Line 66: Line 64:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName1|LOCI_sAbbrevDayName1]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName1|LOCI_sAbbrevDayName1]]</td>
<td>Abbreviation of day 1 (Mon)</td>
<td>Abbreviation of day 1 (Mon)</td>
</tr><tr>
</tr><tr>
Line 77: Line 74:
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName4|LOCI_sAbbrevDayName4]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName4|LOCI_sAbbrevDayName4]]</td>
<td>Abbreviation of day 4 (Thu)</td>
<td>Abbreviation of day 4 (Thu)</td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName5|LOCI_sAbbrevDayName5]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevDayName5|LOCI_sAbbrevDayName5]]</td>
Line 89: Line 85:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName1|LOCI_sDayName1]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName1|LOCI_sDayName1]]</td>
<td>Name of day of week 1 (Mon)</td>
<td>Name of day of week 1 (Mon)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDayName2</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName2|LOCI_sDayName2]]</td>
<td>Name of day of week 2 (Tue)</td>
<td>Name of day of week 2 (Tue)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDayName3</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName3|LOCI_sDayName3]]</td>
<td>Name of day of week 3 (Wed)</td>
<td>Name of day of week 3 (Wed)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDayName4</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName4|LOCI_sDayName4]]</td>
<td>Name of day of week 4 (Thu)</td>
<td>Name of day of week 4 (Thu)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDayName5</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName5|LOCI_sDayName5]]</td>
<td>Name of day of week 5 (Fri)</td>
<td>Name of day of week 5 (Fri)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDayName6</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDayName6|LOCI_sDayName6]]</td>
<td>Name of day of week 6 (Sat)</td>
<td>Name of day of week 6 (Sat)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName1</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName1|LOCI_sAbbrevMonthName1]]</td>
<td>Abbreviation of month 1</td>
<td>Abbreviation of month 1</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName2</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName2|LOCI_sAbbrevMonthName2]]</td>
 
<td>Abbreviation of month 2</td>
<td>Abbreviation of month 2</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName3</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName3|LOCI_sAbbrevMonthName3]]</td>
<td>Abbreviation of month 3</td>
<td>Abbreviation of month 3</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName4</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName4|LOCI_sAbbrevMonthName4]]</td>
<td>Abbreviation of month 4</td>
<td>Abbreviation of month 4</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName5</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName5|LOCI_sAbbrevMonthName5]]</td>
<td>Abbreviation of month 5</td>
<td>Abbreviation of month 5</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName6</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName6|LOCI_sAbbrevMonthName6]]</td>
<td>Abbreviation of month 6</td>
<td>Abbreviation of month 6</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName7</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName7|LOCI_sAbbrevMonthName7]]</td>
<td>Abbreviation of month 7 </td>
<td>Abbreviation of month 7 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName8</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName8|LOCI_sAbbrevMonthName8]]</td>
<td>Abbreviation of month 8</td>
<td>Abbreviation of month 8</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName9</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName9|LOCI_sAbbrevMonthName9]]</td>
 
<td>Abbreviation of month 9</td>
<td>Abbreviation of month 9</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName10</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName10|LOCI_sAbbrevMonthName10]]</td>
<td>Abbreviation of month 10 </td>
<td>Abbreviation of month 10 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName11</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName11|LOCI_sAbbrevMonthName11]]</td>
<td>Abbreviation of month 11 </td>
<td>Abbreviation of month 11 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName12</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName12|LOCI_sAbbrevMonthName12]]</td>
<td>Abbreviation of month 12 </td>
<td>Abbreviation of month 12 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName1</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName1|LOCI_sMonthName1]]</td>
<td>Name of month 1</td>
<td>Name of month 1</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName2</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName2|LOCI_sMonthName2]]</td>
<td>Name of month 2</td>
<td>Name of month 2</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName3</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName3|LOCI_sMonthName3]]</td>
<td>Name of month 3</td>
<td>Name of month 3</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName4</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName4|LOCI_sMonthName4]]</td>
 
<td>Name of month 4</td>
<td>Name of month 4</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName5</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName5|LOCI_sMonthName5]]</td>
<td>Name of month 5</td>
<td>Name of month 5</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName6</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName6|LOCI_sMonthName6]]</td>
<td>Name of month 6</td>
<td>Name of month 6</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName7</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName7|LOCI_sMonthName7]]</td>
<td>Name of month 7</td>
<td>Name of month 7</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName8</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName8|LOCI_sMonthName8]]</td>
<td>Name of month 8</td>
<td>Name of month 8</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName9</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName9|LOCI_sMonthName9]]</td>
<td>Name of month 9</td>
<td>Name of month 9</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName10</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName10|LOCI_sMonthName10]]</td>
<td>Name of month 10 </td>
<td>Name of month 10 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName11</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName11|LOCI_sMonthName11]]</td>
 
<td>Name of month 11 </td>
<td>Name of month 11 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName12</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName12|LOCI_sMonthName12]]</td>
<td>Name of month 12 </td>
<td>Name of month 12 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sDecimal</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDecimal|LOCI_sDecimal]]</td>
<td>Decimal point </td>
<td>Decimal point </td>
</tr><tr>
</tr><tr>
<td>LOCI_sThousand</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sThousand|LOCI_sThousand]]</td>
<td>Triad separator </td>
<td>Triad separator </td>
</tr><tr>
</tr><tr>
<td>LOCI_sYesString</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sYesString|LOCI_sYesString]]</td>
<td>Yes string</td>
<td>Yes string</td>
</tr><tr>
</tr><tr>
<td>LOCI_sNoString</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sNoString|LOCI_sNoString]]</td>
<td>No string</td>
<td>No string</td>
</tr><tr>
</tr><tr>
<td>LOCI_sCurrency</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sCurrency|LOCI_sCurrency]]</td>
<td>Currency symbol </td>
<td>Currency symbol </td>
</tr><tr>
</tr><tr>
<td>LOCI_sCodeSet</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sCodeSet|LOCI_sCodeSet]]</td>
 
<td>Locale codeset </td>
<td>Locale codeset </td>
</tr><tr>
</tr><tr>
<td>LOCI_xLocaleToken</td>
<td>[[OS2 API:Constant:LOCI#LOCI_xLocaleToken|LOCI_xLocaleToken]]</td>
<td>IBM Locale Token </td>
<td>IBM Locale Token </td>
</tr><tr>
</tr><tr>
<td>LOCI_xWinLocale</td>
<td>[[OS2 API:Constant:LOCI#LOCI_xWinLocale|LOCI_xWinLocale]]</td>
<td>Win32 Locale ID</td>
<td>Win32 Locale ID</td>
</tr><tr>
</tr><tr>
<td>LOCI_iLocaleResnum</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iLocaleResnum|LOCI_iLocaleResnum]]</td>
<td>Resource number for description</td>
<td>Resource number for description</td>
</tr><tr>
</tr><tr>
<td>LOCI_sNativeDigits</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sNativeDigits|LOCI_sNativeDigits]]</td>
<td>String of native digits</td>
<td>String of native digits</td>
</tr><tr>
</tr><tr>
<td>LOCI_iMaxItem</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iMaxItem|LOCI_iMaxItem]]</td>
<td>Maximum item number</td>
<td>Maximum item number</td>
</tr><tr>
</tr><tr>
<td>LOCI_sTimeMark</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sTimeMark|LOCI_sTimeMark]]</td>
<td>Time mark (am/pm) format </td>
<td>Time mark (am/pm) format </td>
</tr><tr>
</tr><tr>
<td>LOCI_sEra</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sEra|LOCI_sEra]]</td>
 
<td>Era definition </td>
<td>Era definition </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAltShortDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAltShortDate|LOCI_sAltShortDate]]</td>
<td>Alternate short date format string</td>
<td>Alternate short date format string</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAltDateTime</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAltDateTime|LOCI_sAltDateTime]]</td>
<td>Alternate date and time format </td>
<td>Alternate date and time format </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAltTimeFormat</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAltTimeFormat|LOCI_sAltTimeFormat]]</td>
<td>Alternate time format</td>
<td>Alternate time format</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAltDigits</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAltDigits|LOCI_sAltDigits]]</td>
<td>XPG4 alternate digist</td>
<td>XPG4 alternate digist</td>
</tr><tr>
</tr><tr>
<td>LOCI_sYesExpr</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sYesExpr|LOCI_sYesExpr]]</td>
<td>xpg4 yes expression</td>
<td>xpg4 yes expression</td>
</tr><tr>
</tr><tr>
<td>LOCI_sNoExpr</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sNoExpr|LOCI_sNoExpr]]</td>
<td>xpg4 no expression</td>
<td>xpg4 no expression</td>
</tr><tr>
</tr><tr>
<td>LOCI_sDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sDate|LOCI_sDate]]</td>
 
<td>Short date separator</td>
<td>Short date separator</td>
</tr><tr>
</tr><tr>
<td>LOCI_sTime</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sTime|LOCI_sTime]]</td>
<td>Time separator</td>
<td>Time separator</td>
</tr><tr>
</tr><tr>
<td>LOCI_sList</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sList|LOCI_sList]]</td>
<td>List separator</td>
<td>List separator</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonDecimalSep</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonDecimalSep|LOCI_sMonDecimalSep]]</td>
<td>Monetary currency separator</td>
<td>Monetary currency separator</td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonThousandSep</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonThousandSep|LOCI_sMonThousandSep]]</td>
<td>Monetary triad separator </td>
<td>Monetary triad separator </td>
</tr><tr>
</tr><tr>
<td>LOCI_sGrouping</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sGrouping|LOCI_sGrouping]]</td>
<td>Grouping of digits </td>
<td>Grouping of digits </td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonGrouping</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonGrouping|LOCI_sMonGrouping]]</td>
<td>Monetary groupings </td>
<td>Monetary groupings </td>
</tr><tr>
</tr><tr>
<td>LOCI_iMeasure</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iMeasure|LOCI_iMeasure]]</td>
 
<td>Measurement (Metric, British)</td>
<td>Measurement (Metric, British)</td>
</tr><tr>
</tr><tr>
<td>LOCI_iPaper</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iPaper|LOCI_iPaper]]</td>
<td>Normal paper size</td>
<td>Normal paper size</td>
</tr><tr>
</tr><tr>
<td>LOCI_iDigits</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iDigits|LOCI_iDigits]]</td>
<td>Digits to right of decimal</td>
<td>Digits to right of decimal</td>
</tr><tr>
</tr><tr>
<td>LOCI_iTime</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iTime|LOCI_iTime]]</td>
<td>Clock format</td>
<td>Clock format</td>
</tr><tr>
</tr><tr>
<td>LOCI_iDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iDate|LOCI_iDate]]</td>
<td>Format of short date</td>
<td>Format of short date</td>
</tr><tr>
</tr><tr>
<td>LOCI_iCurrency</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iCurrency|LOCI_iCurrency]]</td>
<td>Format of currency  </td>
<td>Format of currency  </td>
</tr><tr>
</tr><tr>
<td>LOCI_iCurrDigits</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iCurrDigits|LOCI_iCurrDigits]]</td>
<td>Digits to right for currency </td>
<td>Digits to right for currency </td>
</tr><tr>
</tr><tr>
<td>LOCI_iLzero</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iLzero|LOCI_iLzero]]</td>
 
<td>Leading zero used</td>
<td>Leading zero used</td>
</tr><tr>
</tr><tr>
<td>LOCI_iNegNumber</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iNegNumber|LOCI_iNegNumber]]</td>
<td>Format of negative number </td>
<td>Format of negative number </td>
</tr><tr>
</tr><tr>
<td>LOCI_iLDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iLDate|LOCI_iLDate]]</td>
<td>Format of long date</td>
<td>Format of long date</td>
</tr><tr>
</tr><tr>
<td>LOCI_iCalendarType</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iCalendarType|LOCI_iCalendarType]]</td>
<td>Type of default calandar </td>
<td>Type of default calandar </td>
</tr><tr>
</tr><tr>
<td>LOCI_iFirstDayOfWeek</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iFirstDayOfWeek|LOCI_iFirstDayOfWeek]]</td>
<td>First day of week (0=Mon)</td>
<td>First day of week (0=Mon)</td>
</tr><tr>
</tr><tr>
<td>LOCI_iFirstWeekOfYear</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iFirstWeekOfYear|LOCI_iFirstWeekOfYear]]</td>
<td>First week of year </td>
<td>First week of year </td>
</tr><tr>
</tr><tr>
<td>LOCI_iNegCurr</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iNegCurr|LOCI_iNegCurr]]</td>
<td>Format of negative currency</td>
<td>Format of negative currency</td>
</tr><tr>
</tr><tr>
<td>LOCI_iTLzero</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iTLzero|LOCI_iTLzero]]</td>
 
<td>Leading zero on time</td>
<td>Leading zero on time</td>
</tr><tr>
</tr><tr>
<td>LOCI_iTimePrefix</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iTimePrefix|LOCI_iTimePrefix]]</td>
<td>AM/PM preceeds time </td>
<td>AM/PM preceeds time </td>
</tr><tr>
</tr><tr>
<td>LOCI_iOptionalCalendar</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iOptionalCalendar|LOCI_iOptionalCalendar]]</td>
<td>Alternate calandar type</td>
<td>Alternate calandar type</td>
</tr><tr>
</tr><tr>
<td>LOCI_sIntlSymbol</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sIntlSymbol|LOCI_sIntlSymbol]]</td>
<td>International currency symbol</td>
<td>International currency symbol</td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevLangName</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevLangName|LOCI_sAbbrevLangName]]</td>
<td>Windows language abbreviation</td>
<td>Windows language abbreviation</td>
</tr><tr>
</tr><tr>
<td>LOCI_sCollate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sCollate|LOCI_sCollate]]</td>
<td>Collation table</td>
<td>Collation table</td>
</tr><tr>
</tr><tr>
<td>LOCI_iUpperType</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iUpperType|LOCI_iUpperType]]</td>
<td>Upper case algorithm </td>
<td>Upper case algorithm </td>
</tr><tr>
</tr><tr>
<td>LOCI_iUpperMissing</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iUpperMissing|LOCI_iUpperMissing]]</td>
 
<td>Action for missing upper case</td>
<td>Action for missing upper case</td>
</tr><tr>
</tr><tr>
<td>LOCI_sPositiveSign</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sPositiveSign|LOCI_sPositiveSign]]</td>
<td>Positive sign</td>
<td>Positive sign</td>
</tr><tr>
</tr><tr>
<td>LOCI_sNegativeSign</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sNegativeSign|LOCI_sNegativeSign]]</td>
<td>Negative sign</td>
<td>Negative sign</td>
</tr><tr>
</tr><tr>
<td>LOCI_sLeftNegative</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sLeftNegative|LOCI_sLeftNegative]]</td>
<td>Left paren for negative</td>
<td>Left paren for negative</td>
</tr><tr>
</tr><tr>
<td>LOCI_sRightNegative</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sRightNegative|LOCI_sRightNegative]]</td>
<td>Right paren for negative </td>
<td>Right paren for negative </td>
</tr><tr>
</tr><tr>
<td>LOCI_sLongDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sLongDate|LOCI_sLongDate]]</td>
<td>Long date formatting string
<td>Long date formatting string
</tr><tr>
</tr><tr>
<td>LOCI_sAltLongDate</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAltLongDate|LOCI_sAltLongDate]]</td>
<td>Alternate long date format string </td>
<td>Alternate long date format string </td>
</tr><tr>
</tr><tr>
<td>LOCI_sMonthName13</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sMonthName13|LOCI_sMonthName13]]</td>
 
<td>Name of month 13 </td>
<td>Name of month 13 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sAbbrevMonthName13</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sAbbrevMonthName13|LOCI_sAbbrevMonthName13]]</td>
<td>Abbreviation of month 13 </td>
<td>Abbreviation of month 13 </td>
</tr><tr>
</tr><tr>
<td>LOCI_sName</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sName|LOCI_sName]]</td>
<td>OS/2 locale name</td>
<td>OS/2 locale name</td>
</tr><tr>
</tr><tr>
<td>LOCI_sLanguageID</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sLanguageID|LOCI_sLanguageID]]</td>
<td>Abbreviation for language (ISO)</td>
<td>Abbreviation for language (ISO)</td>
</tr><tr>
</tr><tr>
<td>LOCI_sCountryID</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sCountryID|LOCI_sCountryID]]</td>
<td>Abbreviation for country (ISO) </td>
<td>Abbreviation for country (ISO) </td>
</tr><tr>
</tr><tr>
<td>LOCI_sEngLanguage</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sEngLanguage|LOCI_sEngLanguage]]</td>
<td>English name of Language </td>
<td>English name of Language </td>
</tr><tr>
</tr><tr>
<td>LOCI_sLanguage</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sLanguage|LOCI_sLanguage]]</td>
<td>Native name of language</td>
<td>Native name of language</td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sEngCountry|LOCI_sEngCountry]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sEngCountry|LOCI_sEngCountry]]</td>
<td>English name of country</td>
<td>English name of country</td>
</tr><tr>
</tr><tr>
Line 399: Line 368:
<td>[[OS2 API:Constant:LOCI#LOCI_iCountry|LOCI_iCountry]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iCountry|LOCI_iCountry]]</td>
<td>Country code</td>
<td>Country code</td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sISOCodepage|LOCI_sISOCodepage]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sISOCodepage|LOCI_sISOCodepage]]</td>
Line 411: Line 379:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_iAltCodepage|LOCI_iAltCodepage]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_iAltCodepage|LOCI_iAltCodepage]]</td>
<td>OS/2 alternate codepage</td>
<td>OS/2 alternate codepage</td>
</tr><tr>
</tr><tr>
Line 422: Line 389:
<td>[[OS2 API:Constant:LOCI#LOCI_sOtherCodepages|LOCI_sOtherCodepages]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sOtherCodepages|LOCI_sOtherCodepages]]</td>
<td>Other ASCII codepages</td>
<td>Other ASCII codepages</td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sSetCodepage|LOCI_sSetCodepage]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sSetCodepage|LOCI_sSetCodepage]]</td>
Line 434: Line 400:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_sSetKeyboard|LOCI_sSetKeyboard]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sSetKeyboard|LOCI_sSetKeyboard]]</td>
<td>Keyboard to set on activation</td>
<td>Keyboard to set on activation</td>
</tr><tr>
</tr><tr>
Line 445: Line 410:
<td>[[OS2 API:Constant:LOCI#LOCI_sLatin1Locale|LOCI_sLatin1Locale]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_sLatin1Locale|LOCI_sLatin1Locale]]</td>
<td>Locale for Latin 1 names </td>
<td>Locale for Latin 1 names </td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_wTimeFormat|wTimeFormat]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_wTimeFormat|LOCI_wTimeFormat]]</td>
<td>Win32 Time format</td>
<td>Win32 Time format</td>
</tr><tr>
</tr><tr>
Line 457: Line 421:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_jISO3CountryName|LOCI_jISO3CountryName]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_jISO3CountryName|LOCI_jISO3CountryName]]</td>
<td>Java Abbrev for country (ISO-3)</td>
<td>Java Abbrev for country (ISO-3)</td>
</tr><tr>
</tr><tr>
Line 468: Line 431:
<td>[[OS2 API:Constant:LOCI#LOCI_jExponent|LOCI_jExponent]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_jExponent|LOCI_jExponent]]</td>
<td>Java exponential symbol</td>
<td>Java exponential symbol</td>
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_jFullTimeFormat|LOCI_jFullTimeFormat]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_jFullTimeFormat|LOCI_jFullTimeFormat]]</td>
Line 480: Line 442:
</tr><tr>
</tr><tr>
<td>[[OS2 API:Constant:LOCI#LOCI_jFullDateFormat|LOCI_jFullDateFormat]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_jFullDateFormat|LOCI_jFullDateFormat]]</td>
<td>Java full date format</td>
<td>Java full date format</td>
</tr><tr>
</tr><tr>
Line 491: Line 452:
<td>[[OS2 API:Constant:LOCI#LOCI_jEraStrings|LOCI_jEraString]]</td>
<td>[[OS2 API:Constant:LOCI#LOCI_jEraStrings|LOCI_jEraString]]</td>
<td>Java era strings</td>
<td>Java era strings</td>
</tr>
</tr>
</table>
</table>

Revision as of 23:26, 15 May 2008

UniQueryLocaleItem

UniQueryLocaleItem(localeObj, queryItem, result)
Get the locale information.

Parameters

localeObj - LocaleObject - input
The locale object created from UniCreateLocaleObject.
queryItem - LocaleItem - input
The item to be queried.
result - UniChar - output
The locale information received.

Constants

None

Returns

An integer with values of:

Module

Define (C/C++)

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

LocaleObject localeObj;
LocaleItem   queryItem;
UniChar      result;
integer      rc;
...
rc = UniQueryLocaleObject(localeObj, queryItem, result);
...

Related Functions

UniSetUserLocaleItem

Notes

UniQueryLocaleItem returns a pointer in result to a null-terminated UniChar string containing information found in the locale object identified by localeObj about the language or cultural item named by the item argument. UniQueryLocaleItem allocates the memory to hold the UniChar string and returns a pointer in result. Use UniFreeMem to free the memory associated with result by UniQueryLocaleItem.

The constant names and values for queryItem are contained in ulsitem.h:

Item Name Item Description
LOCI_sDateTime Date and time format string
LOCI_sShortDate Short date format
LOCI_sTimeFormat Time format string
LOCI_s1159 AM string
LOCI_s2359 PM string
LOCI_sAbbrevDayName7 Abbreviation of day 7 (Sun)
LOCI_sAbbrevDayName1 Abbreviation of day 1 (Mon)
LOCI_sAbbrevDayName2 Abbreviation of day 2 (Tue)
LOCI_sAbbrevDayName3 Abbreviation of day 3 (Wed)
LOCI_sAbbrevDayName4 Abbreviation of day 4 (Thu)
LOCI_sAbbrevDayName5 Abbreviation of day 5 (Fri)
LOCI_sAbbrevDayName6 Abbreviation of day 6 (Sat)
LOCI_sDayName7 Name of day of week 7 (Sun)
LOCI_sDayName1 Name of day of week 1 (Mon)
LOCI_sDayName2 Name of day of week 2 (Tue)
LOCI_sDayName3 Name of day of week 3 (Wed)
LOCI_sDayName4 Name of day of week 4 (Thu)
LOCI_sDayName5 Name of day of week 5 (Fri)
LOCI_sDayName6 Name of day of week 6 (Sat)
LOCI_sAbbrevMonthName1 Abbreviation of month 1
LOCI_sAbbrevMonthName2 Abbreviation of month 2
LOCI_sAbbrevMonthName3 Abbreviation of month 3
LOCI_sAbbrevMonthName4 Abbreviation of month 4
LOCI_sAbbrevMonthName5 Abbreviation of month 5
LOCI_sAbbrevMonthName6 Abbreviation of month 6
LOCI_sAbbrevMonthName7 Abbreviation of month 7
LOCI_sAbbrevMonthName8 Abbreviation of month 8
LOCI_sAbbrevMonthName9 Abbreviation of month 9
LOCI_sAbbrevMonthName10 Abbreviation of month 10
LOCI_sAbbrevMonthName11 Abbreviation of month 11
LOCI_sAbbrevMonthName12 Abbreviation of month 12
LOCI_sMonthName1 Name of month 1
LOCI_sMonthName2 Name of month 2
LOCI_sMonthName3 Name of month 3
LOCI_sMonthName4 Name of month 4
LOCI_sMonthName5 Name of month 5
LOCI_sMonthName6 Name of month 6
LOCI_sMonthName7 Name of month 7
LOCI_sMonthName8 Name of month 8
LOCI_sMonthName9 Name of month 9
LOCI_sMonthName10 Name of month 10
LOCI_sMonthName11 Name of month 11
LOCI_sMonthName12 Name of month 12
LOCI_sDecimal Decimal point
LOCI_sThousand Triad separator
LOCI_sYesString Yes string
LOCI_sNoString No string
LOCI_sCurrency Currency symbol
LOCI_sCodeSet Locale codeset
LOCI_xLocaleToken IBM Locale Token
LOCI_xWinLocale Win32 Locale ID
LOCI_iLocaleResnum Resource number for description
LOCI_sNativeDigits String of native digits
LOCI_iMaxItem Maximum item number
LOCI_sTimeMark Time mark (am/pm) format
LOCI_sEra Era definition
LOCI_sAltShortDate Alternate short date format string
LOCI_sAltDateTime Alternate date and time format
LOCI_sAltTimeFormat Alternate time format
LOCI_sAltDigits XPG4 alternate digist
LOCI_sYesExpr xpg4 yes expression
LOCI_sNoExpr xpg4 no expression
LOCI_sDate Short date separator
LOCI_sTime Time separator
LOCI_sList List separator
LOCI_sMonDecimalSep Monetary currency separator
LOCI_sMonThousandSep Monetary triad separator
LOCI_sGrouping Grouping of digits
LOCI_sMonGrouping Monetary groupings
LOCI_iMeasure Measurement (Metric, British)
LOCI_iPaper Normal paper size
LOCI_iDigits Digits to right of decimal
LOCI_iTime Clock format
LOCI_iDate Format of short date
LOCI_iCurrency Format of currency
LOCI_iCurrDigits Digits to right for currency
LOCI_iLzero Leading zero used
LOCI_iNegNumber Format of negative number
LOCI_iLDate Format of long date
LOCI_iCalendarType Type of default calandar
LOCI_iFirstDayOfWeek First day of week (0=Mon)
LOCI_iFirstWeekOfYear First week of year
LOCI_iNegCurr Format of negative currency
LOCI_iTLzero Leading zero on time
LOCI_iTimePrefix AM/PM preceeds time
LOCI_iOptionalCalendar Alternate calandar type
LOCI_sIntlSymbol International currency symbol
LOCI_sAbbrevLangName Windows language abbreviation
LOCI_sCollate Collation table
LOCI_iUpperType Upper case algorithm
LOCI_iUpperMissing Action for missing upper case
LOCI_sPositiveSign Positive sign
LOCI_sNegativeSign Negative sign
LOCI_sLeftNegative Left paren for negative
LOCI_sRightNegative Right paren for negative
LOCI_sLongDate Long date formatting string
LOCI_sAltLongDate Alternate long date format string
LOCI_sMonthName13 Name of month 13
LOCI_sAbbrevMonthName13 Abbreviation of month 13
LOCI_sName OS/2 locale name
LOCI_sLanguageID Abbreviation for language (ISO)
LOCI_sCountryID Abbreviation for country (ISO)
LOCI_sEngLanguage English name of Language
LOCI_sLanguage Native name of language
LOCI_sEngCountry English name of country
LOCI_sCountry Name of country in current language
LOCI_sNativeCtryName Name of country in native language
LOCI_iCountry Country code
LOCI_sISOCodepage ISO codepage name
LOCI_iAnsiCodepage Windows codepage
LOCI_iCodepage OS/2 primary codepage
LOCI_iAltCodepage OS/2 alternate codepage
LOCI_iMacCodepage Mac codepage
LOCI_iEbcdicCodepage Ebcdic codepage
LOCI_sOtherCodepages Other ASCII codepages
LOCI_sSetCodepage Codpage to set on activation
LOCI_sKeyboard Primary keyboard name
LOCI_sAltKeyboard Alternate keyboard name
LOCI_sSetKeyboard Keyboard to set on activation
LOCI_sDebit Debit string
LOCI_sCredit Credit string
LOCI_sLatin1Locale Locale for Latin 1 names
LOCI_wTimeFormat Win32 Time format
LOCI_wShortDate Win32 Date format
LOCI_wLongDate Win32 Long date format
LOCI_jISO3CountryName Java Abbrev for country (ISO-3)
LOCI_jPercentPattern Java percent pattern
LOCI_jPercentSign Java percent symbol
LOCI_jExponent Java exponential symbol
LOCI_jFullTimeFormat Java full time format
LOCI_jLongTimeFormat Java long time format
LOCI_jShortTimeFormat Java short time format
LOCI_jFullDateFormat Java full date format
LOCI_jMediumDateFormat Java medium date format
LOCI_jDateTimePattern Java date time format pattern
LOCI_jEraString Java era strings

OS Version Introduced

OS/2 Warp