mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
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.
svn path=/trunk/; revision=26742
This commit is contained in:
parent
7bef6e865e
commit
8e23820aa6
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
|
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_TYPE_MASK 0x007f0000
|
||||||
#define GDI_HANDLE_STOCK_MASK 0x00800000
|
#define GDI_HANDLE_STOCK_MASK 0x00800000
|
||||||
#define GDI_HANDLE_REUSE_MASK 0xff000000
|
#define GDI_HANDLE_REUSE_MASK 0xff000000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue