Lines Matching refs:mhDC
559 if( !pC->mhDC ) in ImplGetCachedDC()
564 pC->mhDC = CreateCompatibleDC( hDC ); in ImplGetCachedDC()
568 pC->mhDefPal = SelectPalette( pC->mhDC, pSalData->mhDitherPal, TRUE ); in ImplGetCachedDC()
569 RealizePalette( pC->mhDC ); in ImplGetCachedDC()
573 pC->mhDefBmp = (HBITMAP) SelectObject( pC->mhDC, pC->mhSelBmp ); in ImplGetCachedDC()
579 SelectObject( pC->mhDC, pC->mhActBmp = hBmp ); in ImplGetCachedDC()
583 return pC->mhDC; in ImplGetCachedDC()
594 SelectObject( pC->mhDC, pC->mhSelBmp ); in ImplReleaseCachedDC()
605 if( pC->mhDC ) in ImplClearHDCCache()
607 SelectObject( pC->mhDC, pC->mhDefBmp ); in ImplClearHDCCache()
610 SelectPalette( pC->mhDC, pC->mhDefPal, TRUE ); in ImplClearHDCCache()
612 DeleteDC( pC->mhDC ); in ImplClearHDCCache()