PATCH - Winuser.h

Steven Edwards <Steven_Ed4153-/[email protected]>
Newsgroups gmane.comp.gnu.mingw.patches
Organization ReactOS Project
Message-ID <[email protected]>
2002-10-10  "KJK::Hyperion"  <[email protected]>
    * include/winuser.h (MONITOR_DEFAULTTONULL, TPM_RECURSE,
    MONITOR_DEFAULTTOPRIMARY, MONITOR_DEFAULTTONEAREST,
    MONITORINFOF_PRIMARY, CCHDEVICENAME): Add Defines 
    * include/winuser.h (NCCALCSIZE_PARAMS): Add Structure
    (MONITORINFOEX): Ditto



Index: winuser.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/winuser.h,v
retrieving revision 1.26
diff -u -r1.26 winuser.h
--- winuser.h    9 Oct 2002 00:16:21 -0000    1.26
+++ winuser.h    10 Oct 2002 17:37:01 -0000
@@ -869,6 +869,10 @@
 #else
 #define SM_CMETRICS 83
 #endif
+#define MONITOR_DEFAULTTONULL 0
+#define MONITOR_DEFAULTTOPRIMARY 1
+#define MONITOR_DEFAULTTONEAREST 2
+#define MONITORINFOF_PRIMARY 1
 #define ARW_BOTTOMLEFT 0
 #define ARW_BOTTOMRIGHT 1
 #define ARW_HIDE 8
@@ -1682,6 +1686,7 @@
 #define TPM_BOTTOMALIGN 32
 #define TPM_NONOTIFY 128
 #define TPM_RETURNCMD 256
+#define TPM_RECURSE 1
 #define HELP_COMMAND 0x102
 #define HELP_CONTENTS 3
 #define HELP_CONTEXT 1
@@ -2623,6 +2628,19 @@
     RECT rcWork;
     DWORD dwFlags;
 } MONITORINFO,*LPMONITORINFO;
+#define CCHDEVICENAME 32
+#ifdef __cplusplus
+typedef struct tagMONITORINFOEX: public MONITORINFO
+{
+        TCHAR       szDevice[CCHDEVICENAME];
+} MONITORINFOEX, *LPMONITORINFOEX;
+#else
+typedef struct tagMONITORINFOEX
+{
+        MONITORINFO;
+        TCHAR       szDevice[CCHDEVICENAME];
+} MONITORINFOEX, *LPMONITORINFOEX;
+#endif
 typedef struct tagKBDLLHOOKSTRUCT {
     DWORD vkCode;
     DWORD scanCode;
@@ -2630,6 +2648,10 @@
     DWORD time;
     DWORD dwExtraInfo;
 } KBDLLHOOKSTRUCT, FAR *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT;
+typedef struct tagNCCALCSIZE_PARAMS {
+    RECT       rgrc[3];
+    PWINDOWPOS lppos;
+} NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
 #if(WINVER >= 0x0500)
 typedef struct {
   UINT  cbSize;




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.