int gdi_BitBlt(HGDI_DC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HGDI_DC hdcSrc, int nXSrc, int nYSrc, int rop) { p_BitBlt _BitBlt = BitBlt_[IBPP(hdcDest->bitsPerPixel)]; if (_BitBlt != NULL) return _BitBlt(hdcDest, nXDest, nYDest, nWidth, nHeight, hdcSrc, nXSrc, nYSrc, rop); else return 0; }
/*----------------------------------------------------------------------------- -----------------------------------------------------------------------------*/ BOOL CGDIHook::BitBlt( HDC hdc, int x, int y, int cx, int cy, HDC hdcSrc, int x1, int y1, DWORD rop) { BOOL ret = FALSE; if( _BitBlt ) ret = _BitBlt( hdc, x, y, cx, cy, hdcSrc, x1, y1, rop); if( dlg && (dlg->active || dlg->capturingAFT) ) { HWND hWnd = WindowFromDC(hdc); if( hWnd == dlg->hBrowserWnd ) dlg->windowUpdated = true; } return ret; }