When you use
SrcX + Width
bounds of the source image. Otherwise, you risk a system
memory access error.
Return value
DWORD –
otherwise, operating system error code.
Example This example transfers image data from the host to
the screen.
#include <mdpcint.h>
{
HDC
int
void
DWORD
dwRetCode = DDirectBlt (hdc, DestX, DestY, SrcX,
return dwRetCode;
}
DDirectBlt
and
SrcY + Height
zero (0) if function completed successfully;
hdc;
DestX, DestY, SrcX, SrcY, Width, Height,
SrcStride;
*lpSrc
dwRetCode;
.
.
.
SrcY, Width, Height, SrcStride, lpSrc);
, make sure that the values of
do not exceed the
DDirectBlt | 45