Lines Matching defs:pbmih
19 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)result.GetBuffer(len);
20 FXSYS_memset32(pbmih, 0, sizeof (BITMAPINFOHEADER));
21 pbmih->biSize = sizeof(BITMAPINFOHEADER);
22 pbmih->biBitCount = pBitmap->GetBPP();
23 pbmih->biCompression = BI_RGB;
24 pbmih->biHeight = -(int)pBitmap->GetHeight();
25 pbmih->biPlanes = 1;
26 pbmih->biWidth = pBitmap->GetWidth();
28 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1);
40 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1);
219 BITMAPINFO* pbmih = (BITMAPINFO*)FX_Alloc(FX_BYTE, size);
220 if (!pbmih) {
227 FXSYS_memset32(pbmih, 0, sizeof (BITMAPINFOHEADER));
228 pbmih->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
229 pbmih->bmiHeader.biBitCount = bmih.biBitCount;
230 pbmih->bmiHeader.biCompression = BI_RGB;
231 pbmih->bmiHeader.biHeight = -height;
232 pbmih->bmiHeader.biPlanes = 1;
233 pbmih->bmiHeader.biWidth = bmih.biWidth;
236 FX_Free(pbmih);
242 ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), (BITMAPINFO*)pbmih, DIB_RGB_COLORS);
243 FX_Free(pbmih);
244 pbmih = NULL;