Lines Matching refs:mhDIB
57 mhDIB ( 0 ), in Os2SalBitmap()
78 mhDIB = (HANDLE) ( bCopyHandle ? ImplCopyDIBOrDDB( hBitmap, TRUE ) : hBitmap ); in Create()
82 if( mhDIB ) in Create()
85 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) mhDIB; in Create()
130 mhDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create()
132 if( mhDIB ) in Create()
149 if ( rSalBitmap.mhDIB || rSalBitmap.mhDDB ) in Create()
151 HANDLE hNewHdl = ImplCopyDIBOrDDB( rSalBitmap.mhDIB ? rSalBitmap.mhDIB : rSalBitmap.mhDDB, in Create()
152 rSalBitmap.mhDIB != 0 ); in Create()
156 if( rSalBitmap.mhDIB ) in Create()
157 mhDIB = (HANDLE) hNewHdl; in Create()
178 if( rSalBmp.mhDIB ) in Create()
204 HANDLE hTmp = ImplCreateDIB4FromDIB1( rSalBmp.mhDIB ); in Create()
212 …PBYTE pBits = (PBYTE) rSalBmp.mhDIB + *(ULONG*) rSalBmp.mhDIB + ImplGetDIBColorCount( rSalBmp.mhDI… in Create()
213 … hNewDDB = GpiCreateBitmap( hPS, &aInfoHeader, CBM_INIT, pBits, (PBITMAPINFO2) rSalBmp.mhDIB ); in Create()
249 mhDIB = ImplCreateDIB( rSalBmp.maSize, nNewBitCount, BitmapPalette() ); in Create()
251 if( mhDIB ) in Create()
254 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in Create()
256 …PBYTE pBits = (PBYTE) pBI + *(ULONG*) pBI + ImplGetDIBColorCount( mhDIB ) * sizeof( RGB2… in Create()
272 rtl_freeMemory( (void*)mhDIB ); in Create()
273 mhDIB = 0; in Create()
289 if( mhDIB ) in Destroy()
290 rtl_freeMemory( (void*)mhDIB ); in Destroy()
522 if( mhDIB ) in AcquireBuffer()
525 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in AcquireBuffer()
547 rtl_freeMemory( (void*)mhDIB ); in AcquireBuffer()
549 mhDIB = hNewDIB; in AcquireBuffer()
576 const USHORT nPalCount = ImplGetDIBColorCount( mhDIB ); in AcquireBuffer()
611 if( mhDIB ) in ReleaseBuffer()
616 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in ReleaseBuffer()
726 if( mhDIB || mhDDB ) in GetSystemData()
729 rData.pDIB = (void*)mhDIB; in GetSystemData()