Commit f31b67ae authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdi32: Add a GetDIBits test.

parent 069e6c70
...@@ -586,6 +586,7 @@ INT WINAPI GetDIBits( ...@@ -586,6 +586,7 @@ INT WINAPI GetDIBits(
core_header = (bitmap_type == 0); core_header = (bitmap_type == 0);
if (!(dc = DC_GetDCUpdate( hdc ))) if (!(dc = DC_GetDCUpdate( hdc )))
{ {
SetLastError( ERROR_INVALID_PARAMETER );
return 0; return 0;
} }
if (!(bmp = (BITMAPOBJ *)GDI_GetObjPtr( hbitmap, BITMAP_MAGIC ))) if (!(bmp = (BITMAPOBJ *)GDI_GetObjPtr( hbitmap, BITMAP_MAGIC )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment