Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-11-12 12:49:00 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2005-11-12 12:49:00 +0300
commit5f2790492859fd5d6f61ec9ed95bf89f25c18111 (patch)
tree0817f84d301484530ae5074dff8f89546db405a3
parenta9f25ffad8d134df05798b1ab49ba518f1194cbd (diff)
* include/commdlg.h (OPENFILENAMEW): Add members for
_WIN32_WINNT >= 0x0500. (OPENFILENAMEA): Modify whitespace. Ansify comment.
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/commdlg.h13
2 files changed, 16 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 44d2a43b7..24cd65ed2 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,12 @@
2005-11-12 Danny Smith <dannysmith@users.sourceforge.net>
+ * include/commdlg.h (OPENFILENAMEW): Add members for
+ _WIN32_WINNT >= 0x0500.
+ Thanks to Ricardo Dalcorsso Fodra.
+ (OPENFILENAMEA): Modify whitespace. Ansify comment.
+
+2005-11-12 Danny Smith <dannysmith@users.sourceforge.net>
+
* include/wingdi.h (GetICMProfileA): Correct prototype.
(GetICMProfileW): Likewise.
Thanks to: Paul J Lucas
diff --git a/winsup/w32api/include/commdlg.h b/winsup/w32api/include/commdlg.h
index 5798f31cd..0726cd231 100644
--- a/winsup/w32api/include/commdlg.h
+++ b/winsup/w32api/include/commdlg.h
@@ -337,10 +337,10 @@ typedef struct tagOFNA {
LPOFNHOOKPROC lpfnHook;
LPCSTR lpTemplateName;
#if (_WIN32_WINNT >= 0x0500)
- void * pvReserved;
- DWORD dwReserved;
- DWORD FlagsEx;
-#endif // (_WIN32_WINNT >= 0x0500)
+ void * pvReserved;
+ DWORD dwReserved;
+ DWORD FlagsEx;
+#endif /* (_WIN32_WINNT >= 0x0500) */
} OPENFILENAMEA,*LPOPENFILENAMEA;
typedef struct tagOFNW {
DWORD lStructSize;
@@ -363,6 +363,11 @@ typedef struct tagOFNW {
DWORD lCustData;
LPOFNHOOKPROC lpfnHook;
LPCWSTR lpTemplateName;
+#if (_WIN32_WINNT >= 0x0500)
+ void * pvReserved;
+ DWORD dwReserved;
+ DWORD FlagsEx;
+#endif /* (_WIN32_WINNT >= 0x0500) */
} OPENFILENAMEW,*LPOPENFILENAMEW;
typedef struct _OFNOTIFYA {
NMHDR hdr;