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