[PSDK] winnls.h: Add some missing definitions

This commit is contained in:
Timo Kreuzer
2026-06-09 17:40:07 +00:00
parent 6d0ff7a62a
commit 15b446c4de
+17 -5
View File
@@ -31,6 +31,9 @@ extern "C" {
#define LOCALE_SLANGUAGE 2
#define LOCALE_SENGLANGUAGE 0x1001
#define LOCALE_SENGLISHLANGUAGENAME 0x1001
#define LOCALE_SNATIVELANGUAGENAME 0x00000004
#define LOCALE_SLOCALIZEDCOUNTRYNAME 0x00000006
#define LOCALE_SNATIVECOUNTRYNAME 0x00000008
#define LOCALE_SABBREVLANGNAME 3
#define LOCALE_SNATIVELANGNAME 4
#define LOCALE_ICOUNTRY 5
@@ -161,6 +164,7 @@ extern "C" {
//#if (WINVER >= _WIN32_WINNT_WIN7)
#define LOCALE_IREADINGLAYOUT 0x0070
#define LOCALE_INEUTRAL 0x0071
#define LOCALE_SENGLISHDISPLAYNAME 0x0072
#define LOCALE_SNATIVEDISPLAYNAME 0x0073
#define LOCALE_INEGATIVEPERCENT 0x0074
#define LOCALE_IPOSITIVEPERCENT 0x0075
@@ -196,8 +200,10 @@ extern "C" {
#define SORT_DIGITSASNUMBERS 0x00000008 // _WIN32_WINNT_WIN7
#define LCMAP_LOWERCASE 0x00000100
#define LCMAP_UPPERCASE 0x00000200
#define LCMAP_TITLECASE 0x00000300
#define LCMAP_SORTKEY 0x00000400
#define LCMAP_BYTEREV 0x00000800
#define LCMAP_HASH 0x00040000
#define LCMAP_HIRAGANA 0x00100000
#define LCMAP_KATAKANA 0x00200000
#define LCMAP_HALFWIDTH 0x00400000
@@ -205,10 +211,14 @@ extern "C" {
#define LCMAP_LINGUISTIC_CASING 0x01000000
#define LCMAP_SIMPLIFIED_CHINESE 0x02000000
#define LCMAP_TRADITIONAL_CHINESE 0x04000000
#define LCMAP_SORTHANDLE 0x20000000
#define ENUM_ALL_CALENDARS (-1)
#define DATE_SHORTDATE 1
#define DATE_LONGDATE 2
#define DATE_USE_ALT_CALENDAR 4
#define DATE_SHORTDATE 0x01
#define DATE_LONGDATE 0x02
#define DATE_USE_ALT_CALENDAR 0x04
#define DATE_AUTOLAYOUT 0x40
#define DATE_MONTHDAY 0x80
#define CP_INSTALLED 1
#define CP_SUPPORTED 2
#define LCID_INSTALLED 1
@@ -478,10 +488,10 @@ extern "C" {
#if (WINVER >= _WIN32_WINNT_WIN8)
#define CAL_SRELATIVELONGDATE 58
#endif //(WINVER >= _WIN32_WINNT_WIN8)
#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
//#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
#define CAL_SENGLISHERANAME 59
#define CAL_SENGLISHABBREVERANAME 60
#endif //(NTDDI_VERSION >= NTDDI_WIN10_RS2)
//#endif //(NTDDI_VERSION >= NTDDI_WIN10_RS2)
#define CAL_GREGORIAN 1
#define CAL_GREGORIAN_US 2
#define CAL_JAPAN 3
@@ -534,6 +544,8 @@ extern "C" {
#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
#define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES
#endif /* (WINVER >= 0x0500) */
#if WINVER >= 0x0600
#define IDN_ALLOW_UNASSIGNED 0x1