[jik@curl.com: winuser.h: add defines for EnumDisplaySettings]

Jonathan Kamens jik@curl.com
Tue Feb 12 18:36:00 GMT 2002


Is somebody going to apply this patch?  Did I do something wrong when
I submitted it?

  jik

------- Start of forwarded message -------
Date: 25 Jan 2002 10:44:01 -0500
From: Jonathan Kamens <jik@curl.com>
To: cygwin-patches@cygwin.com
Subject: winuser.h: add defines for EnumDisplaySettings

2002-01-25  Jonathan Kamens  <jik@curl.com>

	* include/winuser.h: Define ENUM_CURRENT_SETTINGS and
	ENUM_REGISTRY_SETTINGS for use in calls to EnumDisplaySettings.

Index: winuser.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/winuser.h,v
retrieving revision 1.14
diff -u -r1.14 winuser.h
- --- winuser.h	2002/01/25 02:54:19	1.14
+++ winuser.h	2002/01/25 15:43:21
@@ -2740,6 +2740,8 @@
 BOOL WINAPI EnumDisplayMonitors(HDC,LPCRECT,MONITORENUMPROC,LPARAM);
 BOOL WINAPI EnumDisplaySettingsA(LPCSTR,DWORD,PDEVMODEA);
 BOOL WINAPI EnumDisplaySettingsW(LPCWSTR,DWORD,PDEVMODEW);
+#define ENUM_CURRENT_SETTINGS       ((DWORD)-1)
+#define ENUM_REGISTRY_SETTINGS      ((DWORD)-2)
 int WINAPI EnumPropsA(HWND,PROPENUMPROCA);
 int WINAPI EnumPropsW(HWND,PROPENUMPROCW);
 int WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM);
------- End of forwarded message -------



More information about the Cygwin-patches mailing list