/reactos/modules/rostests/apitests/gdi32/ |
H A D | CreateBitmapIndirect.c | 21 win_bitmap.bmWidthBytes = 2; in Test_CreateBitmapIndirect() 34 win_bitmap.bmWidthBytes = 1; in Test_CreateBitmapIndirect() 45 win_bitmap.bmWidthBytes = 3; in Test_CreateBitmapIndirect() 56 win_bitmap.bmWidthBytes = 4; in Test_CreateBitmapIndirect() 67 win_bitmap.bmWidthBytes = win_bitmap.bmWidth; in Test_CreateBitmapIndirect()
|
H A D | CreateIconIndirect.c | 83 ok_int(bitmap.bmWidthBytes, 2); in Test_GetIconInfo() 92 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_GetIconInfo() 119 ok_int(bitmap.bmWidthBytes, 2); in Test_GetIconInfo() 128 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_GetIconInfo() 158 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in START_TEST() 179 ok_int(bitmap.bmWidthBytes, 2); in START_TEST()
|
H A D | CreateBitmap.c | 132 ok_int(bitmap.bmWidthBytes, 2); in Test_CreateBitmap() 148 ok_int(bitmap.bmWidthBytes, 2); in Test_CreateBitmap() 177 ok_int(bitmap.bmWidthBytes, cjWidthBytes); in Test_CreateBitmap()
|
H A D | CreateDIBitmap.c | 339 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_CreateDIBitmap1() 358 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_CreateDIBitmap1() 457 ok_int(bitmap.bmWidthBytes, 4); in Test_CreateDIBitmap_CBM_CREATDIB() 483 ok_int(bitmap.bmWidthBytes, 4); in Test_CreateDIBitmap_CBM_CREATDIB() 496 ok_int(bitmap.bmWidthBytes, 4); in Test_CreateDIBitmap_CBM_CREATDIB()
|
/reactos/modules/rostests/apitests/user32/ |
H A D | GetIconInfo.c | 86 ok(bitmap.bmWidthBytes == 2, "\n"); in Test_GetIconInfo() 95 ok(bitmap.bmWidthBytes == 8 * bitmap.bmBitsPixel / 8, "\n"); in Test_GetIconInfo() 123 ok(bitmap.bmWidthBytes == 2, "%ld\n", bitmap.bmWidthBytes); in Test_GetIconInfo() 132 ok(bitmap.bmWidthBytes == screen_bpp, "%ld\n", bitmap.bmWidthBytes); in Test_GetIconInfo() 227 ok(bitmap.bmWidthBytes == 6, "\n"); in START_TEST() 236 ok(bitmap.bmWidthBytes == 48 * bitmap.bmBitsPixel / 8, "\n"); in START_TEST() 265 ok(bitmap.bmWidthBytes == 2, "%ld\n", bitmap.bmWidthBytes); in START_TEST()
|
/reactos/modules/rostests/apitests/win32nt/ntgdi/ |
H A D | NtGdiCreateBitmap.c | 87 ok_int(bitmap.bmWidthBytes, 2); in Test_NtGdiCreateBitmap_Params() 109 ok_int(bitmap.bmWidthBytes, 2); in Test_NtGdiCreateBitmap_Params() 175 ok_int(bitmap.bmWidthBytes, 6); in Test_NtGdiCreateBitmap_Params()
|
H A D | NtGdiGetStockObject.c | 135 RTEST(bitmap.bmWidthBytes == 2); in START_TEST()
|
H A D | NtGdiCreateDIBSection.c | 218 TEST(dibsection.dsBm.bmWidthBytes == 4); in START_TEST()
|
/reactos/win32ss/gdi/gdi32/wine/mfdrv/ |
H A D | bitblt.c | 96 len = sizeof(METARECORD) + 15 * sizeof(INT16) + BM.bmWidthBytes * BM.bmHeight; in MFDRV_StretchBlt() 102 *(mr->rdParm +12) = BM.bmWidthBytes; in MFDRV_StretchBlt() 106 if (GetBitmapBits( hBitmap, BM.bmWidthBytes * BM.bmHeight, mr->rdParm + 15)) in MFDRV_StretchBlt()
|
/reactos/modules/rostests/apitests/atl/ |
H A D | CImage.cpp | 29 pb += bm.bmWidthBytes * y; in Test_PixelAddress() 31 pb += bm.bmWidthBytes * (bm.bmHeight - y - 1); in Test_PixelAddress() 151 INT pitch = (bTopDown ? bm.bmWidthBytes : -bm.bmWidthBytes); in Test_DIBSectionEntry() 195 pbBits += bm.bmWidthBytes * (height - 1); in Test_DIBSectionEntry()
|
/reactos/dll/directx/ddraw/Surface/ |
H A D | callbacks_surf_hel.c | 124 cbBuffer = bm.bmWidthBytes * bm.bmHeight ; in HelDdSurfLock() 222 …SetBitmapBits(hImage,bm.bmWidthBytes * bm.bmHeight, lpUnLockData->lpDDSurface->lpSurfMore->lpDDRAW… in HelDdSurfUnlock()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | bitmap.c | 79 …ok(bm.bmWidthBytes == width_bytes, "wrong bm.bmWidthBytes %d != %d\n", bm.bmWidthBytes, width_byte… in test_bitmap_info() 93 ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight); in test_bitmap_info() 1545 ok(bm.bmWidthBytes == 2, "wrong bm.bmWidthBytes %d\n", bm.bmWidthBytes); in test_bitmap() 1554 ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight); in test_bitmap() 1561 ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight); in test_bitmap() 1572 ok(bm.bmWidthBytes == 2, "wrong bm.bmWidthBytes %d\n", bm.bmWidthBytes); in test_bitmap() 1579 ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight); in test_bitmap() 2137 ok(bm.bmWidthBytes == 2, "wrong bmWidthBytes %d\n", bm.bmWidthBytes); in test_GetDIBits() 2763 …ok_(__FILE__, line)(bm.bmWidthBytes == 2, "wrong bmWidthBytes, expected 2 got %d\n", bm.bmWidthByt… in test_mono_1x1_bmp_dbg() 2826 bmp.bmWidthBytes = 28; in test_CreateBitmap() [all …]
|
/reactos/modules/rostests/dibtests/stretchblt/ |
H A D | stretchblt.cpp | 199 bbits = new char[bmp.bmHeight*bmp.bmWidthBytes*(bmp.bmBitsPixel / 8)]; in MainWndProc() 209 fread(bbits, bmp.bmHeight*bmp.bmWidthBytes*(bmp.bmBitsPixel / 8), 1, f); in MainWndProc()
|
/reactos/dll/win32/imm32/ |
H A D | utils.c | 131 ib += bm.bmWidthBytes * bm.bmHeight; in Imm32LoadBitmapFromBytes() 138 RtlCopyMemory(pvBits, pb, bm.bmWidthBytes * bm.bmHeight); in Imm32LoadBitmapFromBytes() 183 cbBytes += bm.bmWidthBytes * bm.bmHeight; in Imm32StoreBitmapToBytes()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | bitmaps.c | 785 pBitmap->bmWidthBytes = WIDTH_BYTES_ALIGN16(pBitmap->bmWidth, pBitmap->bmBitsPixel); in BITMAP_GetObject() 793 pBitmap->bmWidthBytes = WIDTH_BYTES_ALIGN32(pBitmap->bmWidth, pBitmap->bmBitsPixel); in BITMAP_GetObject()
|
H A D | dibobj.c | 1949 bm.bmWidthBytes = ovr_pitch ? ovr_pitch : WIDTH_BYTES_ALIGN32(bm.bmWidth, bi->biBitCount); in DIB_CreateDIBSection() 1958 ? bi->biSizeImage : (ULONG)(bm.bmWidthBytes * effHeight); in DIB_CreateDIBSection() 2024 bm.bmWidthBytes, in DIB_CreateDIBSection()
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | bitmap.c | 331 if ((pbm->bmWidthBytes != 0) && (!(pbm->bmWidthBytes & 1))) in CreateBitmapIndirect()
|
/reactos/sdk/lib/atl/ |
H A D | atlimage.h | 1153 m_nPitch = -bm.bmWidthBytes; in AttachInternal() 1154 m_pBits = pb + bm.bmWidthBytes * (m_nHeight - 1); in AttachInternal() 1158 m_nPitch = bm.bmWidthBytes; in AttachInternal()
|
/reactos/dll/win32/shell32/ |
H A D | iconcache.cpp | 203 … bits = HeapAlloc(GetProcessHeap(), 0, TargetBitmapInfo.bmHeight * TargetBitmapInfo.bmWidthBytes); in SIC_OverlayShortcutImage() 230 …bits = HeapAlloc(GetProcessHeap(), 0, ShortcutBitmapInfo.bmHeight*ShortcutBitmapInfo.bmWidthBytes); in SIC_OverlayShortcutImage()
|
/reactos/modules/rostests/winetests/shell32/ |
H A D | generated.c | 545 TEST_FIELD_SIZE (userBITMAP, bmWidthBytes, 4) in test_pack_userBITMAP() 546 TEST_FIELD_ALIGN (userBITMAP, bmWidthBytes, 4) in test_pack_userBITMAP() 547 TEST_FIELD_OFFSET(userBITMAP, bmWidthBytes, 12) in test_pack_userBITMAP() 2363 TEST_FIELD_SIZE (userBITMAP, bmWidthBytes, 4) in test_pack_userBITMAP() 2364 TEST_FIELD_ALIGN (userBITMAP, bmWidthBytes, 4) in test_pack_userBITMAP() 2365 TEST_FIELD_OFFSET(userBITMAP, bmWidthBytes, 12) in test_pack_userBITMAP()
|
/reactos/base/shell/progman/ |
H A D | grpfile.c | 441 *sizeXor = bmp.bmHeight * bmp.bmWidthBytes;
|
/reactos/base/applications/mspaint/ |
H A D | dib.cpp | 463 bmi.bmiHeader.biSizeImage = bm.bmWidthBytes * bm.bmHeight; in BitmapToClipboardDIB()
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | image.c | 1716 expect(40, bm.bmWidthBytes); in test_createhbitmap() 1763 expect(32, bm.bmWidthBytes); in test_createhbitmap() 1772 val = *((DWORD*)bm.bmBits + (bm.bmHeight-1) * bm.bmWidthBytes/4 + 1); in test_createhbitmap() 1805 expect(32, bm.bmWidthBytes); in test_createhbitmap() 1814 val = *((DWORD*)bm.bmBits + (bm.bmHeight-1) * bm.bmWidthBytes/4 + 1); in test_createhbitmap() 1845 expect(32, bm.bmWidthBytes); in test_createhbitmap() 1854 val = *((DWORD*)bm.bmBits + (bm.bmHeight-1) * bm.bmWidthBytes/4 + 1); in test_createhbitmap() 4331 expect(4, bm.bmWidthBytes); in test_image_format()
|
/reactos/win32ss/user/user32/misc/ |
H A D | ddemisc.c | 1531 int count = bmp->bmWidthBytes * bmp->bmHeight * bmp->bmPlanes; in WDML_Global2DataHandle() 1599 count = bmp.bmWidthBytes * bmp.bmHeight; in WDML_DataHandle2Global()
|
/reactos/sdk/include/psdk/ |
H A D | wtypes.idl | 506 LONG bmWidthBytes;
|