PAINTSTRUCT ps; HDC hdc; gdi_lock(); hdc = BeginPaint(MPanel.hwnd, &ps); BitBlt(hdc, MPanel.rcMe.left,MPanel.rcMe.top,MPanel.rcMe.right,MPanel.rcMe.bottom, MPanel.hmdc,0,0,SRCCOPY); EndPaint(MPanel.hwnd, &ps); gdi_unlock(); 
RECT rc; if ( GetUpdateRect(MPanel.hwnd, &rc, FALSE) ) { PAINTSTRUCT ps; HDC hdc; gdi_lock(); hdc = BeginPaint(MPanel.hwnd, &ps); BitBlt(hdc,rc.left,rc.top,rc.right,rc.bottom,MPanel.hmdc,rc.left,rc.top,SRCCOPY); EndPaint(MPanel.hwnd, &ps); gdi_unlock(); } 
static void MPanelPaintDo(void){	PAINTSTRUCT ps;	HDC hdc;	gdi_lock(); // gdi_lock	hdc = BeginPaint(MPanel.hwnd, &ps);	BitBlt(hdc,		MPanel.rcMe.left,MPanel.rcMe.top,MPanel.rcMe.right,MPanel.rcMe.bottom,  		MPanel.hmdc,0,0,SRCCOPY);	EndPaint(MPanel.hwnd, &ps);	gdi_unlock(); // gdi_lock}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b145888026ba74b152bd275692a491408aa2b59e/w32g_i.c/buggy/interface/w32g_i.c