| winnls.h (6.0.6000.16386-Windows 6.0) | | winnls.h (6.1.7600.16385-Windows 7.0) |
| | |
| skipping to change at line 193 | | skipping to change at line 193 |
| #define MAP_FOLDDIGITS 0x00000080 // all digits to ASCII 0-9 | | #define MAP_FOLDDIGITS 0x00000080 // all digits to ASCII 0-9 |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
| #define MAP_EXPAND_LIGATURES 0x00002000 // expand all ligatures | | #define MAP_EXPAND_LIGATURES 0x00002000 // expand all ligatures |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
| // | | // |
| // Locale Dependent Mapping Flags. | | // Locale Dependent Mapping Flags. |
| // | | // |
| #define LCMAP_LOWERCASE 0x00000100 // lower case letters | | #define LCMAP_LOWERCASE 0x00000100 // lower case letters |
|
| #define LCMAP_UPPERCASE 0x00000200 // upper case letters | | #define LCMAP_UPPERCASE 0x00000200 // UPPER CASE LETTERS |
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define LCMAP_TITLECASE 0x00000300 // Title Case Letters |
| | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| #define LCMAP_SORTKEY 0x00000400 // WC sort key (normalize) | | #define LCMAP_SORTKEY 0x00000400 // WC sort key (normalize) |
| #define LCMAP_BYTEREV 0x00000800 // byte reversal | | #define LCMAP_BYTEREV 0x00000800 // byte reversal |
| | |
| #define LCMAP_HIRAGANA 0x00100000 // map katakana to hiragana | | #define LCMAP_HIRAGANA 0x00100000 // map katakana to hiragana |
| #define LCMAP_KATAKANA 0x00200000 // map hiragana to katakana | | #define LCMAP_KATAKANA 0x00200000 // map hiragana to katakana |
| #define LCMAP_HALFWIDTH 0x00400000 // map double byte to single byte | | #define LCMAP_HALFWIDTH 0x00400000 // map double byte to single byte |
| #define LCMAP_FULLWIDTH 0x00800000 // map single byte to double byte | | #define LCMAP_FULLWIDTH 0x00800000 // map single byte to double byte |
| | |
| #define LCMAP_LINGUISTIC_CASING 0x01000000 // use linguistic rules for casing | | #define LCMAP_LINGUISTIC_CASING 0x01000000 // use linguistic rules for casing |
| | |
| | |
| skipping to change at line 228 | | skipping to change at line 232 |
| #define LGRPID_INSTALLED 0x00000001 // installed language group ids | | #define LGRPID_INSTALLED 0x00000001 // installed language group ids |
| #define LGRPID_SUPPORTED 0x00000002 // supported language group ids | | #define LGRPID_SUPPORTED 0x00000002 // supported language group ids |
| | |
| // | | // |
| // Locale Enumeration Flags. | | // Locale Enumeration Flags. |
| // | | // |
| #define LCID_INSTALLED 0x00000001 // installed locale ids | | #define LCID_INSTALLED 0x00000001 // installed locale ids |
| #define LCID_SUPPORTED 0x00000002 // supported locale ids | | #define LCID_SUPPORTED 0x00000002 // supported locale ids |
| #define LCID_ALTERNATE_SORTS 0x00000004 // alternate sort locale ids | | #define LCID_ALTERNATE_SORTS 0x00000004 // alternate sort locale ids |
| | |
|
| #if (WINVER >= 0x0600) | | #if (WINVER >= _WIN32_WINNT_VISTA) |
| // | | // |
| // Named based enumeration flags. | | // Named based enumeration flags. |
| // | | // |
|
| #define LOCALE_ALL 0 // enumerate all named b | | #define LOCALE_ALL 0 // enumerate all named |
| ased locales | | based locales |
| #define LOCALE_WINDOWS 0x00000001 // shipped locales and/o | | #define LOCALE_WINDOWS 0x00000001 // shipped locales and |
| r replacements for them | | /or replacements for them |
| #define LOCALE_SUPPLEMENTAL 0x00000002 // supplemental locales | | #define LOCALE_SUPPLEMENTAL 0x00000002 // supplemental locale |
| only | | s only |
| #define LOCALE_ALTERNATE_SORTS 0x00000004 // alternate sort locale | | #define LOCALE_ALTERNATE_SORTS 0x00000004 // alternate sort loca |
| s | | les |
| #define LOCALE_REPLACEMENT 0x00000008 // replacement locales o | | #define LOCALE_REPLACEMENT 0x00000008 // locales that replac |
| nly (supplemental - custom) | | e shipped locales (callback flag only) |
| #endif // (WINVER >= 0x0600) | | #endif // (WINVER >= _WIN32_WINNT_VISTA) |
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define LOCALE_NEUTRALDATA 0x00000010 // Locales that are "n |
| | eutral" (language only, region data is default) |
| | #define LOCALE_SPECIFICDATA 0x00000020 // Locales that contai |
| | n language and region data |
| | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| // | | // |
| // Code Page Enumeration Flags. | | // Code Page Enumeration Flags. |
| // | | // |
| #define CP_INSTALLED 0x00000001 // installed code page ids | | #define CP_INSTALLED 0x00000001 // installed code page ids |
| #define CP_SUPPORTED 0x00000002 // supported code page ids | | #define CP_SUPPORTED 0x00000002 // supported code page ids |
| | |
| // | | // |
| // Sorting Flags. | | // Sorting Flags. |
| // | | // |
| | |
| skipping to change at line 277 | | skipping to change at line 285 |
| // coat | | // coat |
| // comb | | // comb |
| // coop | | // coop |
| // cork | | // cork |
| // we're <------- apostrophe (punctuation) | | // we're <------- apostrophe (punctuation) |
| // went | | // went |
| // were | | // were |
| // | | // |
| #define SORT_STRINGSORT 0x00001000 // use string sort method | | #define SORT_STRINGSORT 0x00001000 // use string sort method |
| | |
|
| | // Sort digits as numbers (ie: 2 comes before 10) |
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define SORT_DIGITSASNUMBERS 0x00000008 // use digits as numbers sort meth |
| | od |
| | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| // | | // |
| // Compare String Return Values. | | // Compare String Return Values. |
| // | | // |
| #define CSTR_LESS_THAN 1 // string 1 less than string 2 | | #define CSTR_LESS_THAN 1 // string 1 less than string 2 |
| #define CSTR_EQUAL 2 // string 1 equal to string 2 | | #define CSTR_EQUAL 2 // string 1 equal to string 2 |
| #define CSTR_GREATER_THAN 3 // string 1 greater than string 2 | | #define CSTR_GREATER_THAN 3 // string 1 greater than string 2 |
| | |
| // | | // |
| // Code Page Default Values. | | // Code Page Default Values. |
| // | | // |
| | |
| skipping to change at line 440 | | skipping to change at line 453 |
| // number instead of a string. This flag is only valid for the LCTypes | | // number instead of a string. This flag is only valid for the LCTypes |
| // beginning with LOCALE_I. | | // beginning with LOCALE_I. |
| // | | // |
| #define LOCALE_NOUSEROVERRIDE 0x80000000 // do not use user overrides | | #define LOCALE_NOUSEROVERRIDE 0x80000000 // do not use user overrides |
| #define LOCALE_USE_CP_ACP 0x40000000 // use the system ACP | | #define LOCALE_USE_CP_ACP 0x40000000 // use the system ACP |
| | |
| #if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
| #define LOCALE_RETURN_NUMBER 0x20000000 // return number instead of s
tring | | #define LOCALE_RETURN_NUMBER 0x20000000 // return number instead of s
tring |
| #endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define LOCALE_RETURN_GENITIVE_NAMES 0x10000000 //Flag to return the Genitive |
| | forms of month names |
| | #define LOCALE_ALLOW_NEUTRAL_NAMES 0x08000000 //Flag to allow returning neu |
| | tral names/lcids for name conversion |
| | #endif //(WINVER >= _WIN32_WINNT_WIN7) |
| | |
| // | | // |
| // The following LCTypes are mutually exclusive in that they may NOT | | // The following LCTypes are mutually exclusive in that they may NOT |
| // be used in combination with each other. | | // be used in combination with each other. |
| // | | // |
|
| #define LOCALE_ILANGUAGE 0x00000001 // language id | | |
| #define LOCALE_SLANGUAGE 0x00000002 // localized name of language | | |
| #define LOCALE_SENGLANGUAGE 0x00001001 // English name of language | | |
| #define LOCALE_SABBREVLANGNAME 0x00000003 // abbreviated language name | | |
| #define LOCALE_SNATIVELANGNAME 0x00000004 // native name of language | | |
| | |
|
| #define LOCALE_ICOUNTRY 0x00000005 // country code | | // |
| #define LOCALE_SCOUNTRY 0x00000006 // localized name of country | | // These are the various forms of the name of the locale: |
| #define LOCALE_SENGCOUNTRY 0x00001002 // English name of country | | // |
| #define LOCALE_SABBREVCTRYNAME 0x00000007 // abbreviated country name | | #define LOCALE_SLOCALIZEDDISPLAYNAME 0x00000002 // localized name of locale, |
| #define LOCALE_SNATIVECTRYNAME 0x00000008 // native name of country | | eg "German (Germany)" in UI language |
| #define LOCALE_IGEOID 0x0000005B // geographical location id | | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define LOCALE_SENGLISHDISPLAYNAME 0x00000072 // Display name (language + c |
| | ountry usually) in English, eg "German (Germany)" |
| | #define LOCALE_SNATIVEDISPLAYNAME 0x00000073 // Display name in native loc |
| | ale language, eg "Deutsch (Deutschland) |
| | #endif //(WINVER >= _WIN32_WINNT_WIN7) |
| | |
|
| #define LOCALE_IDEFAULTLANGUAGE 0x00000009 // default language id | | #if (WINVER >= _WIN32_WINNT_VISTA) |
| #define LOCALE_IDEFAULTCOUNTRY 0x0000000A // default country code | | #define LOCALE_SLOCALIZEDLANGUAGENAME 0x0000006f // Language Display Name for |
| #define LOCALE_IDEFAULTCODEPAGE 0x0000000B // default oem code page | | a language, eg "German" in UI language |
| #define LOCALE_IDEFAULTANSICODEPAGE 0x00001004 // default ansi code page | | #endif //(WINVER >= _WIN32_WINNT_VISTA) |
| #define LOCALE_IDEFAULTMACCODEPAGE 0x00001011 // default mac code page | | #define LOCALE_SENGLISHLANGUAGENAME 0x00001001 // English name of language, |
| | eg "German" |
| | #define LOCALE_SNATIVELANGUAGENAME 0x00000004 // native name of language, e |
| | g "Deutsch" |
| | |
|
| #define LOCALE_SLIST 0x0000000C // list item separator | | #define LOCALE_SLOCALIZEDCOUNTRYNAME 0x00000006 // localized name of country, |
| #define LOCALE_IMEASURE 0x0000000D // 0 = metric, 1 = US | | eg "Germany" in UI language |
| | #define LOCALE_SENGLISHCOUNTRYNAME 0x00001002 // English name of country, e |
| | g "Germany" |
| | #define LOCALE_SNATIVECOUNTRYNAME 0x00000008 // native name of country, eg |
| | "Deutschland" |
| | |
|
| #define LOCALE_SDECIMAL 0x0000000E // decimal separator | | // |
| #define LOCALE_STHOUSAND 0x0000000F // thousand separator | | // Legacy labels for the locale name values |
| #define LOCALE_SGROUPING 0x00000010 // digit grouping | | // |
| #define LOCALE_IDIGITS 0x00000011 // number of fractional digit | | #define LOCALE_SLANGUAGE 0x00000002 // localized name of locale, |
| s | | eg "German (Germany)" in UI language |
| #define LOCALE_ILZERO 0x00000012 // leading zeros for decimal | | #if (WINVER >= _WIN32_WINNT_VISTA) |
| #define LOCALE_INEGNUMBER 0x00001010 // negative number mode | | #define LOCALE_SLANGDISPLAYNAME 0x0000006f // Language Display Name for |
| #define LOCALE_SNATIVEDIGITS 0x00000013 // native digits for 0-9 | | a language, eg "German" in UI language |
| | #endif //(WINVER >= _WIN32_WINNT_VISTA) |
| | #define LOCALE_SENGLANGUAGE 0x00001001 // English name of language, |
| | eg "German" |
| | #define LOCALE_SNATIVELANGNAME 0x00000004 // native name of language, e |
| | g "Deutsch" |
| | #define LOCALE_SCOUNTRY 0x00000006 // localized name of country, |
| | eg "Germany" in UI language |
| | #define LOCALE_SENGCOUNTRY 0x00001002 // English name of country, e |
| | g "Germany" |
| | #define LOCALE_SNATIVECTRYNAME 0x00000008 // native name of country, eg |
| | "Deutschland" |
| | |
|
| #define LOCALE_SCURRENCY 0x00000014 // local monetary symbol | | // Additional LCTypes |
| #define LOCALE_SINTLSYMBOL 0x00000015 // intl monetary symbol | | #define LOCALE_ILANGUAGE 0x00000001 // language id, LOCALE_SNAME |
| #define LOCALE_SMONDECIMALSEP 0x00000016 // monetary decimal separator | | preferred |
| #define LOCALE_SMONTHOUSANDSEP 0x00000017 // monetary thousand separato | | |
| r | | #define LOCALE_SABBREVLANGNAME 0x00000003 // arbitrary abbreviated lang |
| #define LOCALE_SMONGROUPING 0x00000018 // monetary grouping | | uage name, LOCALE_SISO639LANGNAME preferred |
| #define LOCALE_ICURRDIGITS 0x00000019 // # local monetary digits | | |
| #define LOCALE_IINTLCURRDIGITS 0x0000001A // # intl monetary digits | | #define LOCALE_ICOUNTRY 0x00000005 // country code, eg 1, LOCALE |
| #define LOCALE_ICURRENCY 0x0000001B // positive currency mode | | _SISO3166CTRYNAME may be more useful. |
| #define LOCALE_INEGCURR 0x0000001C // negative currency mode | | #define LOCALE_SABBREVCTRYNAME 0x00000007 // arbitrary abbreviated coun |
| | try name, LOCALE_SISO3166CTRYNAME preferred |
| | #define LOCALE_IGEOID 0x0000005B // geographical location id, |
| | eg "244" |
| | |
| | #define LOCALE_IDEFAULTLANGUAGE 0x00000009 // default language id, depre |
| | cated |
| | #define LOCALE_IDEFAULTCOUNTRY 0x0000000A // default country code, depr |
| | ecated |
| | #define LOCALE_IDEFAULTCODEPAGE 0x0000000B // default oem code page (use |
| | of Unicode is recommended instead) |
| | #define LOCALE_IDEFAULTANSICODEPAGE 0x00001004 // default ansi code page (us |
| | e of Unicode is recommended instead) |
| | #define LOCALE_IDEFAULTMACCODEPAGE 0x00001011 // default mac code page (use |
| | of Unicode is recommended instead) |
| | |
| | #define LOCALE_SLIST 0x0000000C // list item separator, eg ", |
| | " for "1,2,3,4" |
| | #define LOCALE_IMEASURE 0x0000000D // 0 = metric, 1 = US measure |
| | ment system |
| | |
| | #define LOCALE_SDECIMAL 0x0000000E // decimal separator, eg "." |
| | for 1,234.00 |
| | #define LOCALE_STHOUSAND 0x0000000F // thousand separator, eg "," |
| | for 1,234.00 |
| | #define LOCALE_SGROUPING 0x00000010 // digit grouping, eg "3;0" f |
| | or 1,000,000 |
| | #define LOCALE_IDIGITS 0x00000011 // number of fractional digit |
| | s eg 2 for 1.00 |
| | #define LOCALE_ILZERO 0x00000012 // leading zeros for decimal, |
| | 0 for .97, 1 for 0.97 |
| | #define LOCALE_INEGNUMBER 0x00001010 // negative number mode, 0-4, |
| | see documentation |
| | #define LOCALE_SNATIVEDIGITS 0x00000013 // native digits for 0-9, eg |
| | "0123456789" |
| | |
| | #define LOCALE_SCURRENCY 0x00000014 // local monetary symbol, eg |
| | "$" |
| | #define LOCALE_SINTLSYMBOL 0x00000015 // intl monetary symbol, eg " |
| | USD" |
| | #define LOCALE_SMONDECIMALSEP 0x00000016 // monetary decimal separator |
| | , eg "." for $1,234.00 |
| | #define LOCALE_SMONTHOUSANDSEP 0x00000017 // monetary thousand separato |
| | r, eg "," for $1,234.00 |
| | #define LOCALE_SMONGROUPING 0x00000018 // monetary grouping, eg "3;0 |
| | " for $1,000,000.00 |
| | #define LOCALE_ICURRDIGITS 0x00000019 // # local monetary digits, e |
| | g 2 for $1.00 |
| | #define LOCALE_IINTLCURRDIGITS 0x0000001A // # intl monetary digits, eg |
| | 2 for $1.00 |
| | #define LOCALE_ICURRENCY 0x0000001B // positive currency mode, 0- |
| | 3, see documenation |
| | #define LOCALE_INEGCURR 0x0000001C // negative currency mode, 0- |
| | 15, see documentation |
| | |
| #define LOCALE_SDATE 0x0000001D // date separator (derived fr
om LOCALE_SSHORTDATE, use that instead) | | #define LOCALE_SDATE 0x0000001D // date separator (derived fr
om LOCALE_SSHORTDATE, use that instead) |
| #define LOCALE_STIME 0x0000001E // time separator (derived fr
om LOCALE_STIMEFORMAT, use that instead) | | #define LOCALE_STIME 0x0000001E // time separator (derived fr
om LOCALE_STIMEFORMAT, use that instead) |
|
| #define LOCALE_SSHORTDATE 0x0000001F // short date format string | | #define LOCALE_SSHORTDATE 0x0000001F // short date format string, |
| #define LOCALE_SLONGDATE 0x00000020 // long date format string | | eg "MM/dd/yyyy" |
| #define LOCALE_STIMEFORMAT 0x00001003 // time format string | | #define LOCALE_SLONGDATE 0x00000020 // long date format string, e |
| | g "dddd, MMMM dd, yyyy" |
| | #define LOCALE_STIMEFORMAT 0x00001003 // time format string, eg "HH |
| | :mm:ss" |
| #define LOCALE_IDATE 0x00000021 // short date format ordering
(derived from LOCALE_SSHORTDATE, use that instead) | | #define LOCALE_IDATE 0x00000021 // short date format ordering
(derived from LOCALE_SSHORTDATE, use that instead) |
| #define LOCALE_ILDATE 0x00000022 // long date format ordering
(derived from LOCALE_SLONGDATE, use that instead) | | #define LOCALE_ILDATE 0x00000022 // long date format ordering
(derived from LOCALE_SLONGDATE, use that instead) |
| #define LOCALE_ITIME 0x00000023 // time format specifier (der
ived from LOCALE_STIMEFORMAT, use that instead) | | #define LOCALE_ITIME 0x00000023 // time format specifier (der
ived from LOCALE_STIMEFORMAT, use that instead) |
| #define LOCALE_ITIMEMARKPOSN 0x00001005 // time marker position (deri
ved from LOCALE_STIMEFORMAT, use that instead) | | #define LOCALE_ITIMEMARKPOSN 0x00001005 // time marker position (deri
ved from LOCALE_STIMEFORMAT, use that instead) |
| #define LOCALE_ICENTURY 0x00000024 // century format specifier (
short date, LOCALE_SSHORTDATE is preferred) | | #define LOCALE_ICENTURY 0x00000024 // century format specifier (
short date, LOCALE_SSHORTDATE is preferred) |
| #define LOCALE_ITLZERO 0x00000025 // leading zeros in time fiel
d (derived from LOCALE_STIMEFORMAT, use that instead) | | #define LOCALE_ITLZERO 0x00000025 // leading zeros in time fiel
d (derived from LOCALE_STIMEFORMAT, use that instead) |
| #define LOCALE_IDAYLZERO 0x00000026 // leading zeros in day field
(short date, LOCALE_SSHORTDATE is preferred) | | #define LOCALE_IDAYLZERO 0x00000026 // leading zeros in day field
(short date, LOCALE_SSHORTDATE is preferred) |
| #define LOCALE_IMONLZERO 0x00000027 // leading zeros in month fie
ld (short date, LOCALE_SSHORTDATE is preferred) | | #define LOCALE_IMONLZERO 0x00000027 // leading zeros in month fie
ld (short date, LOCALE_SSHORTDATE is preferred) |
|
| #define LOCALE_S1159 0x00000028 // AM designator | | #define LOCALE_S1159 0x00000028 // AM designator, eg "AM" |
| #define LOCALE_S2359 0x00000029 // PM designator | | #define LOCALE_S2359 0x00000029 // PM designator, eg "PM" |
| | |
|
| #define LOCALE_ICALENDARTYPE 0x00001009 // type of calendar specifier | | #define LOCALE_ICALENDARTYPE 0x00001009 // type of calendar specifier |
| #define LOCALE_IOPTIONALCALENDAR 0x0000100B // additional calendar types | | , eg CAL_GREGORIAN |
| specifier | | #define LOCALE_IOPTIONALCALENDAR 0x0000100B // additional calendar types |
| #define LOCALE_IFIRSTDAYOFWEEK 0x0000100C // first day of week specifie | | specifier, eg CAL_GREGORIAN_US |
| r | | #define LOCALE_IFIRSTDAYOFWEEK 0x0000100C // first day of week specifie |
| #define LOCALE_IFIRSTWEEKOFYEAR 0x0000100D // first week of year specifi | | r, 0-6, 0=Monday, 6=Sunday |
| er | | #define LOCALE_IFIRSTWEEKOFYEAR 0x0000100D // first week of year specifi |
| | er, 0-2, see documentation |
| | |
| #define LOCALE_SDAYNAME1 0x0000002A // long name for Monday | | #define LOCALE_SDAYNAME1 0x0000002A // long name for Monday |
| #define LOCALE_SDAYNAME2 0x0000002B // long name for Tuesday | | #define LOCALE_SDAYNAME2 0x0000002B // long name for Tuesday |
| #define LOCALE_SDAYNAME3 0x0000002C // long name for Wednesday | | #define LOCALE_SDAYNAME3 0x0000002C // long name for Wednesday |
| #define LOCALE_SDAYNAME4 0x0000002D // long name for Thursday | | #define LOCALE_SDAYNAME4 0x0000002D // long name for Thursday |
| #define LOCALE_SDAYNAME5 0x0000002E // long name for Friday | | #define LOCALE_SDAYNAME5 0x0000002E // long name for Friday |
| #define LOCALE_SDAYNAME6 0x0000002F // long name for Saturday | | #define LOCALE_SDAYNAME6 0x0000002F // long name for Saturday |
| #define LOCALE_SDAYNAME7 0x00000030 // long name for Sunday | | #define LOCALE_SDAYNAME7 0x00000030 // long name for Sunday |
| #define LOCALE_SABBREVDAYNAME1 0x00000031 // abbreviated name for Monda
y | | #define LOCALE_SABBREVDAYNAME1 0x00000031 // abbreviated name for Monda
y |
| #define LOCALE_SABBREVDAYNAME2 0x00000032 // abbreviated name for Tuesd
ay | | #define LOCALE_SABBREVDAYNAME2 0x00000032 // abbreviated name for Tuesd
ay |
| | |
| skipping to change at line 546 | | skipping to change at line 593 |
| #define LOCALE_SABBREVMONTHNAME5 0x00000048 // abbreviated name for May | | #define LOCALE_SABBREVMONTHNAME5 0x00000048 // abbreviated name for May |
| #define LOCALE_SABBREVMONTHNAME6 0x00000049 // abbreviated name for June | | #define LOCALE_SABBREVMONTHNAME6 0x00000049 // abbreviated name for June |
| #define LOCALE_SABBREVMONTHNAME7 0x0000004A // abbreviated name for July | | #define LOCALE_SABBREVMONTHNAME7 0x0000004A // abbreviated name for July |
| #define LOCALE_SABBREVMONTHNAME8 0x0000004B // abbreviated name for Augus
t | | #define LOCALE_SABBREVMONTHNAME8 0x0000004B // abbreviated name for Augus
t |
| #define LOCALE_SABBREVMONTHNAME9 0x0000004C // abbreviated name for Septe
mber | | #define LOCALE_SABBREVMONTHNAME9 0x0000004C // abbreviated name for Septe
mber |
| #define LOCALE_SABBREVMONTHNAME10 0x0000004D // abbreviated name for Octob
er | | #define LOCALE_SABBREVMONTHNAME10 0x0000004D // abbreviated name for Octob
er |
| #define LOCALE_SABBREVMONTHNAME11 0x0000004E // abbreviated name for Novem
ber | | #define LOCALE_SABBREVMONTHNAME11 0x0000004E // abbreviated name for Novem
ber |
| #define LOCALE_SABBREVMONTHNAME12 0x0000004F // abbreviated name for Decem
ber | | #define LOCALE_SABBREVMONTHNAME12 0x0000004F // abbreviated name for Decem
ber |
| #define LOCALE_SABBREVMONTHNAME13 0x0000100F // abbreviated name for 13th
month (if exists) | | #define LOCALE_SABBREVMONTHNAME13 0x0000100F // abbreviated name for 13th
month (if exists) |
| | |
|
| #define LOCALE_SPOSITIVESIGN 0x00000050 // positive sign | | #define LOCALE_SPOSITIVESIGN 0x00000050 // positive sign, eg "" |
| #define LOCALE_SNEGATIVESIGN 0x00000051 // negative sign | | #define LOCALE_SNEGATIVESIGN 0x00000051 // negative sign, eg "-" |
| #define LOCALE_IPOSSIGNPOSN 0x00000052 // positive sign position (de
rived from INEGCURR) | | #define LOCALE_IPOSSIGNPOSN 0x00000052 // positive sign position (de
rived from INEGCURR) |
| #define LOCALE_INEGSIGNPOSN 0x00000053 // negative sign position (de
rived from INEGCURR) | | #define LOCALE_INEGSIGNPOSN 0x00000053 // negative sign position (de
rived from INEGCURR) |
| #define LOCALE_IPOSSYMPRECEDES 0x00000054 // mon sym precedes pos amt (
derived from ICURRENCY) | | #define LOCALE_IPOSSYMPRECEDES 0x00000054 // mon sym precedes pos amt (
derived from ICURRENCY) |
| #define LOCALE_IPOSSEPBYSPACE 0x00000055 // mon sym sep by space from
pos amt (derived from ICURRENCY) | | #define LOCALE_IPOSSEPBYSPACE 0x00000055 // mon sym sep by space from
pos amt (derived from ICURRENCY) |
| #define LOCALE_INEGSYMPRECEDES 0x00000056 // mon sym precedes neg amt (
derived from INEGCURR) | | #define LOCALE_INEGSYMPRECEDES 0x00000056 // mon sym precedes neg amt (
derived from INEGCURR) |
| #define LOCALE_INEGSEPBYSPACE 0x00000057 // mon sym sep by space from
neg amt (derived from INEGCURR) | | #define LOCALE_INEGSEPBYSPACE 0x00000057 // mon sym sep by space from
neg amt (derived from INEGCURR) |
| | |
| #if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
| #define LOCALE_FONTSIGNATURE 0x00000058 // font signature | | #define LOCALE_FONTSIGNATURE 0x00000058 // font signature |
|
| #define LOCALE_SISO639LANGNAME 0x00000059 // ISO abbreviated language n | | #define LOCALE_SISO639LANGNAME 0x00000059 // ISO abbreviated language n |
| ame | | ame, eg "en" |
| #define LOCALE_SISO3166CTRYNAME 0x0000005A // ISO abbreviated country na | | #define LOCALE_SISO3166CTRYNAME 0x0000005A // ISO abbreviated country na |
| me | | me, eg "US" |
| #endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
|
| #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x00001012 // default ebcdic code page | | #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x00001012 // default ebcdic code page (
use of Unicode is recommended instead) |
| #define LOCALE_IPAPERSIZE 0x0000100A // 1 = letter, 5 = legal, 8 =
a3, 9 = a4 | | #define LOCALE_IPAPERSIZE 0x0000100A // 1 = letter, 5 = legal, 8 =
a3, 9 = a4 |
|
| #define LOCALE_SENGCURRNAME 0x00001007 // english name of currency | | #define LOCALE_SENGCURRNAME 0x00001007 // english name of currency, |
| #define LOCALE_SNATIVECURRNAME 0x00001008 // native name of currency | | eg "Euro" |
| #define LOCALE_SYEARMONTH 0x00001006 // year month format string | | #define LOCALE_SNATIVECURRNAME 0x00001008 // native name of currency, e |
| #define LOCALE_SSORTNAME 0x00001013 // sort name | | g "euro" |
| | #define LOCALE_SYEARMONTH 0x00001006 // year month format string, |
| | eg "MM/yyyy" |
| | #define LOCALE_SSORTNAME 0x00001013 // sort name, usually "", eg |
| | "Dictionary" in UI Language |
| #define LOCALE_IDIGITSUBSTITUTION 0x00001014 // 0 = context, 1 = none, 2 =
national | | #define LOCALE_IDIGITSUBSTITUTION 0x00001014 // 0 = context, 1 = none, 2 =
national |
| | |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
| #define LOCALE_SNAME 0x0000005c // locale name (ie: en-us) | | #define LOCALE_SNAME 0x0000005c // locale name (ie: en-us) |
|
| #define LOCALE_SDURATION 0x0000005d // time duration format | | #define LOCALE_SDURATION 0x0000005d // time duration format, eg " |
| #define LOCALE_SKEYBOARDSTOINSTALL 0x0000005e | | hh:mm:ss" |
| | #define LOCALE_SKEYBOARDSTOINSTALL 0x0000005e // Used internally, see GetKe |
| | yboardLayoutName() function |
| #define LOCALE_SSHORTESTDAYNAME1 0x00000060 // Shortest day name for Mond
ay | | #define LOCALE_SSHORTESTDAYNAME1 0x00000060 // Shortest day name for Mond
ay |
| #define LOCALE_SSHORTESTDAYNAME2 0x00000061 // Shortest day name for Tues
day | | #define LOCALE_SSHORTESTDAYNAME2 0x00000061 // Shortest day name for Tues
day |
| #define LOCALE_SSHORTESTDAYNAME3 0x00000062 // Shortest day name for Wedn
esday | | #define LOCALE_SSHORTESTDAYNAME3 0x00000062 // Shortest day name for Wedn
esday |
| #define LOCALE_SSHORTESTDAYNAME4 0x00000063 // Shortest day name for Thur
sday | | #define LOCALE_SSHORTESTDAYNAME4 0x00000063 // Shortest day name for Thur
sday |
| #define LOCALE_SSHORTESTDAYNAME5 0x00000064 // Shortest day name for Frid
ay | | #define LOCALE_SSHORTESTDAYNAME5 0x00000064 // Shortest day name for Frid
ay |
| #define LOCALE_SSHORTESTDAYNAME6 0x00000065 // Shortest day name for Satu
rday | | #define LOCALE_SSHORTESTDAYNAME6 0x00000065 // Shortest day name for Satu
rday |
| #define LOCALE_SSHORTESTDAYNAME7 0x00000066 // Shortest day name for Sund
ay | | #define LOCALE_SSHORTESTDAYNAME7 0x00000066 // Shortest day name for Sund
ay |
|
| #define LOCALE_SISO639LANGNAME2 0x00000067 // 3 character ISO abbreviate | | #define LOCALE_SISO639LANGNAME2 0x00000067 // 3 character ISO abbreviate |
| d language name | | d language name, eg "eng" |
| #define LOCALE_SISO3166CTRYNAME2 0x00000068 // 3 character ISO country na | | #define LOCALE_SISO3166CTRYNAME2 0x00000068 // 3 character ISO country na |
| me | | me, eg "USA" |
| #define LOCALE_SNAN 0x00000069 // Not a Number | | #define LOCALE_SNAN 0x00000069 // Not a Number, eg "NaN" |
| #define LOCALE_SPOSINFINITY 0x0000006a // + Infinity | | #define LOCALE_SPOSINFINITY 0x0000006a // + Infinity, eg "infinity" |
| #define LOCALE_SNEGINFINITY 0x0000006b // - Infinity | | #define LOCALE_SNEGINFINITY 0x0000006b // - Infinity, eg "-infinity" |
| #define LOCALE_SSCRIPTS 0x0000006c // Typical scripts in the loc | | #define LOCALE_SSCRIPTS 0x0000006c // Typical scripts in the loc |
| ale | | ale: ; delimited script codes, eg "Latn;" |
| #define LOCALE_SPARENT 0x0000006d // Fallback name for resource | | #define LOCALE_SPARENT 0x0000006d // Fallback name for resource |
| s | | s, eg "en" for "en-US" |
| #define LOCALE_SCONSOLEFALLBACKNAME 0x0000006e // Fallback name for within t | | #define LOCALE_SCONSOLEFALLBACKNAME 0x0000006e // Fallback name for within t |
| he console | | he console for Unicode Only locales, eg "en" for bn-IN |
| #define LOCALE_SLANGDISPLAYNAME 0x0000006f // Lanugage Display Name for | | |
| a language | | |
| #endif //(WINVER >= 0x0600) | | #endif //(WINVER >= 0x0600) |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define LOCALE_IREADINGLAYOUT 0x00000070 // Returns one of the followi |
| | ng 4 reading layout values: |
| | // 0 - Left to right (eg en-U |
| | S) |
| | // 1 - Right to left (eg arab |
| | ic locales) |
| | // 2 - Vertical top to bottom |
| | with columns to the left and also left to right (ja-JP locales) |
| | // 3 - Vertical top to bottom |
| | with columns proceeding to the right |
| | #define LOCALE_INEUTRAL 0x00000071 // Returns 0 for specific cul |
| | tures, 1 for neutral cultures. |
| | #define LOCALE_INEGATIVEPERCENT 0x00000074 // Returns 0-11 for the negat |
| | ive percent format |
| | #define LOCALE_IPOSITIVEPERCENT 0x00000075 // Returns 0-3 for the positi |
| | ve percent formatIPOSITIVEPERCENT |
| | #define LOCALE_SPERCENT 0x00000076 // Returns the percent symbol |
| | #define LOCALE_SPERMILLE 0x00000077 // Returns the permille (U+20 |
| | 30) symbol |
| | #define LOCALE_SMONTHDAY 0x00000078 // Returns the preferred mont |
| | h/day format |
| | #define LOCALE_SSHORTTIME 0x00000079 // Returns the preferred shor |
| | t time format (ie: no seconds, just h:mm) |
| | #define LOCALE_SOPENTYPELANGUAGETAG 0x0000007a // Open type language tag, eg |
| | : "latn" or "dflt" |
| | #define LOCALE_SSORTLOCALE 0x0000007b // Name of locale to use for |
| | sorting/collation/casing behavior. |
| | #endif //(WINVER >= _WIN32_WINNT_WIN7) |
| | |
| // | | // |
| // Time Flags for GetTimeFormat. | | // Time Flags for GetTimeFormat. |
| // | | // |
| #define TIME_NOMINUTESORSECONDS 0x00000001 // do not use minutes or seconds | | #define TIME_NOMINUTESORSECONDS 0x00000001 // do not use minutes or seconds |
| #define TIME_NOSECONDS 0x00000002 // do not use seconds | | #define TIME_NOSECONDS 0x00000002 // do not use seconds |
| #define TIME_NOTIMEMARKER 0x00000004 // do not use time marker | | #define TIME_NOTIMEMARKER 0x00000004 // do not use time marker |
| #define TIME_FORCE24HOURFORMAT 0x00000008 // always use 24 hour format | | #define TIME_FORCE24HOURFORMAT 0x00000008 // always use 24 hour format |
| | |
| // | | // |
| // Date Flags for GetDateFormat. | | // Date Flags for GetDateFormat. |
| | |
| skipping to change at line 615 | | skipping to change at line 678 |
| #define DATE_SHORTDATE 0x00000001 // use short date picture | | #define DATE_SHORTDATE 0x00000001 // use short date picture |
| #define DATE_LONGDATE 0x00000002 // use long date picture | | #define DATE_LONGDATE 0x00000002 // use long date picture |
| #define DATE_USE_ALT_CALENDAR 0x00000004 // use alternate calendar (if any) | | #define DATE_USE_ALT_CALENDAR 0x00000004 // use alternate calendar (if any) |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
| #define DATE_YEARMONTH 0x00000008 // use year month picture | | #define DATE_YEARMONTH 0x00000008 // use year month picture |
| #define DATE_LTRREADING 0x00000010 // add marks for left to right rea
ding order layout | | #define DATE_LTRREADING 0x00000010 // add marks for left to right rea
ding order layout |
| #define DATE_RTLREADING 0x00000020 // add marks for right to left rea
ding order layout | | #define DATE_RTLREADING 0x00000020 // add marks for right to left rea
ding order layout |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define DATE_AUTOLAYOUT 0x00000040 // add appropriate marks for lef |
| | t-to-right or right-to-left reading order layout |
| | #endif //(WINVER >= _WIN32_WINNT_WIN7) |
| | |
| // | | // |
| // Calendar Types. | | // Calendar Types. |
| // | | // |
| // These types are used for the EnumCalendarInfo and GetCalendarInfo | | // These types are used for the EnumCalendarInfo and GetCalendarInfo |
| // NLS API routines. | | // NLS API routines. |
| // Some of these types are also used for the SetCalendarInfo NLS API | | // Some of these types are also used for the SetCalendarInfo NLS API |
| // routine. | | // routine. |
| // | | // |
| | |
| // | | // |
| | |
| skipping to change at line 637 | | skipping to change at line 704 |
| // CAL_NOUSEROVERRIDE | | // CAL_NOUSEROVERRIDE |
| // | | // |
| // CAL_USE_CP_ACP is used in the A (Ansi) apis that need to do string | | // CAL_USE_CP_ACP is used in the A (Ansi) apis that need to do string |
| // translation. | | // translation. |
| // | | // |
| // CAL_RETURN_NUMBER will return the result from GetCalendarInfo as a | | // CAL_RETURN_NUMBER will return the result from GetCalendarInfo as a |
| // number instead of a string. This flag is only valid for the CalTypes | | // number instead of a string. This flag is only valid for the CalTypes |
| // beginning with CAL_I. | | // beginning with CAL_I. |
| // | | // |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
|
| #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE // do not use user over | | #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE // do not use us |
| rides | | er overrides |
| #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP // use the system ACP | | #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP // use the syste |
| #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER // return number instea | | m ACP |
| d of string | | #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER // return number |
| | instead of string |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES // return geniti |
| | ve forms of month names |
| | #endif // winver >= windows 7 |
| | |
| // | | // |
| // The following CalTypes are mutually exclusive in that they may NOT | | // The following CalTypes are mutually exclusive in that they may NOT |
| // be used in combination with each other. | | // be used in combination with each other. |
| // | | // |
| #define CAL_ICALINTVALUE 0x00000001 // calendar type | | #define CAL_ICALINTVALUE 0x00000001 // calendar type |
| #define CAL_SCALNAME 0x00000002 // native name of calendar | | #define CAL_SCALNAME 0x00000002 // native name of calendar |
| #define CAL_IYEAROFFSETRANGE 0x00000003 // starting years of eras | | #define CAL_IYEAROFFSETRANGE 0x00000003 // starting years of eras |
|
| #define CAL_SERASTRING 0x00000004 // era name for IYearOffsetRanges | | #define CAL_SERASTRING 0x00000004 // era name for IYearOffsetRanges,
eg A.D. |
| #define CAL_SSHORTDATE 0x00000005 // short date format string | | #define CAL_SSHORTDATE 0x00000005 // short date format string |
| #define CAL_SLONGDATE 0x00000006 // long date format string | | #define CAL_SLONGDATE 0x00000006 // long date format string |
| #define CAL_SDAYNAME1 0x00000007 // native name for Monday | | #define CAL_SDAYNAME1 0x00000007 // native name for Monday |
| #define CAL_SDAYNAME2 0x00000008 // native name for Tuesday | | #define CAL_SDAYNAME2 0x00000008 // native name for Tuesday |
| #define CAL_SDAYNAME3 0x00000009 // native name for Wednesday | | #define CAL_SDAYNAME3 0x00000009 // native name for Wednesday |
| #define CAL_SDAYNAME4 0x0000000a // native name for Thursday | | #define CAL_SDAYNAME4 0x0000000a // native name for Thursday |
| #define CAL_SDAYNAME5 0x0000000b // native name for Friday | | #define CAL_SDAYNAME5 0x0000000b // native name for Friday |
| #define CAL_SDAYNAME6 0x0000000c // native name for Saturday | | #define CAL_SDAYNAME6 0x0000000c // native name for Saturday |
| #define CAL_SDAYNAME7 0x0000000d // native name for Sunday | | #define CAL_SDAYNAME7 0x0000000d // native name for Sunday |
|
| #define CAL_SABBREVDAYNAME1 0x0000000e // abbreviated name for Monday | | #define CAL_SABBREVDAYNAME1 0x0000000e // abbreviated name for Mon |
| #define CAL_SABBREVDAYNAME2 0x0000000f // abbreviated name for Tuesday | | #define CAL_SABBREVDAYNAME2 0x0000000f // abbreviated name for Tue |
| #define CAL_SABBREVDAYNAME3 0x00000010 // abbreviated name for Wednesday | | #define CAL_SABBREVDAYNAME3 0x00000010 // abbreviated name for Wed |
| #define CAL_SABBREVDAYNAME4 0x00000011 // abbreviated name for Thursday | | #define CAL_SABBREVDAYNAME4 0x00000011 // abbreviated name for Thu |
| #define CAL_SABBREVDAYNAME5 0x00000012 // abbreviated name for Friday | | #define CAL_SABBREVDAYNAME5 0x00000012 // abbreviated name for Fri |
| #define CAL_SABBREVDAYNAME6 0x00000013 // abbreviated name for Saturday | | #define CAL_SABBREVDAYNAME6 0x00000013 // abbreviated name for Sat |
| #define CAL_SABBREVDAYNAME7 0x00000014 // abbreviated name for Sunday | | #define CAL_SABBREVDAYNAME7 0x00000014 // abbreviated name for Sun |
| | // Note that in the hebrew calendar the leap month name is always returned as th |
| | e 7th month |
| #define CAL_SMONTHNAME1 0x00000015 // native name for January | | #define CAL_SMONTHNAME1 0x00000015 // native name for January |
| #define CAL_SMONTHNAME2 0x00000016 // native name for February | | #define CAL_SMONTHNAME2 0x00000016 // native name for February |
| #define CAL_SMONTHNAME3 0x00000017 // native name for March | | #define CAL_SMONTHNAME3 0x00000017 // native name for March |
| #define CAL_SMONTHNAME4 0x00000018 // native name for April | | #define CAL_SMONTHNAME4 0x00000018 // native name for April |
| #define CAL_SMONTHNAME5 0x00000019 // native name for May | | #define CAL_SMONTHNAME5 0x00000019 // native name for May |
| #define CAL_SMONTHNAME6 0x0000001a // native name for June | | #define CAL_SMONTHNAME6 0x0000001a // native name for June |
| #define CAL_SMONTHNAME7 0x0000001b // native name for July | | #define CAL_SMONTHNAME7 0x0000001b // native name for July |
| #define CAL_SMONTHNAME8 0x0000001c // native name for August | | #define CAL_SMONTHNAME8 0x0000001c // native name for August |
| #define CAL_SMONTHNAME9 0x0000001d // native name for September | | #define CAL_SMONTHNAME9 0x0000001d // native name for September |
| #define CAL_SMONTHNAME10 0x0000001e // native name for October | | #define CAL_SMONTHNAME10 0x0000001e // native name for October |
| #define CAL_SMONTHNAME11 0x0000001f // native name for November | | #define CAL_SMONTHNAME11 0x0000001f // native name for November |
| #define CAL_SMONTHNAME12 0x00000020 // native name for December | | #define CAL_SMONTHNAME12 0x00000020 // native name for December |
| #define CAL_SMONTHNAME13 0x00000021 // native name for 13th month (if
any) | | #define CAL_SMONTHNAME13 0x00000021 // native name for 13th month (if
any) |
|
| #define CAL_SABBREVMONTHNAME1 0x00000022 // abbreviated name for January | | #define CAL_SABBREVMONTHNAME1 0x00000022 // abbreviated name for Jan |
| #define CAL_SABBREVMONTHNAME2 0x00000023 // abbreviated name for February | | #define CAL_SABBREVMONTHNAME2 0x00000023 // abbreviated name for Feb |
| #define CAL_SABBREVMONTHNAME3 0x00000024 // abbreviated name for March | | #define CAL_SABBREVMONTHNAME3 0x00000024 // abbreviated name for Mar |
| #define CAL_SABBREVMONTHNAME4 0x00000025 // abbreviated name for April | | #define CAL_SABBREVMONTHNAME4 0x00000025 // abbreviated name for Apr |
| #define CAL_SABBREVMONTHNAME5 0x00000026 // abbreviated name for May | | #define CAL_SABBREVMONTHNAME5 0x00000026 // abbreviated name for May |
|
| #define CAL_SABBREVMONTHNAME6 0x00000027 // abbreviated name for June | | #define CAL_SABBREVMONTHNAME6 0x00000027 // abbreviated name for Jun |
| #define CAL_SABBREVMONTHNAME7 0x00000028 // abbreviated name for July | | #define CAL_SABBREVMONTHNAME7 0x00000028 // abbreviated name for July |
|
| #define CAL_SABBREVMONTHNAME8 0x00000029 // abbreviated name for August | | #define CAL_SABBREVMONTHNAME8 0x00000029 // abbreviated name for Aug |
| #define CAL_SABBREVMONTHNAME9 0x0000002a // abbreviated name for September | | #define CAL_SABBREVMONTHNAME9 0x0000002a // abbreviated name for Sep |
| #define CAL_SABBREVMONTHNAME10 0x0000002b // abbreviated name for October | | #define CAL_SABBREVMONTHNAME10 0x0000002b // abbreviated name for Oct |
| #define CAL_SABBREVMONTHNAME11 0x0000002c // abbreviated name for November | | #define CAL_SABBREVMONTHNAME11 0x0000002c // abbreviated name for Nov |
| #define CAL_SABBREVMONTHNAME12 0x0000002d // abbreviated name for December | | #define CAL_SABBREVMONTHNAME12 0x0000002d // abbreviated name for Dec |
| #define CAL_SABBREVMONTHNAME13 0x0000002e // abbreviated name for 13th month
(if any) | | #define CAL_SABBREVMONTHNAME13 0x0000002e // abbreviated name for 13th month
(if any) |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
| #define CAL_SYEARMONTH 0x0000002f // year month format string | | #define CAL_SYEARMONTH 0x0000002f // year month format string |
| #define CAL_ITWODIGITYEARMAX 0x00000030 // two digit year max | | #define CAL_ITWODIGITYEARMAX 0x00000030 // two digit year max |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
|
| #define CAL_SSHORTESTDAYNAME1 0x00000031 // Shortest day name for Monday | | #define CAL_SSHORTESTDAYNAME1 0x00000031 // Shortest day name for Mo |
| #define CAL_SSHORTESTDAYNAME2 0x00000032 // Shortest day name for Tuesday | | #define CAL_SSHORTESTDAYNAME2 0x00000032 // Shortest day name for Tu |
| #define CAL_SSHORTESTDAYNAME3 0x00000033 // Shortest day name for Wednesday | | #define CAL_SSHORTESTDAYNAME3 0x00000033 // Shortest day name for We |
| #define CAL_SSHORTESTDAYNAME4 0x00000034 // Shortest day name for Thursday | | #define CAL_SSHORTESTDAYNAME4 0x00000034 // Shortest day name for Th |
| #define CAL_SSHORTESTDAYNAME5 0x00000035 // Shortest day name for Friday | | #define CAL_SSHORTESTDAYNAME5 0x00000035 // Shortest day name for Fr |
| #define CAL_SSHORTESTDAYNAME6 0x00000036 // Shortest day name for Saturday | | #define CAL_SSHORTESTDAYNAME6 0x00000036 // Shortest day name for Sa |
| #define CAL_SSHORTESTDAYNAME7 0x00000037 // Shortest day name for Sunday | | #define CAL_SSHORTESTDAYNAME7 0x00000037 // Shortest day name for Su |
| #endif //(WINVER >= 0x0600) | | #endif //(WINVER >= 0x0600) |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | #define CAL_SMONTHDAY 0x00000038 // Month/day format |
| | #define CAL_SABBREVERASTRING 0x00000039 // Abbreviated era string (eg: AD) |
| | #endif // winver >= windows 7 |
| | |
| // | | // |
| // Calendar Enumeration Value. | | // Calendar Enumeration Value. |
| // | | // |
| #define ENUM_ALL_CALENDARS 0xffffffff // enumerate all calendars | | #define ENUM_ALL_CALENDARS 0xffffffff // enumerate all calendars |
| | |
| // | | // |
| // Calendar ID Values. | | // Calendar ID Values. |
| // | | // |
| #define CAL_GREGORIAN 1 // Gregorian (localized) calendar | | #define CAL_GREGORIAN 1 // Gregorian (localized) calendar |
| #define CAL_GREGORIAN_US 2 // Gregorian (U.S.) calendar | | #define CAL_GREGORIAN_US 2 // Gregorian (U.S.) calendar |
| | |
| skipping to change at line 760 | | skipping to change at line 837 |
| #define LGRPID_ARMENIAN 0x0011 // Armenian | | #define LGRPID_ARMENIAN 0x0011 // Armenian |
| | |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
| // | | // |
| // MUI function flag values | | // MUI function flag values |
| // | | // |
| #define MUI_LANGUAGE_ID 0x4 // Use traditional language
ID convention | | #define MUI_LANGUAGE_ID 0x4 // Use traditional language
ID convention |
| #define MUI_LANGUAGE_NAME 0x8 // Use ISO language (cultur
e) name convention | | #define MUI_LANGUAGE_NAME 0x8 // Use ISO language (cultur
e) name convention |
| #define MUI_MERGE_SYSTEM_FALLBACK 0x10 // GetThreadPreferredUILang
uages merges in parent and base languages | | #define MUI_MERGE_SYSTEM_FALLBACK 0x10 // GetThreadPreferredUILang
uages merges in parent and base languages |
| #define MUI_MERGE_USER_FALLBACK 0x20 // GetThreadPreferredUILang
uages merges in user preferred languages | | #define MUI_MERGE_USER_FALLBACK 0x20 // GetThreadPreferredUILang
uages merges in user preferred languages |
|
| | #define MUI_UI_FALLBACK MUI_MERGE_SYSTEM_FALLBACK | MUI_MERG
E_USER_FALLBACK |
| #define MUI_THREAD_LANGUAGES 0x40 // GetThreadPreferredUILang
uages merges in user preferred languages | | #define MUI_THREAD_LANGUAGES 0x40 // GetThreadPreferredUILang
uages merges in user preferred languages |
| #define MUI_CONSOLE_FILTER 0x100 // SetThreadPreferredUILang
uages takes on console specific behavior | | #define MUI_CONSOLE_FILTER 0x100 // SetThreadPreferredUILang
uages takes on console specific behavior |
| #define MUI_COMPLEX_SCRIPT_FILTER 0x200 // SetThreadPreferredUILang
uages takes on complex script specific behavior | | #define MUI_COMPLEX_SCRIPT_FILTER 0x200 // SetThreadPreferredUILang
uages takes on complex script specific behavior |
| #define MUI_RESET_FILTERS 0x001 // Reset MUI_CONSOLE_FILTER
and MUI_COMPLEX_SCRIPT_FILTER | | #define MUI_RESET_FILTERS 0x001 // Reset MUI_CONSOLE_FILTER
and MUI_COMPLEX_SCRIPT_FILTER |
| #define MUI_USER_PREFERRED_UI_LANGUAGES 0x10 // GetFileMUIPath returns t
he MUI files for the languages in the fallback list | | #define MUI_USER_PREFERRED_UI_LANGUAGES 0x10 // GetFileMUIPath returns t
he MUI files for the languages in the fallback list |
| #define MUI_USE_INSTALLED_LANGUAGES 0x20 // GetFileMUIPath returns a
ll the MUI files installed in the machine | | #define MUI_USE_INSTALLED_LANGUAGES 0x20 // GetFileMUIPath returns a
ll the MUI files installed in the machine |
| #define MUI_USE_SEARCH_ALL_LANGUAGES 0x40 // GetFileMUIPath returns a
ll the MUI files irrespective of whether language is installed | | #define MUI_USE_SEARCH_ALL_LANGUAGES 0x40 // GetFileMUIPath returns a
ll the MUI files irrespective of whether language is installed |
| #define MUI_LANG_NEUTRAL_PE_FILE 0x100 // GetFileMUIPath returns t
arget file with .mui extension | | #define MUI_LANG_NEUTRAL_PE_FILE 0x100 // GetFileMUIPath returns t
arget file with .mui extension |
| #define MUI_NON_LANG_NEUTRAL_FILE 0x200 // GetFileMUIPath returns t
arget file with same name as source | | #define MUI_NON_LANG_NEUTRAL_FILE 0x200 // GetFileMUIPath returns t
arget file with same name as source |
| #define MUI_MACHINE_LANGUAGE_SETTINGS 0x400 | | #define MUI_MACHINE_LANGUAGE_SETTINGS 0x400 |
|
| #define MUI_BYPASS_SESSION_BEHAVIOR 0x80 //EnumUILanguages,GetFileMUI
Info: includes latest changes in installed languages | | |
| #define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x001 // GetFileMUIInfo found a no
n-split resource file | | #define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x001 // GetFileMUIInfo found a no
n-split resource file |
| #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN 0x002 // GetFileMUIInfo found a LN
main module resource file | | #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN 0x002 // GetFileMUIInfo found a LN
main module resource file |
| #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI 0x004 // GetFileMUIInfo found a LN
MUI module resource file | | #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI 0x004 // GetFileMUIInfo found a LN
MUI module resource file |
| #define MUI_QUERY_TYPE 0x001 // GetFileMUIInfo will look
for the type of the resource file | | #define MUI_QUERY_TYPE 0x001 // GetFileMUIInfo will look
for the type of the resource file |
| #define MUI_QUERY_CHECKSUM 0x002 // GetFileMUIInfo will look
for the checksum of the resource file | | #define MUI_QUERY_CHECKSUM 0x002 // GetFileMUIInfo will look
for the checksum of the resource file |
| #define MUI_QUERY_LANGUAGE_NAME 0x004 // GetFileMUIInfo will look
for the culture of the resource file | | #define MUI_QUERY_LANGUAGE_NAME 0x004 // GetFileMUIInfo will look
for the culture of the resource file |
| #define MUI_QUERY_RESOURCE_TYPES 0x008 // GetFileMUIInfo will look
for the resource types of the resource file | | #define MUI_QUERY_RESOURCE_TYPES 0x008 // GetFileMUIInfo will look
for the resource types of the resource file |
| #define MUI_FILEINFO_VERSION 0x001 // Version of FILEMUIINFO st
ructure used with GetFileMUIInfo | | #define MUI_FILEINFO_VERSION 0x001 // Version of FILEMUIINFO st
ructure used with GetFileMUIInfo |
|
| #define MUI_SXS_FALLBACK 0x00010000 // SXS | | |
| | |
| #define MUI_FULL_LANGUAGE 0x01 | | #define MUI_FULL_LANGUAGE 0x01 |
| #define MUI_PARTIAL_LANGUAGE 0x02 | | #define MUI_PARTIAL_LANGUAGE 0x02 |
| #define MUI_LIP_LANGUAGE 0x04 | | #define MUI_LIP_LANGUAGE 0x04 |
| #define MUI_LANGUAGE_INSTALLED 0x20 | | #define MUI_LANGUAGE_INSTALLED 0x20 |
| #define MUI_LANGUAGE_LICENSED 0x40 | | #define MUI_LANGUAGE_LICENSED 0x40 |
| | |
|
| #define MUI_PUBLIC_LANGUAGE_TYPE_FLAGS_MASK 0x67 | | |
| | | |
| // | | // |
| // MUI_CALLBACK_FLAG defines are duplicated in rtlmui.h | | // MUI_CALLBACK_FLAG defines are duplicated in rtlmui.h |
| // | | // |
| | |
| #define MUI_CALLBACK_ALL_FLAGS MUI_CALLBACK_FLAG_UPGRADED
_INSTALLATION // OR all other flags when defined. | | #define MUI_CALLBACK_ALL_FLAGS MUI_CALLBACK_FLAG_UPGRADED
_INSTALLATION // OR all other flags when defined. |
| | |
| // | | // |
| // MUI_CALLBACK_ flags are duplicated in rtlmui.h | | // MUI_CALLBACK_ flags are duplicated in rtlmui.h |
| // | | // |
| | |
| | |
| skipping to change at line 942 | | skipping to change at line 1016 |
| // | | // |
| // NLS version structure. | | // NLS version structure. |
| // | | // |
| | |
| typedef struct _nlsversioninfo{ | | typedef struct _nlsversioninfo{ |
| DWORD dwNLSVersionInfoSize; // 12 bytes | | DWORD dwNLSVersionInfoSize; // 12 bytes |
| DWORD dwNLSVersion; | | DWORD dwNLSVersion; |
| DWORD dwDefinedVersion; | | DWORD dwDefinedVersion; |
| } NLSVERSIONINFO, *LPNLSVERSIONINFO; | | } NLSVERSIONINFO, *LPNLSVERSIONINFO; |
| | |
|
| | // This is to be deprecated, please use the NLSVERSIONINFO |
| | // structure above in the future. The difference is that |
| | // the effective ID is more robust. |
| typedef struct _nlsversioninfoex{ | | typedef struct _nlsversioninfoex{ |
| DWORD dwNLSVersionInfoSize; // sizeof(NLSVERSIONINFOEX) == 32 bytes | | DWORD dwNLSVersionInfoSize; // sizeof(NLSVERSIONINFOEX) == 32 bytes |
| DWORD dwNLSVersion; | | DWORD dwNLSVersion; |
| DWORD dwDefinedVersion; | | DWORD dwDefinedVersion; |
|
| DWORD dwEffectiveId; | | DWORD dwEffectiveId; // Use NLSVERSIONINFO instead |
| GUID guidCustomVersion; | | GUID guidCustomVersion; |
| } NLSVERSIONINFOEX, *LPNLSVERSIONINFOEX; | | } NLSVERSIONINFOEX, *LPNLSVERSIONINFOEX; |
| | |
| // | | // |
| // GEO defines | | // GEO defines |
| // | | // |
| | |
| typedef LONG GEOID; | | typedef LONG GEOID; |
| typedef DWORD GEOTYPE; | | typedef DWORD GEOTYPE; |
| typedef DWORD GEOCLASS; | | typedef DWORD GEOCLASS; |
| | |
| skipping to change at line 1263 | | skipping to change at line 1340 |
| __in int cchWideChar, | | __in int cchWideChar, |
| __out_bcount_opt(cbMultiByte) __transfer(lpWideCharStr) LPSTR lpMultiByteS
tr, | | __out_bcount_opt(cbMultiByte) __transfer(lpWideCharStr) LPSTR lpMultiByteS
tr, |
| __in int cbMultiByte, | | __in int cbMultiByte, |
| __in_opt LPCSTR lpDefaultChar, | | __in_opt LPCSTR lpDefaultChar, |
| __out_opt LPBOOL lpUsedDefaultChar); | | __out_opt LPBOOL lpUsedDefaultChar); |
| | |
| // | | // |
| // Locale Dependent APIs. | | // Locale Dependent APIs. |
| // | | // |
| | |
|
| | // For Windows Vista and above CompareStringEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| CompareStringA( | | CompareStringA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwCmpFlags, | | __in DWORD dwCmpFlags, |
|
| __in_ecount(cchCount1) LPCSTR lpString1, | | __in_ecount(cchCount1) PCNZCH lpString1, |
| __in int cchCount1, | | __in int cchCount1, |
|
| __in_ecount(cchCount2) LPCSTR lpString2, | | __in_ecount(cchCount2) PCNZCH lpString2, |
| __in int cchCount2); | | __in int cchCount2); |
|
| | |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| CompareStringW( | | CompareStringW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwCmpFlags, | | __in DWORD dwCmpFlags, |
|
| __in_ecount(cchCount1) LPCWSTR lpString1, | | __in_ecount(cchCount1) PCNZWCH lpString1, |
| __in int cchCount1, | | __in int cchCount1, |
|
| __in_ecount(cchCount2) LPCWSTR lpString2, | | __in_ecount(cchCount2) PCNZWCH lpString2, |
| __in int cchCount2); | | __in int cchCount2); |
|
| | |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define CompareString CompareStringW | | #define CompareString CompareStringW |
| #else | | #else |
| #define CompareString CompareStringA | | #define CompareString CompareStringA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
| #if defined(_M_CEE) | | #if defined(_M_CEE) |
| #undef CompareString | | #undef CompareString |
| __inline | | __inline |
| int | | int |
| | |
| skipping to change at line 1319 | | skipping to change at line 1399 |
| lpString1, | | lpString1, |
| cchCount1, | | cchCount1, |
| lpString2, | | lpString2, |
| cchCount2 | | cchCount2 |
| ); | | ); |
| } | | } |
| #endif /* _M_CEE */ | | #endif /* _M_CEE */ |
| | |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
| | |
|
| | // For Windows Vista and above FindNLSStringEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| FindNLSString( | | FindNLSString( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFindNLSStringFlags, | | __in DWORD dwFindNLSStringFlags, |
| __in_ecount(cchSource) LPCWSTR lpStringSource, | | __in_ecount(cchSource) LPCWSTR lpStringSource, |
| __in int cchSource, | | __in int cchSource, |
| __in_ecount(cchValue) LPCWSTR lpStringValue, | | __in_ecount(cchValue) LPCWSTR lpStringValue, |
| __in int cchValue, | | __in int cchValue, |
| __out_opt LPINT pcchFound); | | __out_opt LPINT pcchFound); |
| | |
| #endif //(WINVER >= 0x0600) | | #endif //(WINVER >= 0x0600) |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| | WINBASEAPI |
| | int |
| | WINAPI |
| | FindStringOrdinal( |
| | __in DWORD dwFindStringOrdinalFlags, |
| | __in_ecount(cchSource) LPCWSTR lpStringSource, |
| | __in int cchSource, |
| | __in_ecount(cchValue) LPCWSTR lpStringValue, |
| | __in int cchValue, |
| | __in BOOL bIgnoreCase); |
| | |
| | #endif //(WINVER >= _WIN32_WINNT_WIN7) |
| | |
| | // For Windows Vista and above LCMapStringEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| LCMapStringA( | | LCMapStringA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwMapFlags, | | __in DWORD dwMapFlags, |
| __in_ecount(cchSrc) LPCSTR lpSrcStr, | | __in_ecount(cchSrc) LPCSTR lpSrcStr, |
| __in int cchSrc, | | __in int cchSrc, |
| __out_xcount_opt(cchDest) LPSTR lpDestStr, | | __out_xcount_opt(cchDest) LPSTR lpDestStr, |
| __in int cchDest); | | __in int cchDest); |
|
| | // For Windows Vista and above LCMapStringEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| LCMapStringW( | | LCMapStringW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwMapFlags, | | __in DWORD dwMapFlags, |
| __in_ecount(cchSrc) LPCWSTR lpSrcStr, | | __in_ecount(cchSrc) LPCWSTR lpSrcStr, |
| __in int cchSrc, | | __in int cchSrc, |
| __out_xcount_opt(cchDest) LPWSTR lpDestStr, | | __out_xcount_opt(cchDest) LPWSTR lpDestStr, |
| __in int cchDest); | | __in int cchDest); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define LCMapString LCMapStringW | | #define LCMapString LCMapStringW |
| #else | | #else |
| #define LCMapString LCMapStringA | | #define LCMapString LCMapStringA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above GetLocaleInfoEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetLocaleInfoA( | | GetLocaleInfoA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in LCTYPE LCType, | | __in LCTYPE LCType, |
| __out_ecount_opt(cchData) LPSTR lpLCData, | | __out_ecount_opt(cchData) LPSTR lpLCData, |
| __in int cchData); | | __in int cchData); |
|
| | // For Windows Vista and above GetLocaleInfoEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetLocaleInfoW( | | GetLocaleInfoW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in LCTYPE LCType, | | __in LCTYPE LCType, |
| __out_ecount_opt(cchData) LPWSTR lpLCData, | | __out_ecount_opt(cchData) LPWSTR lpLCData, |
| __in int cchData); | | __in int cchData); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define GetLocaleInfo GetLocaleInfoW | | #define GetLocaleInfo GetLocaleInfoW |
| | |
| skipping to change at line 1402 | | skipping to change at line 1502 |
| __in LCID Locale, | | __in LCID Locale, |
| __in LCTYPE LCType, | | __in LCTYPE LCType, |
| __in LPCWSTR lpLCData); | | __in LPCWSTR lpLCData); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define SetLocaleInfo SetLocaleInfoW | | #define SetLocaleInfo SetLocaleInfoW |
| #else | | #else |
| #define SetLocaleInfo SetLocaleInfoA | | #define SetLocaleInfo SetLocaleInfoA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
| #if (WINVER >= 0x040A) | | #if (WINVER >= 0x040A) |
|
| | // For Windows Vista and above GetCalendarInfoEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetCalendarInfoA( | | GetCalendarInfoA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType, | | __in CALTYPE CalType, |
| __out_ecount_opt(cchData) LPSTR lpCalData, | | __out_ecount_opt(cchData) LPSTR lpCalData, |
| __in int cchData, | | __in int cchData, |
| __out_opt LPDWORD lpValue); | | __out_opt LPDWORD lpValue); |
|
| | // For Windows Vista and above GetCalendarInfoEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetCalendarInfoW( | | GetCalendarInfoW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType, | | __in CALTYPE CalType, |
| __out_ecount_opt(cchData) LPWSTR lpCalData, | | __out_ecount_opt(cchData) LPWSTR lpCalData, |
| __in int cchData, | | __in int cchData, |
| __out_opt LPDWORD lpValue); | | __out_opt LPDWORD lpValue); |
| | |
| skipping to change at line 1470 | | skipping to change at line 1572 |
| | |
| WINBASEAPI | | WINBASEAPI |
| LCID | | LCID |
| WINAPI | | WINAPI |
| LocaleNameToLCID( | | LocaleNameToLCID( |
| __in LPCWSTR lpName, | | __in LPCWSTR lpName, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| | |
| #endif // (WINVER >= 0x0600) | | #endif // (WINVER >= 0x0600) |
| | |
|
| | // For Windows Vista and above GetTimeFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetTimeFormatA( | | GetTimeFormatA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt CONST SYSTEMTIME *lpTime, | | __in_opt CONST SYSTEMTIME *lpTime, |
| __in_opt LPCSTR lpFormat, | | __in_opt LPCSTR lpFormat, |
| __out_ecount_opt(cchTime) LPSTR lpTimeStr, | | __out_ecount_opt(cchTime) LPSTR lpTimeStr, |
| __in int cchTime); | | __in int cchTime); |
|
| | // For Windows Vista and above GetTimeFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetTimeFormatW( | | GetTimeFormatW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt CONST SYSTEMTIME *lpTime, | | __in_opt CONST SYSTEMTIME *lpTime, |
| __in_opt LPCWSTR lpFormat, | | __in_opt LPCWSTR lpFormat, |
| __out_ecount_opt(cchTime) LPWSTR lpTimeStr, | | __out_ecount_opt(cchTime) LPWSTR lpTimeStr, |
| __in int cchTime); | | __in int cchTime); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define GetTimeFormat GetTimeFormatW | | #define GetTimeFormat GetTimeFormatW |
| #else | | #else |
| #define GetTimeFormat GetTimeFormatA | | #define GetTimeFormat GetTimeFormatA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above GetDurationFormatEx is preferred |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetDurationFormat( | | GetDurationFormat( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt CONST SYSTEMTIME *lpDuration, | | __in_opt CONST SYSTEMTIME *lpDuration, |
| __in ULONGLONG ullDuration, | | __in ULONGLONG ullDuration, |
| __in_opt LPCWSTR lpFormat, | | __in_opt LPCWSTR lpFormat, |
| __out_ecount_opt(cchDuration) LPWSTR lpDurationStr, | | __out_ecount_opt(cchDuration) LPWSTR lpDurationStr, |
| __in int cchDuration); | | __in int cchDuration); |
| #endif //(WINVER >= 0x0600) | | #endif //(WINVER >= 0x0600) |
| | |
|
| | // For Windows Vista and above GetDateFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetDateFormatA( | | GetDateFormatA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt CONST SYSTEMTIME *lpDate, | | __in_opt CONST SYSTEMTIME *lpDate, |
| __in_opt LPCSTR lpFormat, | | __in_opt LPCSTR lpFormat, |
| __out_ecount_opt(cchDate) LPSTR lpDateStr, | | __out_ecount_opt(cchDate) LPSTR lpDateStr, |
| __in int cchDate); | | __in int cchDate); |
|
| | // For Windows Vista and above GetDateFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetDateFormatW( | | GetDateFormatW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt CONST SYSTEMTIME *lpDate, | | __in_opt CONST SYSTEMTIME *lpDate, |
| __in_opt LPCWSTR lpFormat, | | __in_opt LPCWSTR lpFormat, |
| __out_ecount_opt(cchDate) LPWSTR lpDateStr, | | __out_ecount_opt(cchDate) LPWSTR lpDateStr, |
| __in int cchDate); | | __in int cchDate); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define GetDateFormat GetDateFormatW | | #define GetDateFormat GetDateFormatW |
| #else | | #else |
| #define GetDateFormat GetDateFormatA | | #define GetDateFormat GetDateFormatA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above GetNumberFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetNumberFormatA( | | GetNumberFormatA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPCSTR lpValue, | | __in LPCSTR lpValue, |
| __in_opt CONST NUMBERFMTA *lpFormat, | | __in_opt CONST NUMBERFMTA *lpFormat, |
| __out_ecount_opt(cchNumber) LPSTR lpNumberStr, | | __out_ecount_opt(cchNumber) LPSTR lpNumberStr, |
| __in int cchNumber); | | __in int cchNumber); |
|
| | // For Windows Vista and above GetNumberFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetNumberFormatW( | | GetNumberFormatW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPCWSTR lpValue, | | __in LPCWSTR lpValue, |
| __in_opt CONST NUMBERFMTW *lpFormat, | | __in_opt CONST NUMBERFMTW *lpFormat, |
| __out_ecount_opt(cchNumber) LPWSTR lpNumberStr, | | __out_ecount_opt(cchNumber) LPWSTR lpNumberStr, |
| __in int cchNumber); | | __in int cchNumber); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define GetNumberFormat GetNumberFormatW | | #define GetNumberFormat GetNumberFormatW |
| #else | | #else |
| #define GetNumberFormat GetNumberFormatA | | #define GetNumberFormat GetNumberFormatA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above GetCurrencyFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetCurrencyFormatA( | | GetCurrencyFormatA( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPCSTR lpValue, | | __in LPCSTR lpValue, |
| __in_opt CONST CURRENCYFMTA *lpFormat, | | __in_opt CONST CURRENCYFMTA *lpFormat, |
| __out_ecount_opt(cchCurrency) LPSTR lpCurrencyStr, | | __out_ecount_opt(cchCurrency) LPSTR lpCurrencyStr, |
| __in int cchCurrency); | | __in int cchCurrency); |
|
| | // For Windows Vista and above GetCurrencyFormatEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| GetCurrencyFormatW( | | GetCurrencyFormatW( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPCWSTR lpValue, | | __in LPCWSTR lpValue, |
| __in_opt CONST CURRENCYFMTW *lpFormat, | | __in_opt CONST CURRENCYFMTW *lpFormat, |
| __out_ecount_opt(cchCurrency) LPWSTR lpCurrencyStr, | | __out_ecount_opt(cchCurrency) LPWSTR lpCurrencyStr, |
| __in int cchCurrency); | | __in int cchCurrency); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define GetCurrencyFormat GetCurrencyFormatW | | #define GetCurrencyFormat GetCurrencyFormatW |
| #else | | #else |
| #define GetCurrencyFormat GetCurrencyFormatA | | #define GetCurrencyFormat GetCurrencyFormatA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above EnumCalendarInfoExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumCalendarInfoA( | | EnumCalendarInfoA( |
| __in CALINFO_ENUMPROCA lpCalInfoEnumProc, | | __in CALINFO_ENUMPROCA lpCalInfoEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType); | | __in CALTYPE CalType); |
|
| | // For Windows Vista and above EnumCalendarInfoExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumCalendarInfoW( | | EnumCalendarInfoW( |
| __in CALINFO_ENUMPROCW lpCalInfoEnumProc, | | __in CALINFO_ENUMPROCW lpCalInfoEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType); | | __in CALTYPE CalType); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define EnumCalendarInfo EnumCalendarInfoW | | #define EnumCalendarInfo EnumCalendarInfoW |
| #else | | #else |
| #define EnumCalendarInfo EnumCalendarInfoA | | #define EnumCalendarInfo EnumCalendarInfoA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
|
| | // For Windows Vista and above EnumCalendarInfoExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumCalendarInfoExA( | | EnumCalendarInfoExA( |
| __in CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx, | | __in CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx, |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType); | | __in CALTYPE CalType); |
|
| | // For Windows Vista and above EnumCalendarInfoExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumCalendarInfoExW( | | EnumCalendarInfoExW( |
| __in CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx, | | __in CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx, |
| __in LCID Locale, | | __in LCID Locale, |
| __in CALID Calendar, | | __in CALID Calendar, |
| __in CALTYPE CalType); | | __in CALTYPE CalType); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define EnumCalendarInfoEx EnumCalendarInfoExW | | #define EnumCalendarInfoEx EnumCalendarInfoExW |
| #else | | #else |
| #define EnumCalendarInfoEx EnumCalendarInfoExA | | #define EnumCalendarInfoEx EnumCalendarInfoExA |
| #endif // !UNICODE | | #endif // !UNICODE |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
|
| | // For Windows Vista and above EnumTimeFormatsEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumTimeFormatsA( | | EnumTimeFormatsA( |
| __in TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, | | __in TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
|
| | // For Windows Vista and above EnumTimeFormatsEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumTimeFormatsW( | | EnumTimeFormatsW( |
| __in TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, | | __in TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define EnumTimeFormats EnumTimeFormatsW | | #define EnumTimeFormats EnumTimeFormatsW |
| #else | | #else |
| #define EnumTimeFormats EnumTimeFormatsA | | #define EnumTimeFormats EnumTimeFormatsA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
|
| | // For Windows Vista and above EnumDateFormatsExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumDateFormatsA( | | EnumDateFormatsA( |
| __in DATEFMT_ENUMPROCA lpDateFmtEnumProc, | | __in DATEFMT_ENUMPROCA lpDateFmtEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
|
| | // For Windows Vista and above EnumDateFormatsExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumDateFormatsW( | | EnumDateFormatsW( |
| __in DATEFMT_ENUMPROCW lpDateFmtEnumProc, | | __in DATEFMT_ENUMPROCW lpDateFmtEnumProc, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define EnumDateFormats EnumDateFormatsW | | #define EnumDateFormats EnumDateFormatsW |
| #else | | #else |
| #define EnumDateFormats EnumDateFormatsA | | #define EnumDateFormats EnumDateFormatsA |
| #endif // !UNICODE | | #endif // !UNICODE |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
|
| | // For Windows Vista and above EnumDateFormatsExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumDateFormatsExA( | | EnumDateFormatsExA( |
| __in DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx, | | __in DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
|
| | // For Windows Vista and above EnumDateFormatsExEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| EnumDateFormatsExW( | | EnumDateFormatsExW( |
| __in DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx, | | __in DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx, |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| #ifdef UNICODE | | #ifdef UNICODE |
| #define EnumDateFormatsEx EnumDateFormatsExW | | #define EnumDateFormatsEx EnumDateFormatsExW |
| #else | | #else |
| | |
| skipping to change at line 1705 | | skipping to change at line 1826 |
| | |
| #if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| IsValidLanguageGroup( | | IsValidLanguageGroup( |
| __in LGRPID LanguageGroup, | | __in LGRPID LanguageGroup, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| #endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
|
| | // For Windows Vista and above GetNLSVersionEx is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| GetNLSVersion( | | GetNLSVersion( |
| __in NLS_FUNCTION Function, | | __in NLS_FUNCTION Function, |
| __in LCID Locale, | | __in LCID Locale, |
| __inout LPNLSVERSIONINFO lpVersionInformation); | | __inout LPNLSVERSIONINFO lpVersionInformation); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| IsNLSDefinedString( | | IsNLSDefinedString( |
| __in NLS_FUNCTION Function, | | __in NLS_FUNCTION Function, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPNLSVERSIONINFO lpVersionInformation, | | __in LPNLSVERSIONINFO lpVersionInformation, |
| __in_ecount(cchStr) LPCWSTR lpString, | | __in_ecount(cchStr) LPCWSTR lpString, |
| __in INT cchStr); | | __in INT cchStr); |
| | |
|
| | // For Windows Vista and above IsValidLocaleName is preferred |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| IsValidLocale( | | IsValidLocale( |
| __in LCID Locale, | | __in LCID Locale, |
| __in DWORD dwFlags); | | __in DWORD dwFlags); |
| | |
| WINBASEAPI | | WINBASEAPI |
| int | | int |
| WINAPI | | WINAPI |
| | |
| skipping to change at line 1839 | | skipping to change at line 1962 |
| #if (WINVER >= 0x0600) | | #if (WINVER >= 0x0600) |
| | |
| WINBASEAPI | | WINBASEAPI |
| LANGID | | LANGID |
| WINAPI | | WINAPI |
| GetThreadUILanguage(void); | | GetThreadUILanguage(void); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
|
| | GetProcessPreferredUILanguages( |
| | __in DWORD dwFlags, |
| | __out PULONG pulNumLanguages, |
| | __out_ecount_opt(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, |
| | __inout PULONG pcchLanguagesBuffer |
| | ); |
| | |
| | WINBASEAPI |
| | BOOL |
| | WINAPI |
| | SetProcessPreferredUILanguages( |
| | __in DWORD dwFlags, |
| | __in_opt PCZZWSTR pwszLanguagesBuffer, |
| | __out_opt PULONG pulNumLanguages |
| | ); |
| | |
| | WINBASEAPI |
| | BOOL |
| | WINAPI |
| GetUserPreferredUILanguages ( | | GetUserPreferredUILanguages ( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __out PULONG pulNumLanguages, | | __out PULONG pulNumLanguages, |
|
| __out_ecount_opt(*pcchLanguagesBuffer) PWSTR pwszLanguagesBuffer, | | __out_ecount_opt(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, |
| __in PULONG pcchLanguagesBuffer | | __inout PULONG pcchLanguagesBuffer |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| GetSystemPreferredUILanguages ( | | GetSystemPreferredUILanguages ( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __out PULONG pulNumLanguages, | | __out PULONG pulNumLanguages, |
|
| __out_ecount_opt(*pcchLanguagesBuffer) PWSTR pwszLanguagesBuffer, | | __out_ecount_opt(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, |
| __in PULONG pcchLanguagesBuffer | | __inout PULONG pcchLanguagesBuffer |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| GetThreadPreferredUILanguages( | | GetThreadPreferredUILanguages( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __out PULONG pulNumLanguages, | | __out PULONG pulNumLanguages, |
|
| __out_ecount_opt(*pcchLanguagesBuffer) PWSTR pwszLanguagesBuffer, | | __out_ecount_opt(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, |
| __inout PULONG pcchLanguagesBuffer | | __inout PULONG pcchLanguagesBuffer |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| SetThreadPreferredUILanguages( | | SetThreadPreferredUILanguages( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
|
| __in_opt PCWSTR pwszLanguagesBuffer, | | __in_opt PCZZWSTR pwszLanguagesBuffer, |
| __out_opt PULONG pulNumLanguages | | __out_opt PULONG pulNumLanguages |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| __success(return==1) | | __success(return==1) |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| GetFileMUIInfo( | | GetFileMUIInfo( |
| DWORD dwFlags, | | DWORD dwFlags, |
| __in PCWSTR pcwszFilePath, | | __in PCWSTR pcwszFilePath, |
| | |
| skipping to change at line 1903 | | skipping to change at line 2045 |
| __out_ecount_opt (*pcchFileMUIPath) PWSTR pwszFileMUIPath, | | __out_ecount_opt (*pcchFileMUIPath) PWSTR pwszFileMUIPath, |
| __inout PULONG pcchFileMUIPath, | | __inout PULONG pcchFileMUIPath, |
| __inout PULONGLONG pululEnumerator | | __inout PULONGLONG pululEnumerator |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| GetUILanguageInfo( | | GetUILanguageInfo( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
|
| __in PCWSTR pwmszLanguage, | | __in PCZZWSTR pwmszLanguage, |
| __out_ecount_opt(*pcchFallbackLanguages) PWSTR pwszFallbackLanguages, | | __out_ecount_opt(*pcchFallbackLanguages) PZZWSTR pwszFallbackLanguages, |
| __inout_opt PDWORD pcchFallbackLanguages, | | __inout_opt PDWORD pcchFallbackLanguages, |
| __out PDWORD pAttributes | | __out PDWORD pAttributes |
| ); | | ); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| NotifyUILanguageChange( | | NotifyUILanguageChange( |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in_opt PCWSTR pcwstrNewLanguage, | | __in_opt PCWSTR pcwstrNewLanguage, |
| | |
| skipping to change at line 2128 | | skipping to change at line 2270 |
| BOOL | | BOOL |
| WINAPI IsNormalizedString( __in NORM_FORM NormForm, | | WINAPI IsNormalizedString( __in NORM_FORM NormForm, |
| __in_ecount(cwLength) LPCWSTR lpString, | | __in_ecount(cwLength) LPCWSTR lpString, |
| __in int cwLength ); | | __in int cwLength ); |
| | |
| // | | // |
| // IDN (International Domain Name) Functions | | // IDN (International Domain Name) Functions |
| // | | // |
| WINNORMALIZEAPI | | WINNORMALIZEAPI |
| int | | int |
|
| WINAPI IdnToAscii(__in DWORD dwFlags, | | WINAPI IdnToAscii(__in DWORD dwFlags, |
| __in_ecount(cchUnicodeChar) LPCWSTR lpUnicodeCharStr, | | __in_ecount(cchUnicodeChar) LPCWSTR lpUnicodeCharStr, |
| __in int cchUnicodeChar, | | __in int cchUnicodeChar, |
| __out_ecount(cchASCIIChar) LPWSTR lpASCIICharStr, | | __out_ecount_opt(cchASCIIChar) LPWSTR lpASCIICharStr, |
| __in int cchASCIIChar); | | __in int cchASCIIChar); |
| | |
| WINNORMALIZEAPI | | WINNORMALIZEAPI |
| int | | int |
|
| WINAPI IdnToNameprepUnicode(__in DWORD dwFlags, | | WINAPI IdnToNameprepUnicode(__in DWORD dwFlags, |
| __in_ecount(cchUnicodeChar) LPCWSTR lpUnicodeCha | | __in_ecount(cchUnicodeChar) LPCWSTR lpUnicode |
| rStr, | | CharStr, |
| __in int cchUnicodeCh | | __in int cchUnicod |
| ar, | | eChar, |
| __out_ecount(cchNameprepChar) LPWSTR lpNameprepCh | | __out_ecount_opt(cchNameprepChar) LPWSTR lpNamepr |
| arStr, | | epCharStr, |
| __in int cchNameprepC | | __in int cchNamepr |
| har); | | epChar); |
| | |
| WINNORMALIZEAPI | | WINNORMALIZEAPI |
| int | | int |
|
| WINAPI IdnToUnicode(__in DWORD dwFlags, | | WINAPI IdnToUnicode(__in DWORD dwFlags, |
| __in_ecount(cchASCIIChar) LPCWSTR lpASCIICharStr, | | __in_ecount(cchASCIIChar) LPCWSTR lpASCIICharStr, |
| __in int cchASCIIChar, | | __in int cchASCIIChar, |
| __out_ecount(cchUnicodeChar) LPWSTR lpUnicodeCharStr, | | __out_ecount_opt(cchUnicodeChar) LPWSTR lpUnicodeCharStr, |
| __in int cchUnicodeChar); | | __in int cchUnicodeChar); |
| | |
| WINBASEAPI | | WINBASEAPI |
| BOOL | | BOOL |
| WINAPI VerifyScripts( | | WINAPI VerifyScripts( |
| __in DWORD dwFlags, // optional behavior flags | | __in DWORD dwFlags, // optional behavior flags |
| __in LPCWSTR lpLocaleScripts, // Locale list of scripts string | | __in LPCWSTR lpLocaleScripts, // Locale list of scripts string |
| __in int cchLocaleScripts, // size of locale script list string | | __in int cchLocaleScripts, // size of locale script list string |
| __in LPCWSTR lpTestScripts, // test scripts string | | __in LPCWSTR lpTestScripts, // test scripts string |
| __in int cchTestScripts); // size of test list string | | __in int cchTestScripts); // size of test list string |
| | |
| | |
| skipping to change at line 2405 | | skipping to change at line 2547 |
| WINAPI | | WINAPI |
| EnumSystemLocalesEx( | | EnumSystemLocalesEx( |
| __in LOCALE_ENUMPROCEX lpLocaleEnumProcEx, | | __in LOCALE_ENUMPROCEX lpLocaleEnumProcEx, |
| __in DWORD dwFlags, | | __in DWORD dwFlags, |
| __in LPARAM lParam, | | __in LPARAM lParam, |
| __in_opt LPVOID lpReserved | | __in_opt LPVOID lpReserved |
| ); | | ); |
| | |
| #endif //(WINVER >= 0x0600) | | #endif //(WINVER >= 0x0600) |
| | |
|
| | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | WINBASEAPI |
| | int |
| | WINAPI |
| | ResolveLocaleName( |
| | __in_opt LPCWSTR lpNameToResolve, |
| | __out_ecount_opt(cchLocaleName) LPWSTR lpLocaleName, |
| | __in int cchLocaleName |
| | ); |
| | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| #endif // NONLS | | #endif // NONLS |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
| #endif // _WINNLS_ | | #endif // _WINNLS_ |
| | |
| End of changes. 82 change blocks. |
| 155 lines changed or deleted | | 381 lines changed or added |
|