Commit Graph

15 Commits

Author SHA1 Message Date
Jacek Caban 06afb958d4 gdi32: Store ntgdi object types in handle table.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 21:12:52 +02:00
Jacek Caban c56cf0131b gdi32/test: Add more handle table tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 21:12:43 +02:00
Jacek Caban e82332f2b2 gdi32: Initialize GdiSharedHandleTable in PEB.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:31 +02:00
Michael Stefaniuc 314a276f19 gdi32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Dmitry Timoshkov c58072833e gdi32/tests: Fix GDI object tests compilation with __WINESRC__ defined. 2013-10-16 11:41:21 +02:00
Daniel Lehman ea6e0a833b gdi32: Use HandleToULong inline function to convert handle to index instead of casting. 2012-10-12 11:27:58 +02:00
Austin English c30c441ea7 gdi32/tests: Remove win9x hacks. 2011-07-27 12:25:30 +02:00
André Hentschel 56233536e8 gdi32/tests: Don't test function directly when reporting GetLastError(). 2011-01-03 11:54:06 +01:00
Alexandre Julliard abafd9f1c7 gdi32/tests: Fix the GetObject last error check for most Windows versions. 2010-08-23 11:11:16 +02:00
Jerome Leclanche da40f95efa gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments. 2010-08-20 13:21:06 +02:00
Rein Klazes d145f399ca gdi32: Fix RectInRegion() if right < left or bottom < top. 2009-06-08 13:18:58 +02:00
Michael Stefaniuc 667a1ed5be gdi32: Remove superfluous pointer casts. 2009-01-26 14:31:13 +01:00
Alexandre Julliard 73423c1a40 gdi32/tests: Fix some test failures on Win9x. 2008-08-05 14:09:37 +02:00
Francois Gouget 51ab5c33c8 gdi32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00