Mike McCormack mike@codeweavers.com writes:
@@ -84,9 +84,14 @@ static BOOL EMFDRV_BitBlockTransfer( BITMAP BM; WORD nBPP; LPBITMAPINFOHEADER lpBmiH;
- EMFDRV_PDEVICE* physDevSrc = (EMFDRV_PDEVICE*)devSrc;
- HBITMAP hBitmap = GetCurrentObject(physDevSrc->hdc, OBJ_BITMAP);
EMFDRV_PDEVICE* physDevSrc;
HBITMAP hBitmap;
physDevSrc = (EMFDRV_PDEVICE*)devSrc;
if (!devSrc)
return TRUE;
You still need to generate the EMF record, you can't just ignore it and return TRUE.