#ifndef _WINNLS_
#define _WINNLS_
#include <winapifamily.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef NOAPISET
#include <datetimeapi.h> // Datetime APISET dependencies
#include <libloaderapi.h> // LibLoader Apiset dependencies
#endif
#if _MSC_VER >= 1200
#pragma warning(push)
#pragma warning(disable:4820) // padding added after data member
#pragma warning(disable:
4820
)
#endif
#pragma push_macro("DEPRECATED")
#undef DEPRECATED
#if !defined(DISABLE_NLS_DEPRECATION)
#define DISABLE_NLS_DEPRECATION
#endif
#if !defined(DISABLE_NLS_DEPRECATION)
#if defined(__cplusplus)
#if __cplusplus >= 201402
#define DEPRECATED(x) [[deprecated(x)]]
#elif defined(_MSC_VER)
#if _MSC_VER > 1900
#define DEPRECATED(x) [[deprecated(x)]]
#else
#define DEPRECATED(x) __declspec(deprecated(x))
#endif // _MSC_VER > 1900
#else // Not Standard C++ or MSVC, ignore the construct.
#define DEPRECATED(x)
#endif // C++ deprecation
#else // C - disable deprecation
#define DEPRECATED(x)
#endif
#else // Deprecation is disabled
#define DEPRECATED(x)
#endif /* DISABLE_NLS_DEPRECATION */
#ifndef NONLS
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#ifdef _MAC
#include <macwin32.h>
#endif
#if !defined(_NORMALIZE_)
#define WINNORMALIZEAPI DECLSPEC_IMPORT
#else
#define WINNORMALIZEAPI
#endif
#define MAX_LEADBYTES 12 // 5 ranges, 2 bytes ea., 0 term.
#define MAX_DEFAULTCHAR 2 // single or double byte
#define HIGH_SURROGATE_START 0xd800
#define HIGH_SURROGATE_END 0xdbff
#define LOW_SURROGATE_START 0xdc00
#define LOW_SURROGATE_END 0xdfff
#define MB_PRECOMPOSED 0x00000001 // DEPRECATED: use single precomposed characters when possible.
#define MB_COMPOSITE 0x00000002 // DEPRECATED: use multiple discrete characters when possible.
#define MB_USEGLYPHCHARS 0x00000004 // DEPRECATED: use glyph chars, not ctrl chars
#define MB_ERR_INVALID_CHARS 0x00000008 // error for invalid chars
#define WC_COMPOSITECHECK 0x00000200 // convert composite to precomposed
#define WC_DISCARDNS 0x00000010 // discard non-spacing chars // Used with WC_COMPOSITECHECK
#define WC_SEPCHARS 0x00000020 // generate separate chars // Used with WC_COMPOSITECHECK
#define WC_DEFAULTCHAR 0x00000040 // replace w/ default char // Used with WC_COMPOSITECHECK
#if (WINVER >= 0x0600)
#define WC_ERR_INVALID_CHARS 0x00000080 // error for invalid chars
#endif
#if(WINVER >= 0x0500)
#define WC_NO_BEST_FIT_CHARS 0x00000400 // do not use best fit chars
#endif /* WINVER >= 0x0500 */
#define CT_CTYPE1 0x00000001 // ctype 1 information
#define CT_CTYPE2 0x00000002 // ctype 2 information
#define CT_CTYPE3 0x00000004 // ctype 3 information
#define C1_UPPER 0x0001 // upper case
#define C1_LOWER 0x0002 // lower case
#define C1_DIGIT 0x0004 // decimal digits
#define C1_SPACE 0x0008 // spacing characters
#define C1_PUNCT 0x0010 // punctuation characters
#define C1_CNTRL 0x0020 // control characters
#define C1_BLANK 0x0040 // blank characters
#define C1_XDIGIT 0x0080 // other digits
#define C1_ALPHA 0x0100 // any linguistic character
#define C1_DEFINED 0x0200 // defined character
#define C2_LEFTTORIGHT 0x0001 // left to right
#define C2_RIGHTTOLEFT 0x0002 // right to left
#define C2_EUROPENUMBER 0x0003 // European number, digit
#define C2_EUROPESEPARATOR 0x0004 // European numeric separator
#define C2_EUROPETERMINATOR 0x0005 // European numeric terminator
#define C2_ARABICNUMBER 0x0006 // Arabic number
#define C2_COMMONSEPARATOR 0x0007 // common numeric separator
#define C2_BLOCKSEPARATOR 0x0008 // block separator
#define C2_SEGMENTSEPARATOR 0x0009 // segment separator
#define C2_WHITESPACE 0x000A // white space
#define C2_OTHERNEUTRAL 0x000B // other neutrals
#define C2_NOTAPPLICABLE 0x0000 // no implicit directionality
#define C3_NONSPACING 0x0001 // nonspacing character
#define C3_DIACRITIC 0x0002 // diacritic mark
#define C3_VOWELMARK 0x0004 // vowel mark
#define C3_SYMBOL 0x0008 // symbols
#define C3_KATAKANA 0x0010 // katakana character
#define C3_HIRAGANA 0x0020 // hiragana character
#define C3_HALFWIDTH 0x0040 // half width character
#define C3_FULLWIDTH 0x0080 // full width character
#define C3_IDEOGRAPH 0x0100 // ideographic character
#define C3_KASHIDA 0x0200 // Arabic kashida character
#define C3_LEXICAL 0x0400 // lexical character
#define C3_HIGHSURROGATE 0x0800 // high surrogate code unit
#define C3_LOWSURROGATE 0x1000 // low surrogate code unit
#define C3_ALPHA 0x8000 // any linguistic char (C1_ALPHA)
#define C3_NOTAPPLICABLE 0x0000 // ctype 3 is not applicable
#define NORM_IGNORECASE 0x00000001 // ignore case
#define NORM_IGNORENONSPACE 0x00000002 // ignore nonspacing chars
#define NORM_IGNORESYMBOLS 0x00000004 // ignore symbols
#define LINGUISTIC_IGNORECASE 0x00000010 // linguistically appropriate 'ignore case'
#define LINGUISTIC_IGNOREDIACRITIC 0x00000020 // linguistically appropriate 'ignore nonspace'
#define NORM_IGNOREKANATYPE 0x00010000 // ignore kanatype
#define NORM_IGNOREWIDTH 0x00020000 // ignore width
#define NORM_LINGUISTIC_CASING 0x08000000 // use linguistic rules for casing
#define MAP_FOLDCZONE 0x00000010 // fold compatibility zone chars
#define MAP_PRECOMPOSED 0x00000020 // convert to precomposed chars
#define MAP_COMPOSITE 0x00000040 // convert to composite chars
#define MAP_FOLDDIGITS 0x00000080 // all digits to ASCII 0-9
#if(WINVER >= 0x0500)
#define MAP_EXPAND_LIGATURES 0x00002000 // expand all ligatures
#endif /* WINVER >= 0x0500 */
#define LCMAP_LOWERCASE 0x00000100 // lower 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_BYTEREV 0x00000800 // byte reversal
#define LCMAP_HIRAGANA 0x00100000 // map katakana to hiragana
#define LCMAP_KATAKANA 0x00200000 // map hiragana to katakana
#define LCMAP_HALFWIDTH 0x00400000 // map double byte to single byte
#define LCMAP_FULLWIDTH 0x00800000 // map single byte to double byte
#define LCMAP_LINGUISTIC_CASING 0x01000000 // use linguistic rules for casing
#define LCMAP_SIMPLIFIED_CHINESE 0x02000000 // map traditional chinese to simplified chinese
#define LCMAP_TRADITIONAL_CHINESE 0x04000000 // map simplified chinese to traditional chinese
#if (WINVER >= _WIN32_WINNT_WIN8)
#define LCMAP_SORTHANDLE 0x20000000
#define LCMAP_HASH 0x00040000
#endif // (WINVER >= _WIN32_WINNT_WIN7)
#define FIND_STARTSWITH 0x00100000 // see if value is at the beginning of source
#define FIND_ENDSWITH 0x00200000 // see if value is at the end of source
#define FIND_FROMSTART 0x00400000 // look for value in source, starting at the beginning
#define FIND_FROMEND 0x00800000 // look for value in source, starting at the end
#define LGRPID_INSTALLED 0x00000001 // installed language group ids
#define LGRPID_SUPPORTED 0x00000002 // supported language group ids
#define LCID_INSTALLED 0x00000001 // installed locale ids
#define LCID_SUPPORTED 0x00000002 // supported locale ids
#define LCID_ALTERNATE_SORTS 0x00000004 // alternate sort locale ids
#if (WINVER >= _WIN32_WINNT_VISTA)
#define LOCALE_ALL 0 // enumerate all named based locales
#define LOCALE_WINDOWS 0x00000001 // shipped locales and/or replacements for them
#define LOCALE_SUPPLEMENTAL 0x00000002 // supplemental locales only
#define LOCALE_ALTERNATE_SORTS 0x00000004 // alternate sort locales
#define LOCALE_REPLACEMENT 0x00000008 // locales that replace shipped locales (callback flag only)
#endif // (WINVER >= _WIN32_WINNT_VISTA)
#if (WINVER >= _WIN32_WINNT_WIN7)
#define LOCALE_NEUTRALDATA 0x00000010 // Locales that are "neutral" (language only, region data is default)
#define LOCALE_SPECIFICDATA 0x00000020 // Locales that contain language and region data
#endif // (WINVER >= _WIN32_WINNT_WIN7)
#define CP_INSTALLED 0x00000001 // installed code page ids
#define CP_SUPPORTED 0x00000002 // supported code page ids
#define SORT_STRINGSORT 0x00001000 // use string sort method
#if (WINVER >= _WIN32_WINNT_WIN7)
#define SORT_DIGITSASNUMBERS 0x00000008 // use digits as numbers sort method
#endif // (WINVER >= _WIN32_WINNT_WIN7)
#define CSTR_LESS_THAN 1 // string 1 less than string 2
#define CSTR_EQUAL 2 // string 1 equal to string 2
#define CSTR_GREATER_THAN 3 // string 1 greater than string 2
#define CP_ACP 0 // default to ANSI code page
#define CP_OEMCP 1 // default to OEM code page
#define CP_MACCP 2 // default to MAC code page
#define CP_THREAD_ACP 3 // current thread's ANSI code page
#define CP_SYMBOL 42 // SYMBOL translations
#define CP_UTF7 65000 // UTF-7 translation
#define CP_UTF8 65001 // UTF-8 translation
#define CTRY_DEFAULT 0
#define CTRY_ALBANIA 355 // Albania
#define CTRY_ALGERIA 213 // Algeria
#define CTRY_ARGENTINA 54 // Argentina
#define CTRY_ARMENIA 374 // Armenia
#define CTRY_AUSTRALIA 61 // Australia
#define CTRY_AUSTRIA 43 // Austria
#define CTRY_AZERBAIJAN 994 // Azerbaijan
#define CTRY_BAHRAIN 973 // Bahrain
#define CTRY_BELARUS 375 // Belarus
#define CTRY_BELGIUM 32 // Belgium
#define CTRY_BELIZE 501 // Belize
#define CTRY_BOLIVIA 591 // Bolivia
#define CTRY_BRAZIL 55 // Brazil
#define CTRY_BRUNEI_DARUSSALAM 673 // Brunei Darussalam
#define CTRY_BULGARIA 359 // Bulgaria
#define CTRY_CANADA 2 // Canada
#define CTRY_CARIBBEAN 1 // Caribbean
#define CTRY_CHILE 56 // Chile
#define CTRY_COLOMBIA 57 // Colombia
#define CTRY_COSTA_RICA 506 // Costa Rica
#define CTRY_CROATIA 385 // Croatia
#define CTRY_CZECH 420 // Czech Republic
#define CTRY_DENMARK 45 // Denmark
#define CTRY_DOMINICAN_REPUBLIC 1 // Dominican Republic
#define CTRY_ECUADOR 593 // Ecuador
#define CTRY_EGYPT 20 // Egypt
#define CTRY_EL_SALVADOR 503 // El Salvador
#define CTRY_ESTONIA 372 // Estonia
#define CTRY_FAEROE_ISLANDS 298 // Faeroe Islands
#define CTRY_FINLAND 358 // Finland
#define CTRY_FRANCE 33 // France
#define CTRY_GEORGIA 995 // Georgia
#define CTRY_GERMANY 49 // Germany
#define CTRY_GREECE 30 // Greece
#define CTRY_GUATEMALA 502 // Guatemala
#define CTRY_HONDURAS 504 // Honduras
#define CTRY_HONG_KONG 852 // Hong Kong S.A.R., P.R.C.
#define CTRY_HUNGARY 36 // Hungary
#define CTRY_ICELAND 354 // Iceland
#define CTRY_INDIA 91 // India
#define CTRY_INDONESIA 62 // Indonesia
#define CTRY_IRAN 981 // Iran
#define CTRY_IRAQ 964 // Iraq
#define CTRY_IRELAND 353 // Ireland
#define CTRY_ISRAEL 972 // Israel
#define CTRY_ITALY 39 // Italy
#define CTRY_JAMAICA 1 // Jamaica
#define CTRY_JAPAN 81 // Japan
#define CTRY_JORDAN 962 // Jordan
#define CTRY_KAZAKSTAN 7 // Kazakstan
#define CTRY_KENYA 254 // Kenya
#define CTRY_KUWAIT 965 // Kuwait
#define CTRY_KYRGYZSTAN 996 // Kyrgyzstan
#define CTRY_LATVIA 371 // Latvia
#define CTRY_LEBANON 961 // Lebanon
#define CTRY_LIBYA 218 // Libya
#define CTRY_LIECHTENSTEIN 41 // Liechtenstein
#define CTRY_LITHUANIA 370 // Lithuania
#define CTRY_LUXEMBOURG 352 // Luxembourg
#define CTRY_MACAU 853 // Macao SAR, PRC
#define CTRY_MACEDONIA 389 // Former Yugoslav Republic of Macedonia
#define CTRY_MALAYSIA 60 // Malaysia
#define CTRY_MALDIVES 960 // Maldives
#define CTRY_MEXICO 52 // Mexico
#define CTRY_MONACO 33 // Principality of Monaco
#define CTRY_MONGOLIA 976 // Mongolia
#define CTRY_MOROCCO 212 // Morocco
#define CTRY_NETHERLANDS 31 // Netherlands
#define CTRY_NEW_ZEALAND 64 // New Zealand
#define CTRY_NICARAGUA 505 // Nicaragua
#define CTRY_NORWAY 47 // Norway
#define CTRY_OMAN 968 // Oman
#define CTRY_PAKISTAN 92 // Islamic Republic of Pakistan
#define CTRY_PANAMA 507 // Panama
#define CTRY_PARAGUAY 595 // Paraguay
#define CTRY_PERU 51 // Peru
#define CTRY_PHILIPPINES 63 // Republic of the Philippines
#define CTRY_POLAND 48 // Poland
#define CTRY_PORTUGAL 351 // Portugal
#define CTRY_PRCHINA 86 // People's Republic of China
#define CTRY_PUERTO_RICO 1 // Puerto Rico
#define CTRY_QATAR 974 // Qatar
#define CTRY_ROMANIA 40 // Romania
#define CTRY_RUSSIA 7 // Russia
#define CTRY_SAUDI_ARABIA 966 // Saudi Arabia
#define CTRY_SERBIA 381 // Serbia
#define CTRY_SINGAPORE 65 // Singapore
#define CTRY_SLOVAK 421 // Slovak Republic
#define CTRY_SLOVENIA 386 // Slovenia
#define CTRY_SOUTH_AFRICA 27 // South Africa
#define CTRY_SOUTH_KOREA 82 // Korea
#define CTRY_SPAIN 34 // Spain
#define CTRY_SWEDEN 46 // Sweden
#define CTRY_SWITZERLAND 41 // Switzerland
#define CTRY_SYRIA 963 // Syria
#define CTRY_TAIWAN 886 // Taiwan
#define CTRY_TATARSTAN 7 // Tatarstan
#define CTRY_THAILAND 66 // Thailand
#define CTRY_TRINIDAD_Y_TOBAGO 1 // Trinidad y Tobago
#define CTRY_TUNISIA 216 // Tunisia
#define CTRY_TURKEY 90 // Turkey
#define CTRY_UAE 971 // U.A.E.
#define CTRY_UKRAINE 380 // Ukraine
#define CTRY_UNITED_KINGDOM 44 // United Kingdom
#define CTRY_UNITED_STATES 1 // United States
#define CTRY_URUGUAY 598 // Uruguay
#define CTRY_UZBEKISTAN 7 // Uzbekistan
#define CTRY_VENEZUELA 58 // Venezuela
#define CTRY_VIET_NAM 84 // Viet Nam
#define CTRY_YEMEN 967 // Yemen
#define CTRY_ZIMBABWE 263 // Zimbabwe
#define LOCALE_NOUSEROVERRIDE 0x80000000 // Not Recommended - do not use user overrides
#define LOCALE_USE_CP_ACP 0x40000000 // DEPRECATED, call Unicode APIs instead: use the system ACP
#if(WINVER >= 0x0400)
#define LOCALE_RETURN_NUMBER 0x20000000 // return number instead of string
#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 neutral names/lcids for name conversion
#endif //(WINVER >= _WIN32_WINNT_WIN7)
#define LOCALE_SLOCALIZEDDISPLAYNAME 0x00000002 // localized name of locale, eg "German (Germany)" in UI language
#if (WINVER >= _WIN32_WINNT_WIN7)
#define LOCALE_SENGLISHDISPLAYNAME 0x00000072 // Display name (language + country/region usually) in English, eg "German (Germany)"
#define LOCALE_SNATIVEDISPLAYNAME 0x00000073 // Display name in native locale language, eg "Deutsch (Deutschland)
#endif //(WINVER >= _WIN32_WINNT_WIN7)
#if (WINVER >= _WIN32_WINNT_VISTA)
#define LOCALE_SLOCALIZEDLANGUAGENAME 0x0000006f // Language Display Name for a language, eg "German" in UI language
#endif //(WINVER >= _WIN32_WINNT_VISTA)
#define LOCALE_SENGLISHLANGUAGENAME 0x00001001 // English name of language, eg "German"
#define LOCALE_SNATIVELANGUAGENAME 0x00000004 // native name of language, eg "Deutsch"
#define LOCALE_SLOCALIZEDCOUNTRYNAME 0x00000006 // localized name of country/region, eg "Germany" in UI language
#define LOCALE_SENGLISHCOUNTRYNAME 0x00001002 // English name of country/region, eg "Germany"
#define LOCALE_SNATIVECOUNTRYNAME 0x00000008 // native name of country/region, eg "Deutschland"
#define LOCALE_IDIALINGCODE 0x00000005 // country/region dialing code, example: en-US and en-CA return 1.
#define LOCALE_SLIST 0x0000000C // list item separator, eg "," for "1,2,3,4"
#define LOCALE_IMEASURE 0x0000000D // 0 = metric, 1 = US measurement 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" for 1,000,000
#define LOCALE_IDIGITS 0x00000011 // number of fractional digits 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 separator, 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, eg 2 for $1.00
#define LOCALE_ICURRENCY 0x0000001B // positive currency mode, 0-3, see documentation
#define LOCALE_INEGCURR 0x0000001C // negative currency mode, 0-15, see documentation
#define LOCALE_SSHORTDATE 0x0000001F // short date format string, eg "MM/dd/yyyy"
#define LOCALE_SLONGDATE 0x00000020 // long date format string, eg "dddd, MMMM dd, yyyy"
#define LOCALE_STIMEFORMAT 0x00001003 // time format string, eg "HH:mm:ss"
#define LOCALE_SAM 0x00000028 // AM designator, eg "AM"
#define LOCALE_SPM 0x00000029 // PM designator, eg "PM"
#define LOCALE_ICALENDARTYPE 0x00001009 // type of calendar specifier, eg CAL_GREGORIAN
#define LOCALE_IOPTIONALCALENDAR 0x0000100B // additional calendar types specifier, eg CAL_GREGORIAN_US
#define LOCALE_IFIRSTDAYOFWEEK 0x0000100C // first day of week specifier, 0-6, 0=Monday, 6=Sunday
#define LOCALE_IFIRSTWEEKOFYEAR 0x0000100D // first week of year specifier, 0-2, see documentation
#define LOCALE_SDAYNAME1 0x0000002A // long name for Monday
#define LOCALE_SDAYNAME2 0x0000002B // long name for Tuesday
#define LOCALE_SDAYNAME3 0x0000002C // long name for Wednesday
#define LOCALE_SDAYNAME4 0x0000002D // long name for Thursday
#define LOCALE_SDAYNAME5 0x0000002E // long name for Friday
#define LOCALE_SDAYNAME6 0x0000002F // long name for Saturday
#define LOCALE_SDAYNAME7 0x00000030 // long name for Sunday
#define LOCALE_SABBREVDAYNAME1 0x00000031 // abbreviated name for Monday
#define LOCALE_SABBREVDAYNAME2 0x00000032 // abbreviated name for Tuesday
#define LOCALE_SABBREVDAYNAME3 0x00000033 // abbreviated name for Wednesday
#define LOCALE_SABBREVDAYNAME4 0x00000034 // abbreviated name for Thursday
#define LOCALE_SABBREVDAYNAME5 0x00000035 // abbreviated name for Friday
#define LOCALE_SABBREVDAYNAME6 0x00000036 // abbreviated name for Saturday
#define LOCALE_SABBREVDAYNAME7 0x00000037 // abbreviated name for Sunday
#define LOCALE_SMONTHNAME1 0x00000038 // long name for January
#define LOCALE_SMONTHNAME2 0x00000039 // long name for February
#define LOCALE_SMONTHNAME3 0x0000003A // long name for March
#define LOCALE_SMONTHNAME4 0x0000003B // long name for April
#define LOCALE_SMONTHNAME5 0x0000003C // long name for May
#define LOCALE_SMONTHNAME6 0x0000003D // long name for June
#define LOCALE_SMONTHNAME7 0x0000003E // long name for July
#define LOCALE_SMONTHNAME8 0x0000003F // long name for August
#define LOCALE_SMONTHNAME9 0x00000040 // long name for September
#define LOCALE_SMONTHNAME10 0x00000041 // long name for October
#define LOCALE_SMONTHNAME11 0x00000042 // long name for November
#define LOCALE_SMONTHNAME12 0x00000043 // long name for December
#define LOCALE_SMONTHNAME13 0x0000100E // long name for 13th month (if exists)
#define LOCALE_SABBREVMONTHNAME1 0x00000044 // abbreviated name for January
#define LOCALE_SABBREVMONTHNAME2 0x00000045 // abbreviated name for February
#define LOCALE_SABBREVMONTHNAME3 0x00000046 // abbreviated name for March
#define LOCALE_SABBREVMONTHNAME4 0x00000047 // abbreviated name for April
#define LOCALE_SABBREVMONTHNAME5 0x00000048 // abbreviated name for May
#define LOCALE_SABBREVMONTHNAME6 0x00000049 // abbreviated name for June
#define LOCALE_SABBREVMONTHNAME7 0x0000004A // abbreviated name for July
#define LOCALE_SABBREVMONTHNAME8 0x0000004B // abbreviated name for August
#define LOCALE_SABBREVMONTHNAME9 0x0000004C // abbreviated name for September
#define LOCALE_SABBREVMONTHNAME10 0x0000004D // abbreviated name for October
#define LOCALE_SABBREVMONTHNAME11 0x0000004E // abbreviated name for November
#define LOCALE_SABBREVMONTHNAME12 0x0000004F // abbreviated name for December
#define LOCALE_SABBREVMONTHNAME13 0x0000100F // abbreviated name for 13th month (if exists)
#define LOCALE_SPOSITIVESIGN 0x00000050 // positive sign, eg ""
#define LOCALE_SNEGATIVESIGN 0x00000051 // negative sign, eg "-"
#define LOCALE_IPOSSIGNPOSN 0x00000052 // positive sign position (derived from INEGCURR)
#define LOCALE_INEGSIGNPOSN 0x00000053 // negative sign position (derived from INEGCURR)
#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_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)
#if(WINVER >= 0x0400)
#define LOCALE_FONTSIGNATURE 0x00000058 // font signature
#define LOCALE_SISO639LANGNAME 0x00000059 // ISO abbreviated language name, eg "en"
#define LOCALE_SISO3166CTRYNAME 0x0000005A // ISO abbreviated country/region name, eg "US"
#endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0500)
#define LOCALE_IPAPERSIZE 0x0000100A // 1 = letter, 5 = legal, 8 = a3, 9 = a4
#define LOCALE_SENGCURRNAME 0x00001007 // english name of currency, eg "Euro"
#define LOCALE_SNATIVECURRNAME 0x00001008 // native name of currency, eg "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
#endif /* WINVER >= 0x0500 */
#if (WINVER >= 0x0600)
#define LOCALE_SNAME 0x0000005c // locale name (ie: en-us)
#define LOCALE_SDURATION 0x0000005d // time duration format, eg "hh:mm:ss"
#define LOCALE_SSHORTESTDAYNAME1 0x00000060 // Shortest day name for Monday
#define LOCALE_SSHORTESTDAYNAME2 0x00000061 // Shortest day name for Tuesday
#define LOCALE_SSHORTESTDAYNAME3 0x00000062 // Shortest day name for Wednesday
#define LOCALE_SSHORTESTDAYNAME4 0x00000063 // Shortest day name for Thursday
#define LOCALE_SSHORTESTDAYNAME5 0x00000064 // Shortest day name for Friday
#define LOCALE_SSHORTESTDAYNAME6 0x00000065 // Shortest day name for Saturday
#define LOCALE_SSHORTESTDAYNAME7 0x00000066 // Shortest day name for Sunday
#define LOCALE_SISO639LANGNAME2 0x00000067 // 3 character ISO abbreviated language name, eg "eng"
#define LOCALE_SISO3166CTRYNAME2 0x00000068 // 3 character ISO country/region name, eg "USA"
#define LOCALE_SNAN 0x00000069 // Not a Number, eg "NaN"
#define LOCALE_SPOSINFINITY 0x0000006a // + Infinity, eg "infinity"
#define LOCALE_SNEGINFINITY 0x0000006b // - Infinity, eg "-infinity"
#define LOCALE_SSCRIPTS 0x0000006c // Typical scripts in the locale: ; delimited script codes, eg "Latn;"
#define LOCALE_SPARENT 0x0000006d // Fallback name for resources, eg "en" for "en-US"
#define LOCALE_SCONSOLEFALLBACKNAME 0x0000006e // Fallback name for within the console for Unicode Only locales, eg "en" for bn-IN
#endif //(WINVER >= 0x0600)
#if (WINVER >= _WIN32_WINNT_WIN7)
#define LOCALE_IREADINGLAYOUT 0x00000070 // Returns one of the following 4 reading layout values:
#define LOCALE_INEUTRAL 0x00000071 // Returns 0 for specific cultures, 1 for neutral cultures.
#define LOCALE_INEGATIVEPERCENT 0x00000074 // Returns 0-11 for the negative percent format
#define LOCALE_IPOSITIVEPERCENT 0x00000075 // Returns 0-3 for the positive percent formatIPOSITIVEPERCENT
#define LOCALE_SPERCENT 0x00000076 // Returns the percent symbol
#define LOCALE_SPERMILLE 0x00000077 // Returns the permille (U+2030) symbol
#define LOCALE_SMONTHDAY 0x00000078 // Returns the preferred month/day format
#define LOCALE_SSHORTTIME 0x00000079 // Returns the preferred short 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)
#if (WINVER >= _WIN32_WINNT_WIN8)
#define LOCALE_SRELATIVELONGDATE 0x0000007c // Long date without year, day of week, month, date, eg: for lock screen
#endif
#if (WINVER >= _WIN32_WINNT_WIN10)
#define LOCALE_SSHORTESTAM 0x0000007e // Shortest AM designator, eg "A"
#define LOCALE_SSHORTESTPM 0x0000007f // Shortest PM designator, eg "P"
#endif
#define LOCALE_IDEFAULTCODEPAGE 0x0000000B // default oem code page for locale (user may configure as UTF-8, use of Unicode is recommended instead)
#define LOCALE_IDEFAULTANSICODEPAGE 0x00001004 // default ansi code page for locale (user may configure as UTF-8, use of Unicode is recommended instead)
#define LOCALE_IDEFAULTMACCODEPAGE 0x00001011 // default mac code page for locale (user may configure as UTF-8, use of Unicode is recommended instead)
#if(WINVER >= 0x0500)
#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x00001012 // default ebcdic code page for a locale (use of Unicode is recommended instead)
#endif /* WINVER >= 0x0500 */
#define LOCALE_ILANGUAGE 0x00000001 // DEPRECATED language id (LCID), LOCALE_SNAME preferred
#define LOCALE_SABBREVLANGNAME 0x00000003 // DEPRECATED arbitrary abbreviated language name, LOCALE_SISO639LANGNAME instead.
#define LOCALE_SABBREVCTRYNAME 0x00000007 // DEPRECATED arbitrary abbreviated country/region name, LOCALE_SISO3166CTRYNAME instead.
#define LOCALE_IGEOID 0x0000005B // DEPRECATED geographical location id, use LOCALE_SISO3166CTRYNAME instead.
#define LOCALE_IDEFAULTLANGUAGE 0x00000009 // DEPRECATED default language id, deprecated
#define LOCALE_IDEFAULTCOUNTRY 0x0000000A // DEPRECATED default country/region code, deprecated
#define LOCALE_IINTLCURRDIGITS 0x0000001A // DEPRECATED, use LOCALE_ICURRDIGITS # intl monetary digits, eg 2 for $1.00
#define LOCALE_SDATE 0x0000001D // DEPRECATED date separator (derived from LOCALE_SSHORTDATE, use that instead)
#define LOCALE_STIME 0x0000001E // DEPRECATED time separator (derived from LOCALE_STIMEFORMAT, use that instead)
#define LOCALE_IDATE 0x00000021 // DEPRECATED short date format ordering (derived from LOCALE_SSHORTDATE, use that instead)
#define LOCALE_ILDATE 0x00000022 // DEPRECATED long date format ordering (derived from LOCALE_SLONGDATE, use that instead)
#define LOCALE_ITIME 0x00000023 // DEPRECATED time format specifier (derived from LOCALE_STIMEFORMAT, use that instead)
#define LOCALE_ITIMEMARKPOSN 0x00001005 // DEPRECATED time marker position (derived from LOCALE_STIMEFORMAT, use that instead)
#define LOCALE_ICENTURY 0x00000024 // DEPRECATED century format specifier (short date, LOCALE_SSHORTDATE is preferred)
#define LOCALE_ITLZERO 0x00000025 // DEPRECATED leading zeros in time field (derived from LOCALE_STIMEFORMAT, use that instead)
#define LOCALE_IDAYLZERO 0x00000026 // DEPRECATED leading zeros in day field (short date, LOCALE_SSHORTDATE is preferred)
#define LOCALE_IMONLZERO 0x00000027 // DEPRECATED leading zeros in month field (short date, LOCALE_SSHORTDATE is preferred)
#if(WINVER >= 0x0600)
#define LOCALE_SKEYBOARDSTOINSTALL 0x0000005e // Used internally, see GetKeyboardLayoutName() function
#endif /* WINVER >= 0x0600 */
#define LOCALE_SLANGUAGE LOCALE_SLOCALIZEDDISPLAYNAME // DEPRECATED as new name is more readable.
#if (WINVER >= _WIN32_WINNT_VISTA)
#define LOCALE_SLANGDISPLAYNAME LOCALE_SLOCALIZEDLANGUAGENAME // DEPRECATED as new name is more readable.
#endif //(WINVER >= _WIN32_WINNT_VISTA)
#define LOCALE_SENGLANGUAGE LOCALE_SENGLISHLANGUAGENAME // DEPRECATED as new name is more readable.
#define LOCALE_SNATIVELANGNAME LOCALE_SNATIVELANGUAGENAME // DEPRECATED as new name is more readable.
#define LOCALE_SCOUNTRY LOCALE_SLOCALIZEDCOUNTRYNAME // DEPRECATED as new name is more readable.
#define LOCALE_SENGCOUNTRY LOCALE_SENGLISHCOUNTRYNAME // DEPRECATED as new name is more readable.
#define LOCALE_SNATIVECTRYNAME LOCALE_SNATIVECOUNTRYNAME // DEPRECATED as new name is more readable.
#define LOCALE_ICOUNTRY LOCALE_IDIALINGCODE // Deprecated synonym for LOCALE_IDIALINGCODE
#define LOCALE_S1159 LOCALE_SAM // DEPRECATED: Please use LOCALE_SAM, which is more readable.
#define LOCALE_S2359 LOCALE_SPM // DEPRECATED: Please use LOCALE_SPM, which is more readable.
#define TIME_NOMINUTESORSECONDS 0x00000001 // do not use minutes or seconds
#define TIME_NOSECONDS 0x00000002 // do not use seconds
#define TIME_NOTIMEMARKER 0x00000004 // do not use time marker
#define TIME_FORCE24HOURFORMAT 0x00000008 // always use 24 hour format
#define DATE_SHORTDATE 0x00000001 // use short date picture
#define DATE_LONGDATE 0x00000002 // use long date picture
#define DATE_USE_ALT_CALENDAR 0x00000004 // use alternate calendar (if any)
#if(WINVER >= 0x0500)
#define DATE_YEARMONTH 0x00000008 // use year month picture
#define DATE_LTRREADING 0x00000010 // add marks for left to right reading order layout
#define DATE_RTLREADING 0x00000020 // add marks for right to left reading order layout
#endif /* WINVER >= 0x0500 */
#if (WINVER >= _WIN32_WINNT_WIN7)
#define DATE_AUTOLAYOUT 0x00000040 // add appropriate marks for left-to-right or right-to-left reading order layout
#endif //(WINVER >= _WIN32_WINNT_WIN7)
#if (WINVER >= _WIN32_WINNT_WINTHRESHOLD)
#define DATE_MONTHDAY 0x00000080 // include month day pictures
#endif //(WINVER >= _WIN32_WINNT_WINTHRESHOLD)
#if(WINVER >= 0x0500)
#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE // Not Recommended - do not use user overrides
#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP // DEPRECATED, call Unicode APIs instead: use the system ACP
#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER // return number instead of string
#endif /* WINVER >= 0x0500 */
#if (WINVER >= _WIN32_WINNT_WIN7)
#define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES // return genitive forms of month names
#endif // winver >= windows 7
#define CAL_ICALINTVALUE 0x00000001 // calendar type
#define CAL_SCALNAME 0x00000002 // native name of calendar
#define CAL_IYEAROFFSETRANGE 0x00000003 // starting years of eras
#define CAL_SERASTRING 0x00000004 // era name for IYearOffsetRanges, eg A.D.
#define CAL_SSHORTDATE 0x00000005 // short date format string
#define CAL_SLONGDATE 0x00000006 // long date format string
#define CAL_SDAYNAME1 0x00000007 // native name for Monday
#define CAL_SDAYNAME2 0x00000008 // native name for Tuesday
#define CAL_SDAYNAME3 0x00000009 // native name for Wednesday
#define CAL_SDAYNAME4 0x0000000a // native name for Thursday
#define CAL_SDAYNAME5 0x0000000b // native name for Friday
#define CAL_SDAYNAME6 0x0000000c // native name for Saturday
#define CAL_SDAYNAME7 0x0000000d // native name for Sunday
#define CAL_SABBREVDAYNAME1 0x0000000e // abbreviated name for Mon
#define CAL_SABBREVDAYNAME2 0x0000000f // abbreviated name for Tue
#define CAL_SABBREVDAYNAME3 0x00000010 // abbreviated name for Wed
#define CAL_SABBREVDAYNAME4 0x00000011 // abbreviated name for Thu
#define CAL_SABBREVDAYNAME5 0x00000012 // abbreviated name for Fri
#define CAL_SABBREVDAYNAME6 0x00000013 // abbreviated name for Sat
#define CAL_SABBREVDAYNAME7 0x00000014 // abbreviated name for Sun
#define CAL_SMONTHNAME1 0x00000015 // native name for January
#define CAL_SMONTHNAME2 0x00000016 // native name for February
#define CAL_SMONTHNAME3 0x00000017 // native name for March
#define CAL_SMONTHNAME4 0x00000018 // native name for April
#define CAL_SMONTHNAME5 0x00000019 // native name for May
#define CAL_SMONTHNAME6 0x0000001a // native name for June
#define CAL_SMONTHNAME7 0x0000001b // native name for July
#define CAL_SMONTHNAME8 0x0000001c // native name for August
#define CAL_SMONTHNAME9 0x0000001d // native name for September
#define CAL_SMONTHNAME10 0x0000001e // native name for October
#define CAL_SMONTHNAME11 0x0000001f // native name for November
#define CAL_SMONTHNAME12 0x00000020 // native name for December
#define CAL_SMONTHNAME13 0x00000021 // native name for 13th month (if any)
#define CAL_SABBREVMONTHNAME1 0x00000022 // abbreviated name for Jan
#define CAL_SABBREVMONTHNAME2 0x00000023 // abbreviated name for Feb
#define CAL_SABBREVMONTHNAME3 0x00000024 // abbreviated name for Mar
#define CAL_SABBREVMONTHNAME4 0x00000025 // abbreviated name for Apr
#define CAL_SABBREVMONTHNAME5 0x00000026 // abbreviated name for May
#define CAL_SABBREVMONTHNAME6 0x00000027 // abbreviated name for Jun
#define CAL_SABBREVMONTHNAME7 0x00000028 // abbreviated name for July
#define CAL_SABBREVMONTHNAME8 0x00000029 // abbreviated name for Aug
#define CAL_SABBREVMONTHNAME9 0x0000002a // abbreviated name for Sep
#define CAL_SABBREVMONTHNAME10 0x0000002b // abbreviated name for Oct
#define CAL_SABBREVMONTHNAME11 0x0000002c // abbreviated name for Nov
#define CAL_SABBREVMONTHNAME12 0x0000002d // abbreviated name for Dec
#define CAL_SABBREVMONTHNAME13 0x0000002e // abbreviated name for 13th month (if any)
#if(WINVER >= 0x0500)
#define CAL_SYEARMONTH 0x0000002f // year month format string
#define CAL_ITWODIGITYEARMAX 0x00000030 // two digit year max
#endif /* WINVER >= 0x0500 */
#if (WINVER >= 0x0600)
#define CAL_SSHORTESTDAYNAME1 0x00000031 // Shortest day name for Mo
#define CAL_SSHORTESTDAYNAME2 0x00000032 // Shortest day name for Tu
#define CAL_SSHORTESTDAYNAME3 0x00000033 // Shortest day name for We
#define CAL_SSHORTESTDAYNAME4 0x00000034 // Shortest day name for Th
#define CAL_SSHORTESTDAYNAME5 0x00000035 // Shortest day name for Fr
#define CAL_SSHORTESTDAYNAME6 0x00000036 // Shortest day name for Sa
#define CAL_SSHORTESTDAYNAME7 0x00000037 // Shortest day name for Su
#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
#if (WINVER >= _WIN32_WINNT_WIN8)
#define CAL_SRELATIVELONGDATE 0x0000003a // Long date without year, day of week, month, date, eg: for lock screen
#endif
#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
#define CAL_SENGLISHERANAME 0x0000003b // Japanese calendar only: return the English era names for .Net compatibility
#define CAL_SENGLISHABBREVERANAME 0x0000003c // Japanese calendar only: return the English Abbreviated era names for .Net compatibility
#endif
#define ENUM_ALL_CALENDARS 0xffffffff // enumerate all calendars
#define CAL_GREGORIAN 1 // Gregorian (localized) calendar
#define CAL_GREGORIAN_US 2 // Gregorian (U.S.) calendar
#define CAL_JAPAN 3 // Japanese Emperor Era calendar
#define CAL_TAIWAN 4 // Taiwan calendar
#define CAL_KOREA 5 // Korean Tangun Era calendar
#define CAL_HIJRI 6 // Hijri (Arabic Lunar) calendar
#define CAL_THAI 7 // Thai calendar
#define CAL_HEBREW 8 // Hebrew (Lunar) calendar
#define CAL_GREGORIAN_ME_FRENCH 9 // Gregorian Middle East French calendar
#define CAL_GREGORIAN_ARABIC 10 // Gregorian Arabic calendar
#define CAL_GREGORIAN_XLIT_ENGLISH 11 // Gregorian Transliterated English calendar
#define CAL_GREGORIAN_XLIT_FRENCH 12 // Gregorian Transliterated French calendar
#define CAL_PERSIAN 22 // Persian (Solar Hijri) calendar
#define CAL_UMALQURA 23 // UmAlQura Hijri (Arabic Lunar) calendar
#define LGRPID_WESTERN_EUROPE 0x0001 // Western Europe & U.S.
#define LGRPID_CENTRAL_EUROPE 0x0002 // Central Europe
#define LGRPID_BALTIC 0x0003 // Baltic
#define LGRPID_GREEK 0x0004 // Greek
#define LGRPID_CYRILLIC 0x0005 // Cyrillic
#define LGRPID_TURKIC 0x0006 // Turkic
#define LGRPID_TURKISH 0x0006 // Turkish
#define LGRPID_JAPANESE 0x0007 // Japanese
#define LGRPID_KOREAN 0x0008 // Korean
#define LGRPID_TRADITIONAL_CHINESE 0x0009 // Traditional Chinese
#define LGRPID_SIMPLIFIED_CHINESE 0x000a // Simplified Chinese
#define LGRPID_THAI 0x000b // Thai
#define LGRPID_HEBREW 0x000c // Hebrew
#define LGRPID_ARABIC 0x000d // Arabic
#define LGRPID_VIETNAMESE 0x000e // Vietnamese
#define LGRPID_INDIC 0x000f // Indic
#define LGRPID_GEORGIAN 0x0010 // Georgian
#define LGRPID_ARMENIAN 0x0011 // Armenian
#if (WINVER >= 0x0600)
#define MUI_LANGUAGE_ID 0x4 // Use traditional language ID convention
#define MUI_LANGUAGE_NAME 0x8 // Use ISO language (culture) name convention
#define MUI_MERGE_SYSTEM_FALLBACK 0x10 // GetThreadPreferredUILanguages merges in parent and base languages
#define MUI_MERGE_USER_FALLBACK 0x20 // GetThreadPreferredUILanguages merges in user preferred languages
#define MUI_UI_FALLBACK MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK
#define MUI_THREAD_LANGUAGES 0x40 // GetThreadPreferredUILanguages merges in user preferred languages
#define MUI_CONSOLE_FILTER 0x100 // SetThreadPreferredUILanguages takes on console specific behavior
#define MUI_COMPLEX_SCRIPT_FILTER 0x200 // SetThreadPreferredUILanguages takes on complex script specific behavior
#define MUI_RESET_FILTERS 0x001 // Reset MUI_CONSOLE_FILTER and MUI_COMPLEX_SCRIPT_FILTER
#define MUI_USER_PREFERRED_UI_LANGUAGES 0x10 // GetFileMUIPath returns the MUI files for the languages in the fallback list
#define MUI_USE_INSTALLED_LANGUAGES 0x20 // GetFileMUIPath returns all the MUI files installed in the machine
#define MUI_USE_SEARCH_ALL_LANGUAGES 0x40 // GetFileMUIPath returns all the MUI files irrespective of whether language is installed
#define MUI_LANG_NEUTRAL_PE_FILE 0x100 // GetFileMUIPath returns target file with .mui extension
#define MUI_NON_LANG_NEUTRAL_FILE 0x200 // GetFileMUIPath returns target file with same name as source
#define MUI_MACHINE_LANGUAGE_SETTINGS 0x400
#define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x001 // GetFileMUIInfo found a non-split 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_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_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_FILEINFO_VERSION 0x001 // Version of FILEMUIINFO structure used with GetFileMUIInfo
#define MUI_FULL_LANGUAGE 0x01
#define MUI_PARTIAL_LANGUAGE 0x02
#define MUI_LIP_LANGUAGE 0x04
#define MUI_LANGUAGE_INSTALLED 0x20
#define MUI_LANGUAGE_LICENSED 0x40
#define MUI_CALLBACK_ALL_FLAGS MUI_CALLBACK_FLAG_UPGRADED_INSTALLATION // OR all other flags when defined.
#endif
typedef
;
typedef
;
typedef
;
typedef
;
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accurately and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef
struct
{
;
BYTE DefaultChar[MAX_DEFAULTCHAR]; // default character
BYTE LeadByte[MAX_LEADBYTES]; // lead byte ranges
}
, *
;
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accurately and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef
struct
{
;
BYTE DefaultChar[MAX_DEFAULTCHAR]; // default character (MB)
BYTE LeadByte[MAX_LEADBYTES]; // lead byte ranges
;
;
CHAR CodePageName[MAX_PATH]; // code page name (Unicode)
}
, *
;
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accurately and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef
struct
{
;
BYTE DefaultChar[MAX_DEFAULTCHAR]; // default character (MB)
BYTE LeadByte[MAX_LEADBYTES]; // lead byte ranges
;
;
WCHAR CodePageName[MAX_PATH]; // code page name (Unicode)
}
, *
;
#ifdef UNICODE
typedef
;
typedef
;
#else
typedef CPINFOEXA CPINFOEX;
typedef LPCPINFOEXA LPCPINFOEX;
#endif // UNICODE
typedef
struct
{
;
;
;
;
;
;
}
, *
;
typedef
struct
{
;
;
;
;
;
;
}
, *
;
#ifdef UNICODE
typedef
;
typedef
;
#else
typedef NUMBERFMTA NUMBERFMT;
typedef LPNUMBERFMTA LPNUMBERFMT;
#endif // UNICODE
typedef
struct
{
;
;
;
;
;
;
;
;
}
, *
;
typedef
struct
{
;
;
;
;
;
;
;
;
}
, *
;
#ifdef UNICODE
typedef
;
typedef
;
#else
typedef CURRENCYFMTA CURRENCYFMT;
typedef LPCURRENCYFMTA LPCURRENCYFMT;
#endif // UNICODE
enum
{
=
0x0001
,
};
typedef
;
#if (WINVER >= _WIN32_WINNT_WIN8)
typedef
struct
{
;
;
;
;
;
}
, *
;
#else
//
// Windows 7 and below had different sizes
//
// This is to be deprecated, please use the NLSVERSIONINFOEX
// structure below in the future. The difference is that
// guidCustomversion is required to uniquely identify a sort
typedef struct _nlsversioninfo{ // Use NLSVERSIONINFOEX instead
DWORD dwNLSVersionInfoSize; // 12 bytes
DWORD dwNLSVersion;
DWORD dwDefinedVersion; // Deprecated, use dwNLSVersion instead
} NLSVERSIONINFO, *LPNLSVERSIONINFO;
#endif
typedef
struct
{
;
;
;
;
;
}
, *
;
typedef
;
typedef
;
typedef
;
#define GEOID_NOT_AVAILABLE -1
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
#define GEO_NAME_USER_DEFAULT NULL
#endif
enum
{
=
0x0001
,
=
0x0002
,
=
0x0003
,
=
0x0004
,
=
0x0005
,
=
0x0006
,
=
0x0007
,
=
0x0008
,
=
0x0009
,
=
0x000A
,
=
0x000B
,
=
0x000C
,
=
0x000D
,
=
0x000E
,
=
0x000F
,
=
0x0010
,
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
=
0x0011
,
=
0x0012
#endif
};
enum
{
=
16
,
=
14
,
=
0
};
#if (WINVER >= 0x0600)
typedef
enum
{
=
0
,
=
0x1
,
=
0x2
,
=
0x5
,
=
0x6
}
;
#define IDN_ALLOW_UNASSIGNED 0x01 // Allow unassigned "query" behavior per RFC 3454
#define IDN_USE_STD3_ASCII_RULES 0x02 // Enforce STD3 ASCII restrictions for legal characters
#define IDN_EMAIL_ADDRESS 0x04 // Enable EAI algorithmic fallback for email local parts behavior
#define IDN_RAW_PUNYCODE 0x08 // Disable validation and mapping of punycode.
#define VS_ALLOW_LATIN 0x0001 // Allow Latin in test script even if not present in locale script
#define GSS_ALLOW_INHERITED_COMMON 0x0001 // Output script ids for inherited and common character types if present
#endif //(WINVER >= 0x0600)
#ifdef STRICT
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef BOOL (CALLBACK* LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR); // Deprecated, please use Unicode
typedef
(
__stdcall
*
)(
,
,
,
,
);
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef BOOL (CALLBACK* LANGGROUPLOCALE_ENUMPROCA)(LGRPID, LCID, LPSTR, LONG_PTR); // Deprecated, please use Unicode
typedef
(
__stdcall
*
LANGGROUPLOCALE_ENUMPROCA
)(
,
,
,
);
typedef BOOL (CALLBACK* UILANGUAGE_ENUMPROCA)(LPSTR, LONG_PTR); // Deprecated, please use Unicode
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* CODEPAGE_ENUMPROCA)(LPSTR); // Deprecated, please use Unicode
typedef BOOL (CALLBACK* DATEFMT_ENUMPROCA)(LPSTR); // Deprecated, please use Unicode
typedef BOOL (CALLBACK* DATEFMT_ENUMPROCEXA)(LPSTR, CALID); // Deprecated, please use Unicode
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* TIMEFMT_ENUMPROCA)(LPSTR); // Deprecated, please use Unicode
typedef BOOL (CALLBACK* CALINFO_ENUMPROCA)(LPSTR); // Deprecated, please use Unicode
typedef BOOL (CALLBACK* CALINFO_ENUMPROCEXA)(LPSTR, CALID); // Deprecated, please use Unicode
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* LOCALE_ENUMPROCA)(LPSTR); // Deprecated, please use Unicode
typedef BOOL (CALLBACK* LOCALE_ENUMPROCW)(LPWSTR); // DEPRECATED: please use LOCALE_ENUMPROCEX
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef BOOL (CALLBACK* LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR); // DEPRECATED: Language groups are no longer supported
typedef
(
__stdcall
*
)(
,
,
,
,
);
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef BOOL (CALLBACK* LANGGROUPLOCALE_ENUMPROCW)(LGRPID, LCID, LPWSTR, LONG_PTR); // DEPRECATED: Language groups are no longer supported
typedef
(
__stdcall
*
LANGGROUPLOCALE_ENUMPROCW
)(
,
,
,
);
typedef BOOL (CALLBACK* UILANGUAGE_ENUMPROCW)(LPWSTR, LONG_PTR);
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* CODEPAGE_ENUMPROCW)(LPWSTR); // Please use Unicode / UTF-8
typedef BOOL (CALLBACK* DATEFMT_ENUMPROCW)(LPWSTR);
typedef BOOL (CALLBACK* DATEFMT_ENUMPROCEXW)(LPWSTR, CALID);
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* TIMEFMT_ENUMPROCW)(LPWSTR);
typedef BOOL (CALLBACK* CALINFO_ENUMPROCW)(LPWSTR);
typedef BOOL (CALLBACK* CALINFO_ENUMPROCEXW)(LPWSTR, CALID);
typedef
(
__stdcall
*
)(
,
);
typedef BOOL (CALLBACK* GEO_ENUMPROC)(GEOID); // DEPRECATED, use GEO_ENUMNAMEPROC instead
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
typedef BOOL (CALLBACK* GEO_ENUMNAMEPROC)(PWSTR, LPARAM);
typedef
(
__stdcall
*
)(
,
);
#endif
#else // !STRICT
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef FARPROC LANGUAGEGROUP_ENUMPROCA; // Deprecated, please use Unicode
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef FARPROC LANGGROUPLOCALE_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC UILANGUAGE_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC CODEPAGE_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC DATEFMT_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC DATEFMT_ENUMPROCEXA; // Deprecated, please use Unicode
typedef FARPROC TIMEFMT_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC CALINFO_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC CALINFO_ENUMPROCEXA; // Deprecated, please use Unicode
typedef FARPROC GEO_ENUMPROC; // DEPRECATED, use GEO_ENUMNAMEPROC instead
typedef FARPROC LOCALE_ENUMPROCA; // Deprecated, please use Unicode
typedef FARPROC LOCALE_ENUMPROCW; // DEPRECATED: please use LOCALE_ENUMPROCEX
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef FARPROC LANGUAGEGROUP_ENUMPROCW; // DEPRECATED: Language groups are no longer supported
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
typedef FARPROC LANGGROUPLOCALE_ENUMPROCW; // DEPRECATED: Language groups are no longer supported
typedef FARPROC UILANGUAGE_ENUMPROCW;
typedef FARPROC CODEPAGE_ENUMPROCW; // Please use Unicode / UTF-8
typedef FARPROC DATEFMT_ENUMPROCW;
typedef FARPROC DATEFMT_ENUMPROCEXW;
typedef FARPROC TIMEFMT_ENUMPROCW;
typedef FARPROC CALINFO_ENUMPROCW;
typedef FARPROC CALINFO_ENUMPROCEXW;
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
typedef FARPROC GEO_ENUMNAMEPROC;
#endif
#endif // !STRICT
#ifdef UNICODE
#define LANGUAGEGROUP_ENUMPROC LANGUAGEGROUP_ENUMPROCW
#define LANGGROUPLOCALE_ENUMPROC LANGGROUPLOCALE_ENUMPROCW
#define UILANGUAGE_ENUMPROC UILANGUAGE_ENUMPROCW
#define CODEPAGE_ENUMPROC CODEPAGE_ENUMPROCW
#define DATEFMT_ENUMPROC DATEFMT_ENUMPROCW
#define DATEFMT_ENUMPROCEX DATEFMT_ENUMPROCEXW
#define TIMEFMT_ENUMPROC TIMEFMT_ENUMPROCW
#define CALINFO_ENUMPROC CALINFO_ENUMPROCW
#define CALINFO_ENUMPROCEX CALINFO_ENUMPROCEXW
#define LOCALE_ENUMPROC LOCALE_ENUMPROCW
#else
// DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
#define LANGUAGEGROUP_ENUMPROC LANGUAGEGROUP_ENUMPROCA
// DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
#define LANGGROUPLOCALE_ENUMPROC LANGGROUPLOCALE_ENUMPROCA
#define UILANGUAGE_ENUMPROC UILANGUAGE_ENUMPROCA
#define CODEPAGE_ENUMPROC CODEPAGE_ENUMPROCA
#define DATEFMT_ENUMPROC DATEFMT_ENUMPROCA
#define DATEFMT_ENUMPROCEX DATEFMT_ENUMPROCEXA
#define TIMEFMT_ENUMPROC TIMEFMT_ENUMPROCA
#define CALINFO_ENUMPROC CALINFO_ENUMPROCA
#define CALINFO_ENUMPROCEX CALINFO_ENUMPROCEXA
#define LOCALE_ENUMPROC LOCALE_ENUMPROCA
#endif // !UNICODE
typedef
struct
{
;
;
;
[
16
];
[
16
];
;
;
;
;
;
;
;
[
8
];
}
, *
;
#ifndef NOAPISET
#include <stringapiset.h> // String APISET dependencies
#endif
#define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
#define IS_LOW_SURROGATE(wch) (((wch) >= LOW_SURROGATE_START) && ((wch) <= LOW_SURROGATE_END))
#define IS_SURROGATE_PAIR(hs, ls) (IS_HIGH_SURROGATE(hs) && IS_LOW_SURROGATE(ls))
#define FILEMUIINFO_GET_CULTURE(pInfo) \
((LPWSTR)((pInfo->dwLanguageNameOffset>0)?(ULONG_PTR)pInfo+pInfo->dwLanguageNameOffset:NULL))
#define FILEMUIINFO_GET_MAIN_TYPEIDS(pInfo) \
((DWORD*)((pInfo->dwTypeIDMainOffset>0)?(ULONG_PTR)pInfo+pInfo->dwTypeIDMainOffset:NULL))
#define FILEMUIINFO_GET_MAIN_TYPEID(pInfo,iType) \
(((iType<pInfo->dwTypeIDMainSize)&&(pInfo->dwTypeIDMainOffset>0))?*((DWORD*)((ULONG_PTR)pInfo+pInfo->dwTypeIDMainOffset)+iType):0)
#define FILEMUIINFO_GET_MAIN_TYPENAMES(pInfo) \
((LPWSTR)((pInfo->dwTypeNameMainOffset>0)?(ULONG_PTR)pInfo+pInfo->dwTypeNameMainOffset:NULL))
#define FILEMUIINFO_GET_MUI_TYPEIDS(pInfo) \
((DWORD*)((pInfo->dwTypeIDMUIOffset>0)?(ULONG_PTR)pInfo+pInfo->dwTypeIDMUIOffset:NULL))
#define FILEMUIINFO_GET_MUI_TYPEID(pInfo,iType) \
(((iType<pInfo->dwTypeIDMUISize)&&(pInfo->dwTypeIDMUIOffset>0))?*((DWORD*)((ULONG_PTR)pInfo+pInfo->dwTypeIDMUIOffset)+iType):0)
#define FILEMUIINFO_GET_MUI_TYPENAMES(pInfo) \
((LPWSTR)((pInfo->dwTypeNameMUIOffset>0)?(ULONG_PTR)pInfo+pInfo->dwTypeNameMUIOffset:NULL))
(
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or Pc Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP|WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accuratedly and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
(
_Out_ LPCPINFO lpCPInfo);
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accurately and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
(
_Out_ LPCPINFOEXA lpCPInfoEx);
DEPRECATED("Use Unicode. The information in this structure cannot represent all encodings accurately and may be unreliable on many machines. Set DISABLE_NLS_DEPRECATION to disable this warning.")
(
_Out_ LPCPINFOEXW lpCPInfoEx);
#ifdef UNICODE
#define GetCPInfoEx GetCPInfoExW
#else
#define GetCPInfoEx GetCPInfoExA
#endif // !UNICODE
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP|WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
int
(
_In_reads_(cchCount1) PCNZCH lpString1,
_In_reads_(cchCount2) PCNZCH lpString2,
#ifndef UNICODE
#define CompareString CompareStringA
#endif // !UNICODE
#if defined(_M_CEE)
#undef CompareString
__inline
int
CompareString(
LCID Locale,
DWORD dwCmpFlags,
LPCTSTR lpString1,
int cchCount1,
LPCTSTR lpString2,
int cchCount2
)
{
#ifdef UNICODE
return CompareStringW(
#else
return CompareStringA(
#endif
Locale,
dwCmpFlags,
lpString1,
cchCount1,
lpString2,
cchCount2
);
}
#endif /* _M_CEE */
#if (WINVER >= 0x0600)
int
(
_In_ DWORD dwFindNLSStringFlags,
_In_reads_(cchSource) LPCWSTR lpStringSource,
_In_reads_(cchValue) LPCWSTR lpStringValue,
_Out_opt_ LPINT pcchFound);
#endif //(WINVER >= 0x0600)
int
(
_In_reads_(cchSrc) LPCWSTR lpSrcStr,
_Out_writes_opt_(_Inexpressible_(cchDest)) LPWSTR lpDestStr,
#ifdef UNICODE
#define LCMapString LCMapStringW
#endif
int
(
_In_reads_(cchSrc) LPCSTR lpSrcStr,
_Out_writes_opt_(_Inexpressible_(cchDest)) LPSTR lpDestStr,
#ifndef UNICODE
#define LCMapString LCMapStringA
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
(
_Out_writes_opt_(cchData) LPWSTR lpLCData,
#ifdef UNICODE
#define GetLocaleInfo GetLocaleInfoW
#endif
int
(
_Out_writes_opt_(cchData) LPSTR lpLCData,
);
#ifndef UNICODE
#define GetLocaleInfo GetLocaleInfoA
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
(
(
#ifdef UNICODE
#define SetLocaleInfo SetLocaleInfoW
#else
#define SetLocaleInfo SetLocaleInfoA
#endif // !UNICODE
#if (WINVER >= 0x040A)
int
(
_Out_writes_opt_(cchData) LPSTR lpCalData,
_Out_opt_ LPDWORD lpValue);
int
(
_Out_writes_opt_(cchData) LPWSTR lpCalData,
_Out_opt_ LPDWORD lpValue);
#ifdef UNICODE
#define GetCalendarInfo GetCalendarInfoW
#else
#define GetCalendarInfo GetCalendarInfoA
#endif // !UNICODE
(
(
#ifdef UNICODE
#define SetCalendarInfo SetCalendarInfoW
#else
#define SetCalendarInfo SetCalendarInfoA
#endif // !UNICODE
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#if (WINVER >= _WIN32_WINNT_WIN7)
#define MUI_FORMAT_REG_COMPAT 0x0001
#define MUI_FORMAT_INF_COMPAT 0x0002
#define MUI_VERIFY_FILE_EXISTS 0x0004
#define MUI_SKIP_STRING_CACHE 0x0008
#define MUI_IMMUTABLE_LOOKUP 0x0010
(
_In_opt_ PCWSTR Language,
_In_ PCWSTR SourceString,
_Out_writes_opt_(cchBuffer) PWSTR Buffer,
_In_opt_ PCWSTR Directory,
_Out_opt_ PULONG pcchBufferOut
);
#endif // (WINVER >= _WIN32_WINNT_WIN7)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
DEPRECATED("Use Unicode. The information provided by this structure is inaccurate for some encodings and may be unreliable on many machines.")
(
);
DEPRECATED("Use Unicode. The information provided by this structure is inaccurate for some encodings and may be unreliable on many machines.")
(
);
#if (WINVER >= 0x0600)
int
(
_Out_writes_opt_(cchName) LPWSTR lpName,
(
#endif // (WINVER >= 0x0600)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#if (WINVER >= 0x0600)
int
(
_In_opt_ CONST SYSTEMTIME *lpDuration,
_In_ ULONGLONG ullDuration,
_In_opt_ LPCWSTR lpFormat,
_Out_writes_opt_(cchDuration) LPWSTR lpDurationStr,
#endif //(WINVER >= 0x0600)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
int
(
_In_opt_ CONST NUMBERFMTA *lpFormat,
_Out_writes_opt_(cchNumber) LPSTR lpNumberStr,
int
(
_In_opt_ CONST NUMBERFMTW *lpFormat,
_Out_writes_opt_(cchNumber) LPWSTR lpNumberStr,
#ifdef UNICODE
#define GetNumberFormat GetNumberFormatW
#else
#define GetNumberFormat GetNumberFormatA
#endif // !UNICODE
int
(
_In_opt_ CONST CURRENCYFMTA *lpFormat,
_Out_writes_opt_(cchCurrency) LPSTR lpCurrencyStr,
int
(
_In_opt_ CONST CURRENCYFMTW *lpFormat,
_Out_writes_opt_(cchCurrency) LPWSTR lpCurrencyStr,
#ifdef UNICODE
#define GetCurrencyFormat GetCurrencyFormatW
#else
#define GetCurrencyFormat GetCurrencyFormatA
#endif // !UNICODE
(
_In_ CALINFO_ENUMPROCA lpCalInfoEnumProc,
(
_In_ CALINFO_ENUMPROCW lpCalInfoEnumProc,
#ifdef UNICODE
#define EnumCalendarInfo EnumCalendarInfoW
#else
#define EnumCalendarInfo EnumCalendarInfoA
#endif // !UNICODE
#if(WINVER >= 0x0500)
(
_In_ CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx,
(
_In_ CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx,
#ifdef UNICODE
#define EnumCalendarInfoEx EnumCalendarInfoExW
#else
#define EnumCalendarInfoEx EnumCalendarInfoExA
#endif // !UNICODE
#endif /* WINVER >= 0x0500 */
(
_In_ TIMEFMT_ENUMPROCA lpTimeFmtEnumProc,
(
_In_ TIMEFMT_ENUMPROCW lpTimeFmtEnumProc,
#ifdef UNICODE
#define EnumTimeFormats EnumTimeFormatsW
#else
#define EnumTimeFormats EnumTimeFormatsA
#endif // !UNICODE
(
_In_ DATEFMT_ENUMPROCA lpDateFmtEnumProc,
(
_In_ DATEFMT_ENUMPROCW lpDateFmtEnumProc,
#ifdef UNICODE
#define EnumDateFormats EnumDateFormatsW
#else
#define EnumDateFormats EnumDateFormatsA
#endif // !UNICODE
#if(WINVER >= 0x0500)
(
_In_ DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx,
(
_In_ DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx,
#ifdef UNICODE
#define EnumDateFormatsEx EnumDateFormatsExW
#else
#define EnumDateFormatsEx EnumDateFormatsExA
#endif // !UNICODE
#endif /* WINVER >= 0x0500 */
#if(WINVER >= 0x0500)
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
(
_In_ LGRPID LanguageGroup,
#endif /* WINVER >= 0x0500 */
(
_In_ NLS_FUNCTION Function,
_Inout_ LPNLSVERSIONINFO lpVersionInformation);
(
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
(
_Out_writes_opt_(cchData) LPSTR lpGeoData,
int
(
_Out_writes_opt_(cchData) LPWSTR lpGeoData,
#ifdef UNICODE
#define GetGeoInfo GetGeoInfoW
#else
#define GetGeoInfo GetGeoInfoA
#endif // !UNICODE
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
int
(
_Out_writes_opt_(geoDataCount) PWSTR geoData,
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or PC Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
(
_In_ GEO_ENUMPROC lpGeoEnumProc);
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
(
_In_ GEO_ENUMNAMEPROC geoEnumProc,
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
(
* Note: This API was added in the Windows 10 Fall Creators Update.
* (Please use this API instead of calling GetUserGeoID.)
*
*/
int
(
_Out_writes_z_(geoNameCount) LPWSTR geoName,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
(
#if (NTDDI_VERSION >= NTDDI_WIN10_RS3)
(
#endif
(
(
void
);
(
);
#if(WINVER >= 0x0500)
GetSystemDefaultUILanguage
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
(
void
);
#endif /* WINVER >= 0x0500 */
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
(
void
);
(
void
);
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
SetThreadUILanguage(_In_ LANGID LangId);
#if (WINVER >= 0x0600)
(
void
);
GetProcessPreferredUILanguages
(
_Out_ PULONG pulNumLanguages,
_Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
_Inout_ PULONG pcchLanguagesBuffer
);
SetProcessPreferredUILanguages
(
_In_opt_ PCZZWSTR pwszLanguagesBuffer,
_Out_opt_ PULONG pulNumLanguages
);
#endif /* WINVER >= 0x0600 */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or Phone Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PHONE_APP | WINAPI_PARTITION_SYSTEM)
#if(WINVER >= 0x0600)
GetUserPreferredUILanguages
(
_Out_ PULONG pulNumLanguages,
_Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
_Inout_ PULONG pcchLanguagesBuffer
);
#endif /* WINVER >= 0x0600 */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PHONE_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#if(WINVER >= 0x0600)
GetSystemPreferredUILanguages
(
_Out_ PULONG pulNumLanguages,
_Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
_Inout_ PULONG pcchLanguagesBuffer
);
GetThreadPreferredUILanguages
(
_Out_ PULONG pulNumLanguages,
_Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
_Inout_ PULONG pcchLanguagesBuffer
);
SetThreadPreferredUILanguages
(
_In_opt_ PCZZWSTR pwszLanguagesBuffer,
_Out_opt_ PULONG pulNumLanguages
);
_Success_(return!=FALSE)
(
,
_In_ PCWSTR pcwszFilePath,
_Inout_updates_bytes_to_opt_(*pcbFileMUIInfo,*pcbFileMUIInfo) PFILEMUIINFO pFileMUIInfo,
_Inout_ DWORD* pcbFileMUIInfo);
(
_In_ PCWSTR pcwszFilePath ,
_Inout_updates_opt_ (*pcchLanguage) PWSTR pwszLanguage,
_Inout_ PULONG pcchLanguage,
_Out_writes_opt_ (*pcchFileMUIPath) PWSTR pwszFileMUIPath,
_Inout_ PULONG pcchFileMUIPath,
_Inout_ PULONGLONG pululEnumerator
);
(
_In_ PCZZWSTR pwmszLanguage,
_Out_writes_opt_(*pcchFallbackLanguages) PZZWSTR pwszFallbackLanguages,
_Inout_opt_ PDWORD pcchFallbackLanguages,
);
#endif /* WINVER >= 0x0600 */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#if(WINVER >= 0x0600)
(
_In_opt_ PCWSTR pcwstrNewLanguage,
_In_opt_ PCWSTR pcwstrPreviousLanguage,
_Out_opt_ PDWORD pdwStatusRtrn
);
#endif /* WINVER >= 0x0600 */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
(
_In_reads_(cchSrc) LPCSTR lpSrcStr,
_Out_writes_(cchSrc) LPWORD lpCharType);
#ifndef UNICODE
#define GetStringTypeEx GetStringTypeExA
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
(
_In_reads_(cchSrc) LPCSTR lpSrcStr,
_Out_ LPWORD lpCharType);
int
(
_In_reads_(cchSrc) LPCSTR lpSrcStr,
_Out_writes_opt_(cchDest) LPSTR lpDestStr,
#ifndef UNICODE
#define FoldString FoldStringA
#endif
#if(WINVER >= 0x0500)
(
_In_ LOCALE_ENUMPROCA lpLocaleEnumProc,
(
_In_ LOCALE_ENUMPROCW lpLocaleEnumProc,
#ifdef UNICODE
#define EnumSystemLocales EnumSystemLocalesW
#else
#define EnumSystemLocales EnumSystemLocalesA
#endif // !UNICODE
#endif /* WINVER >= 0x0500 */
#if(WINVER >= 0x0500)
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
EnumSystemLanguageGroupsA
(
_In_ LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc,
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
EnumSystemLanguageGroupsW
(
_In_ LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc,
#ifdef UNICODE
#define EnumSystemLanguageGroups EnumSystemLanguageGroupsW
#else
#define EnumSystemLanguageGroups EnumSystemLanguageGroupsA
#endif // !UNICODE
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
EnumLanguageGroupLocalesA
(
_In_ LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc,
LANGGROUPLOCALE_ENUMPROCA
lpLangGroupLocaleEnumProc
,
_In_ LGRPID LanguageGroup,
DEPRECATED("The Language Group concept is obsolete and no longer supported. Set DISABLE_NLS_DEPRECATION to disable this warning.")
EnumLanguageGroupLocalesW
(
_In_ LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc,
LANGGROUPLOCALE_ENUMPROCW
lpLangGroupLocaleEnumProc
,
_In_ LGRPID LanguageGroup,
#ifdef UNICODE
#define EnumLanguageGroupLocales EnumLanguageGroupLocalesW
#else
#define EnumLanguageGroupLocales EnumLanguageGroupLocalesA
#endif // !UNICODE
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
(
_In_ UILANGUAGE_ENUMPROCA lpUILanguageEnumProc,
(
_In_ UILANGUAGE_ENUMPROCW lpUILanguageEnumProc,
#ifdef UNICODE
#define EnumUILanguages EnumUILanguagesW
#else
#define EnumUILanguages EnumUILanguagesA
#endif // !UNICODE
#endif /* WINVER >= 0x0500 */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or PC Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
(
_In_ CODEPAGE_ENUMPROCA lpCodePageEnumProc,
(
_In_ CODEPAGE_ENUMPROCW lpCodePageEnumProc,
#ifdef UNICODE
#define EnumSystemCodePages EnumSystemCodePagesW
#else
#define EnumSystemCodePages EnumSystemCodePagesA
#endif // !UNICODE
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#if (WINVER >= 0x0600)
int
WINAPI NormalizeString( _In_ NORM_FORM NormForm,
_In_reads_(cwSrcLength) LPCWSTR lpSrcString,
_Out_writes_opt_(cwDstLength) LPWSTR lpDstString,
WINAPI IsNormalizedString( _In_ NORM_FORM NormForm,
_In_reads_(cwLength) LPCWSTR lpString,
#endif //(WINVER >= 0x0600)
#if (WINVER >= 0x0600)
int
WINAPI IdnToAscii(_In_ DWORD dwFlags,
_In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr,
_Out_writes_opt_(cchASCIIChar) LPWSTR lpASCIICharStr,
#endif //(WINVER >= 0x0600)
#if (WINVER >= 0x0600)
int
WINAPI IdnToNameprepUnicode(_In_ DWORD dwFlags,
_In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr,
_Out_writes_opt_(cchNameprepChar) LPWSTR lpNameprepCharStr,
_In_ int cchNameprepChar);
#endif //(WINVER >= 0x0600)
#if (WINVER >= 0x0600)
int
WINAPI IdnToUnicode(_In_ DWORD dwFlags,
_In_reads_(cchASCIIChar) LPCWSTR lpASCIICharStr,
_Out_writes_opt_(cchUnicodeChar) LPWSTR lpUnicodeCharStr,
_In_ int cchUnicodeChar);
#endif //(WINVER >= 0x0600)
#if (WINVER >= 0x0600)
_In_ DWORD dwFlags, // optional behavior flags
_In_ LPCWSTR lpLocaleScripts, // Locale list of scripts string
_In_ int cchLocaleScripts, // size of locale script list string
_In_ LPCWSTR lpTestScripts, // test scripts string
_In_ int cchTestScripts); // size of test list string
int
_In_ DWORD dwFlags, // optional behavior flags
_In_ LPCWSTR lpString, // Unicode character input string
_In_ int cchString, // size of input string
_Out_writes_opt_(cchScripts) LPWSTR lpScripts, // Script list output string
_In_ int cchScripts); // size of output string
#endif //(WINVER >= 0x0600)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#if (WINVER >= 0x0600)
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#define LOCALE_NAME_USER_DEFAULT NULL
#define LOCALE_NAME_INVARIANT L""
#define LOCALE_NAME_SYSTEM_DEFAULT L"!x-sys-default-locale"
int
(
_In_opt_ LPCWSTR lpLocaleName,
_Out_writes_to_opt_(cchData, return) LPWSTR lpLCData,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or PC Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
int
(
_In_opt_ LPCWSTR lpLocaleName,
_In_opt_ LPCWSTR lpReserved,
_Out_writes_opt_(cchData) LPWSTR lpCalData,
_Out_opt_ LPDWORD lpValue
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#ifndef GetDurationFormatEx_DEFINED
WINBASEAPI
int
WINAPI
GetDurationFormatEx(
_In_opt_ LPCWSTR lpLocaleName,
_In_ DWORD dwFlags,
_In_opt_ CONST SYSTEMTIME *lpDuration,
_In_ ULONGLONG ullDuration,
_In_opt_ LPCWSTR lpFormat,
_Out_writes_opt_(cchDuration) LPWSTR lpDurationStr,
_In_ int cchDuration
);
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
(
_In_opt_ LPCWSTR lpLocaleName,
_In_opt_ CONST NUMBERFMTW *lpFormat,
_Out_writes_opt_(cchNumber) LPWSTR lpNumberStr,
);
int
(
_In_opt_ LPCWSTR lpLocaleName,
_In_opt_ CONST CURRENCYFMTW *lpFormat,
_Out_writes_opt_(cchCurrency) LPWSTR lpCurrencyStr,
);
int
(
_Out_writes_(cchLocaleName) LPWSTR lpLocaleName,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or PC Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
int
GetSystemDefaultLocaleName
(
_Out_writes_(cchLocaleName) LPWSTR lpLocaleName,
);
(
_In_ NLS_FUNCTION Function,
_In_ LPNLSVERSIONINFO lpVersionInformation,
_In_reads_(cchStr) LPCWSTR lpString,
(
_In_ NLS_FUNCTION function,
_In_opt_ LPCWSTR lpLocaleName,
_Inout_ LPNLSVERSIONINFOEX lpVersionInformation
);
#if (WINVER >= _WIN32_WINNT_WIN8)
(
_In_ NLS_FUNCTION function,
_In_opt_ LPCWSTR lpLocaleName,
_In_ LPNLSVERSIONINFOEX lpVersionInformation
);
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
(
_In_opt_ LPCWSTR lpLocaleName,
_In_ DWORD dwFindNLSStringFlags,
_In_reads_(cchSource) LPCWSTR lpStringSource,
_In_reads_(cchValue) LPCWSTR lpStringValue,
_Out_opt_ LPINT pcchFound,
_In_opt_ LPNLSVERSIONINFO lpVersionInformation,
_In_opt_ LPVOID lpReserved,
_In_opt_ LPARAM sortHandle
);
#if (WINVER >= _WIN32_WINNT_WIN8)
_When_((dwMapFlags & (LCMAP_SORTKEY | LCMAP_BYTEREV | LCMAP_HASH | LCMAP_SORTHANDLE)) != 0, _At_((LPBYTE) lpDestStr, _Out_writes_bytes_opt_(cchDest)))
#else
_When_((dwMapFlags & (LCMAP_SORTKEY | LCMAP_BYTEREV)) != 0, _At_((LPBYTE) lpDestStr, _Out_writes_bytes_opt_(cchDest)))
#endif
_When_(cchSrc != -1, _At_((WCHAR *) lpSrcStr, _Out_writes_opt_(cchSrc)))
_When_(cchDest != -1, _At_((WCHAR *) lpDestStr, _Out_writes_opt_(cchDest)))
int
(
_In_opt_ LPCWSTR lpLocaleName,
_In_reads_(cchSrc) LPCWSTR lpSrcStr,
_Out_writes_opt_(cchDest) LPWSTR lpDestStr,
_In_opt_ LPNLSVERSIONINFO lpVersionInformation,
_In_opt_ LPVOID lpReserved,
_In_opt_ LPARAM sortHandle
);
(
_In_ LPCWSTR lpLocaleName
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop or PC Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM)
typedef BOOL (CALLBACK* CALINFO_ENUMPROCEXEX)(LPWSTR, CALID, LPWSTR, LPARAM);
typedef
(
__stdcall
*
)(
,
,
,
);
(
_In_ CALINFO_ENUMPROCEXEX pCalInfoEnumProcExEx,
_In_opt_ LPCWSTR lpLocaleName,
_In_opt_ LPCWSTR lpReserved,
);
typedef BOOL (CALLBACK* DATEFMT_ENUMPROCEXEX)(LPWSTR, CALID, LPARAM);
typedef
(
__stdcall
*
)(
,
,
);
(
_In_ DATEFMT_ENUMPROCEXEX lpDateFmtEnumProcExEx,
_In_opt_ LPCWSTR lpLocaleName,
);
typedef BOOL (CALLBACK* TIMEFMT_ENUMPROCEX)(LPWSTR, LPARAM);
typedef
(
__stdcall
*
)(
,
);
(
_In_ TIMEFMT_ENUMPROCEX lpTimeFmtEnumProcEx,
_In_opt_ LPCWSTR lpLocaleName,
);
typedef BOOL (CALLBACK* LOCALE_ENUMPROCEX)(LPWSTR, DWORD, LPARAM);
typedef
(
__stdcall
*
)(
,
,
);
(
_In_ LOCALE_ENUMPROCEX lpLocaleEnumProcEx,
_In_opt_ LPVOID lpReserved
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PC_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#endif //(WINVER >= 0x0600)
#if (WINVER >= _WIN32_WINNT_WIN7)
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
(
_In_opt_ LPCWSTR lpNameToResolve,
_Out_writes_opt_(cchLocaleName) LPWSTR lpLocaleName,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#endif // (WINVER >= _WIN32_WINNT_WIN7)
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // NONLS
#pragma pop_macro("DEPRECATED")
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#ifdef __cplusplus
}
#endif
#endif // _WINNLS_