diff --git a/reactos/w32api/include/winnls.h b/reactos/w32api/include/winnls.h index 47463c974e2..0754a95f24d 100644 --- a/reactos/w32api/include/winnls.h +++ b/reactos/w32api/include/winnls.h @@ -115,9 +115,14 @@ extern "C" { #define LOCALE_IPOSSEPBYSPACE 85 #define LOCALE_INEGSYMPRECEDES 86 #define LOCALE_INEGSEPBYSPACE 87 -#define LOCALE_FONTSIGNATURE 88 -#define LOCALE_SISO639LANGNAME 89 +#if (WINVER >= 0x0400) +#define LOCALE_FONTSIGNATURE 88 +#define LOCALE_SISO639LANGNAME 89 #define LOCALE_SISO3166CTRYNAME 90 +#endif +#if (WINVER >= 0x0500) +#define LOCALE_SYEARMONTH 0x00001006 +#endif #define LOCALE_SYSTEM_DEFAULT 0x800 #define LOCALE_USER_DEFAULT 0x400 #define NORM_IGNORECASE 1 @@ -141,6 +146,11 @@ extern "C" { #define DATE_SHORTDATE 1 #define DATE_LONGDATE 2 #define DATE_USE_ALT_CALENDAR 4 +#if(WINVER >= 0x0500) +#define DATE_YEARMONTH 0x00000008 +#define DATE_LTRREADING 0x00000010 +#define DATE_RTLREADING 0x00000020 +#endif #define CP_INSTALLED 1 #define CP_SUPPORTED 2 #define LCID_INSTALLED 1