From 93f6dae7ed81d78d37b4e4bee971428d48af2247 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Thu, 4 May 2006 15:57:41 +0000 Subject: [PATCH] * include/winnls.h (CAL_SYEARMONTH,CAL_ITWODIGITYEARMAX, CAL_NOUSEROVERRIDE, CAL_RETURN_NUMBER,CAL_USE_CP_ACP): Documented as available on Windows 98 and better. (CAL_UMALQURA,CAL_SSHORTESTDAYNAME*): Define, Windows Vista and better. --- winsup/w32api/ChangeLog | 7 +++++++ winsup/w32api/include/winnls.h | 25 +++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index da7012ac2..8e705dd5e 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,10 @@ +2006-05-04 Dimitri Papadopoulos + + * include/winnls.h (CAL_SYEARMONTH,CAL_ITWODIGITYEARMAX, + CAL_NOUSEROVERRIDE, CAL_RETURN_NUMBER,CAL_USE_CP_ACP): Documented + as available on Windows 98 and better. + (CAL_UMALQURA,CAL_SSHORTESTDAYNAME*): Define, Windows Vista and better. + 2006-05-04 Dimitri Papadopoulos * include/amvideo.h: New file. diff --git a/winsup/w32api/include/winnls.h b/winsup/w32api/include/winnls.h index 96b2a8198..315fa23d8 100644 --- a/winsup/w32api/include/winnls.h +++ b/winsup/w32api/include/winnls.h @@ -371,6 +371,22 @@ extern "C" { #define CAL_SABBREVMONTHNAME11 44 #define CAL_SABBREVMONTHNAME12 45 #define CAL_SABBREVMONTHNAME13 46 +#if (WINVER >= 0x0410) +#define CAL_SYEARMONTH 47 +#define CAL_ITWODIGITYEARMAX 48 +#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE +#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER +#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP +#endif +/*#if (_WIN32_WINNT >= 0x0600) +#define CAL_SSHORTESTDAYNAME1 +#define CAL_SSHORTESTDAYNAME2 +#define CAL_SSHORTESTDAYNAME3 +#define CAL_SSHORTESTDAYNAME4 +#define CAL_SSHORTESTDAYNAME5 +#define CAL_SSHORTESTDAYNAME6 +#define CAL_SSHORTESTDAYNAME7 +#endif*/ #define CAL_GREGORIAN 1 #define CAL_GREGORIAN_US 2 #define CAL_JAPAN 3 @@ -383,6 +399,9 @@ extern "C" { #define CAL_GREGORIAN_ARABIC 10 #define CAL_GREGORIAN_XLIT_ENGLISH 11 #define CAL_GREGORIAN_XLIT_FRENCH 12 +#if (_WIN32_WINNT >= 0x0600) +#define CAL_UMALQURA 23 +#endif #define CSTR_LESS_THAN 1 #define CSTR_EQUAL 2 #define CSTR_GREATER_THAN 3 @@ -405,7 +424,6 @@ extern "C" { #define LGRPID_INDIC 15 #define LGRPID_GEORGIAN 16 #define LGRPID_ARMENIAN 17 - #if (WINVER >= 0x0500) #define LOCALE_SYEARMONTH 0x1006 #define LOCALE_SENGCURRNAME 0x1007 @@ -419,11 +437,6 @@ extern "C" { #define DATE_RTLREADING 32 #define MAP_EXPAND_LIGATURES 0x2000 #define WC_NO_BEST_FIT_CHARS 1024 -#define CAL_SYEARMONTH 47 -#define CAL_ITWODIGITYEARMAX 48 -#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE -#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER -#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP #endif /* (WINVER >= 0x0500) */ #ifndef _BASETSD_H typedef long LONG_PTR;