[WIN32KNT_APITEST] Check bit pattern of pvBits (#1315)
[reactos.git] / modules / rostests / apitests / win32nt / ntgdi / NtGdiSetBitmapBits.c
index 88b5720..21d1f1f 100644 (file)
@@ -294,6 +294,8 @@ START_TEST(NtGdiSetBitmapBits)
     ok_int(Bits[3], 0x33);
     ok_int(Bits[4], 0x55);
 
+    ok_long(*(LPDWORD)pvBits, 0);
+
     DeleteObject(hBitmap);
     DeleteDC(hDC);
 
@@ -393,6 +395,8 @@ START_TEST(NtGdiSetBitmapBits)
     ok_int(Bits[3], 0x33);
     ok_int(Bits[4], 0x55);
 
+    ok_long(*(LPDWORD)pvBits, 0x33AAAAAA);
+
     DeleteObject(hBitmap);
     DeleteDC(hDC);
 }