This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 -------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]