aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2006-05-10 08:36:05 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2006-05-10 08:36:05 +0000
commitfe9a050c9eadcb5872d1c1936b9118870ab947a0 (patch)
treeedb7c4f84ced752755a76ff10430f9e4b33931d0
parent5d35ee62503ab0ce1f3a43428a6206dbc6c888f8 (diff)
downloadnewlib-fe9a050c9eadcb5872d1c1936b9118870ab947a0.zip
newlib-fe9a050c9eadcb5872d1c1936b9118870ab947a0.tar.gz
newlib-fe9a050c9eadcb5872d1c1936b9118870ab947a0.tar.bz2
* include/winnls.h [WINVER >= 0x0500] (LOCALE_IDEFAULTEBCDICCODEPAGE):
Documented as defined on Windows 2000 or later. [WINVER >= 0x0600] (LOCALE_SDURATION,LOCALE_SIETFLANGUAGE) (LOCALE_SISO3166CTRYNAME2,LOCALE_SISO639LANGNAME2) (LOCALE_SKEYBOARDSTOINSTALL,LOCALE_SNAME,LOCALE_SNAN) (LOCALE_SNEGINFINITY,LOCALE_SPOSINFINITY,LOCALE_SSCRIPTS): Documented but values unknown, Windows Vista or later. (CAL_UMALQURA): Cleanup. (CAL_SSHORTESTDAYNAME_*): Cleanup. [WINVER >= 0x0410] (CAL_SYEARMONTH,CAL_ITWODIGITYEARMAX) (CAL_NOUSEROVERRIDE,CAL_RETURN_NUMBER,CAL_USE_CP_ACP): Cleanup.
-rw-r--r--winsup/w32api/ChangeLog14
-rw-r--r--winsup/w32api/include/winnls.h50
2 files changed, 43 insertions, 21 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 4fa7455..69dd0fa 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,19 @@
2006-05-10 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/winnls.h [WINVER >= 0x0500] (LOCALE_IDEFAULTEBCDICCODEPAGE):
+ Documented as defined on Windows 2000 or later.
+ [WINVER >= 0x0600] (LOCALE_SDURATION,LOCALE_SIETFLANGUAGE)
+ (LOCALE_SISO3166CTRYNAME2,LOCALE_SISO639LANGNAME2)
+ (LOCALE_SKEYBOARDSTOINSTALL,LOCALE_SNAME,LOCALE_SNAN)
+ (LOCALE_SNEGINFINITY,LOCALE_SPOSINFINITY,LOCALE_SSCRIPTS): Documented
+ but values unknown, Windows Vista or later.
+ (CAL_UMALQURA): Cleanup.
+ (CAL_SSHORTESTDAYNAME_*): Cleanup.
+ [WINVER >= 0x0410] (CAL_SYEARMONTH,CAL_ITWODIGITYEARMAX)
+ (CAL_NOUSEROVERRIDE,CAL_RETURN_NUMBER,CAL_USE_CP_ACP): Cleanup.
+
+2006-05-10 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+
* include/wingdi.h [WINVER >= 0x0500] (DC_*): Define.
(GGO_UNHINTED): Define.
(DMPAPER_*): Define. Paper size newly added to the documentation.
diff --git a/winsup/w32api/include/winnls.h b/winsup/w32api/include/winnls.h
index 315fa23..140f9e9 100644
--- a/winsup/w32api/include/winnls.h
+++ b/winsup/w32api/include/winnls.h
@@ -371,22 +371,6 @@ 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
@@ -399,9 +383,6 @@ 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
@@ -424,12 +405,19 @@ extern "C" {
#define LGRPID_INDIC 15
#define LGRPID_GEORGIAN 16
#define LGRPID_ARMENIAN 17
-#if (WINVER >= 0x0500)
+#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
#define LOCALE_SYEARMONTH 0x1006
#define LOCALE_SENGCURRNAME 0x1007
#define LOCALE_SNATIVECURRNAME 0x1008
-#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
#define LOCALE_SSORTNAME 0x1013
+#endif /* (WINVER >= 0x0410) */
+#if (WINVER >= 0x0500)
+#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
#define LOCALE_IDIGITSUBSTITUTION 0x1014
#define LOCALE_IPAPERSIZE 0x100A
#define DATE_YEARMONTH 8
@@ -438,6 +426,26 @@ extern "C" {
#define MAP_EXPAND_LIGATURES 0x2000
#define WC_NO_BEST_FIT_CHARS 1024
#endif /* (WINVER >= 0x0500) */
+#if (WINVER >= 0x0600)
+/*#define CAL_SSHORTESTDAYNAME1 */
+/*#define CAL_SSHORTESTDAYNAME2 */
+/*#define CAL_SSHORTESTDAYNAME3 */
+/*#define CAL_SSHORTESTDAYNAME4 */
+/*#define CAL_SSHORTESTDAYNAME5 */
+/*#define CAL_SSHORTESTDAYNAME6 */
+/*#define CAL_SSHORTESTDAYNAME7 */
+#define CAL_UMALQURA 23
+/*#define LOCALE_SDURATION */
+/*#define LOCALE_SIETFLANGUAGE */
+/*#define LOCALE_SISO3166CTRYNAME2 */
+/*#define LOCALE_SISO639LANGNAME2 */
+/*#define LOCALE_SKEYBOARDSTOINSTALL */
+/*#define LOCALE_SNAME */
+/*#define LOCALE_SNAN */
+/*#define LOCALE_SNEGINFINITY */
+/*#define LOCALE_SPOSINFINITY */
+/*#define LOCALE_SSCRIPTS */
+#endif /* (WINVER >= 0x0600) */
#ifndef _BASETSD_H
typedef long LONG_PTR;
#endif