windowscodecs/tests: Actually test the return of IWICBitmap_GetSize().

This commit is contained in:
Michael Stefaniuc 2015-03-30 10:13:23 +02:00 committed by Alexandre Julliard
parent 94967c28b9
commit a21f30c23e
1 changed files with 2 additions and 2 deletions

View File

@ -655,7 +655,7 @@ static void test_CreateBitmapFromHICON(void)
ok(IsEqualGUID(&format, &GUID_WICPixelFormat32bppBGRA),
"unexpected pixel format %s\n", wine_dbgstr_guid(&format));
IWICBitmap_GetSize(bitmap, &width, &height);
hr = IWICBitmap_GetSize(bitmap, &width, &height);
ok(hr == S_OK, "IWICBitmap_GetSize error %#x\n", hr);
ok(width == 16, "expected 16, got %u\n", width);
ok(height == 16, "expected 16, got %u\n", height);
@ -683,7 +683,7 @@ static void test_CreateBitmapFromHICON(void)
ok(IsEqualGUID(&format, &GUID_WICPixelFormat32bppBGRA),
"unexpected pixel format %s\n", wine_dbgstr_guid(&format));
IWICBitmap_GetSize(bitmap, &width, &height);
hr = IWICBitmap_GetSize(bitmap, &width, &height);
ok(hr == S_OK, "IWICBitmap_GetSize error %#x\n", hr);
ok(width == 16, "expected 16, got %u\n", width);
ok(height == 16, "expected 16, got %u\n", height);