[ros-diffs] [tkreuzer] 26742: On win XP the gdi handle index can be > 0x3fff, so change GDI_HANDLE_INDEX_MASK to 0x0000ffff to not fail on win XP on higher handle index.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun May 13 02:57:09 CEST 2007


Author: tkreuzer
Date: Sun May 13 04:57:09 2007
New Revision: 26742

URL: http://svn.reactos.org/svn/reactos?rev=26742&view=rev
Log:
On win XP the gdi handle index can be > 0x3fff, so change GDI_HANDLE_INDEX_MASK to 0x0000ffff to not fail on win XP on higher handle index.

Modified:
    trunk/rostests/win32/gdi32/gditest.h

Modified: trunk/rostests/win32/gdi32/gditest.h
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/win32/gdi32/gditest.h?rev=26742&r1=26741&r2=26742&view=diff
==============================================================================
--- trunk/rostests/win32/gdi32/gditest.h (original)
+++ trunk/rostests/win32/gdi32/gditest.h Sun May 13 04:57:09 2007
@@ -19,7 +19,7 @@
 		printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
 	};
 
-#define GDI_HANDLE_INDEX_MASK 0x00003fff // (GDI_HANDLE_COUNT - 1)
+#define GDI_HANDLE_INDEX_MASK 0x0000ffff // (GDI_HANDLE_COUNT - 1)
 #define GDI_HANDLE_TYPE_MASK  0x007f0000
 #define GDI_HANDLE_STOCK_MASK 0x00800000
 #define GDI_HANDLE_REUSE_MASK 0xff000000




More information about the Ros-diffs mailing list