https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cc7501638917e84ed7c0263406ed4539e9553fe9
commit cc7501638917e84ed7c0263406ed4539e9553fe9 Author: Katayama Hirofumi MZ <[email protected]> AuthorDate: Sun Jan 27 20:25:15 2019 +0900 Commit: GitHub <[email protected]> CommitDate: Sun Jan 27 20:25:15 2019 +0900 [WIN32KNT_APITEST] Check bit pattern of pvBits (#1315) CORE-15657 --- modules/rostests/apitests/win32nt/ntgdi/NtGdiSetBitmapBits.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/rostests/apitests/win32nt/ntgdi/NtGdiSetBitmapBits.c b/modules/rostests/apitests/win32nt/ntgdi/NtGdiSetBitmapBits.c index 88b572041d..21d1f1f01f 100644 --- a/modules/rostests/apitests/win32nt/ntgdi/NtGdiSetBitmapBits.c +++ b/modules/rostests/apitests/win32nt/ntgdi/NtGdiSetBitmapBits.c @@ -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); }
