Lines Matching refs:mhDIB
187 mhDIB(0), in WinSalBitmap()
211 if( mhDIB ) in Destroy()
212 GlobalFree( mhDIB ); in Destroy()
535 mhDIB = (HGLOBAL) ( bCopyHandle ? ImplCopyDIBOrDDB( hBitmap, TRUE ) : hBitmap ); in Create()
539 if( mhDIB ) in Create()
541 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) GlobalLock( mhDIB ); in Create()
549 GlobalUnlock( mhDIB ); in Create()
585 mhDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create()
587 if( mhDIB ) in Create()
604 if ( rSalBitmap.mhDIB || rSalBitmap.mhDDB ) in Create()
606 HANDLE hNewHdl = ImplCopyDIBOrDDB( rSalBitmap.mhDIB ? rSalBitmap.mhDIB : rSalBitmap.mhDDB, in Create()
607 rSalBitmap.mhDIB != 0 ); in Create()
611 if( rSalBitmap.mhDIB ) in Create()
612 mhDIB = (HGLOBAL) hNewHdl; in Create()
635 if( rSalBmp.mhDIB ) in Create()
637 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( rSalBmp.mhDIB ); in Create()
643 ImplGetDIBColorCount( rSalBmp.mhDIB ) * sizeof( RGBQUAD ); in Create()
655 GlobalUnlock( rSalBmp.mhDIB ); in Create()
682 mhDIB = ImplCreateDIB( rSalBmp.maSize, nNewBitCount, BitmapPalette() ); in Create()
684 if( mhDIB ) in Create()
686 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in Create()
690 ImplGetDIBColorCount( mhDIB ) * sizeof( RGBQUAD ); in Create()
702 GlobalUnlock( mhDIB ); in Create()
709 GlobalUnlock( mhDIB ); in Create()
710 GlobalFree( mhDIB ); in Create()
711 mhDIB = 0; in Create()
863 if( mhDIB ) in AcquireBuffer()
865 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in AcquireBuffer()
886 GlobalUnlock( mhDIB ); in AcquireBuffer()
887 GlobalFree( mhDIB ); in AcquireBuffer()
888 mhDIB = hNewDIB; in AcquireBuffer()
915 const sal_uInt16 nPalCount = ImplGetDIBColorCount( mhDIB ); in AcquireBuffer()
944 GlobalUnlock( mhDIB ); in AcquireBuffer()
950 GlobalUnlock( mhDIB ); in AcquireBuffer()
962 if( mhDIB ) in ReleaseBuffer()
966 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in ReleaseBuffer()
968 const sal_uInt16 nDIBColorCount = ImplGetDIBColorCount( mhDIB ); in ReleaseBuffer()
970 GlobalUnlock( mhDIB ); in ReleaseBuffer()
973 GlobalUnlock( mhDIB ); in ReleaseBuffer()
1078 if( mhDIB || mhDDB ) in GetSystemData()
1081 rData.pDIB = mhDIB; in GetSystemData()