DestRect.right = XDest+Width;
DestRect.bottom = YDest+Height;
+ IntLPtoDP(DCDest, (LPPOINT)&DestRect, 2);
+
SourcePoint.x = XSrc;
SourcePoint.y = YSrc;
res = IntCreateBitmapIndirect(&bm);
if(res)
{
- char *buf;
+ PBYTE buf;
buf = ExAllocatePoolWithTag (PagedPool, bm.bmWidthBytes * abs(bm.bmHeight), TAG_BITMAP);
NtGdiGetBitmapBits (hBitmap, bm.bmWidthBytes * abs(bm.bmHeight), buf);