Commit 2720e815 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

windowscodecs/tests: Use the W version of GetObject().

parent d37c7eca
......@@ -152,7 +152,7 @@ static HBITMAP create_dib(int width, int height, int bpp, LOGPALETTE *pal, const
hdib = CreateDIBSection(0, bmi, DIB_RGB_COLORS, &bits, NULL, 0);
ok(hdib != 0, "CreateDIBSection(%dx%d,%d bpp) failed\n", width, height, bpp);
GetObject(hdib, sizeof(bm), &bm);
GetObjectW(hdib, sizeof(bm), &bm);
ok(bm.bmWidth == width, "expected %d, got %d\n", width, bm.bmWidth);
ok(bm.bmHeight == height, "expected %d, got %d\n", height, bm.bmHeight);
ok(bm.bmPlanes == 1, "expected 1, got %d\n", bm.bmPlanes);
......
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