* Reference To: GDI32.StretchDIBits, Ord:0000h | :XXXX (depends on your memory) :XXXX E871750400 Call 0045DD24 :XXXX 85C0 test eax, eax :XXXX 0F95C2 setne dlhere's the documentation of this function :
The StretchDIBits function copies the color data for a rectangle of pixels in a device-independent bitmap (DIB) to the specified destination rectangle. If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
int StretchDIBits(
HDC hdc, |
// handle of device context |
int XDest, |
// x-coordinate of upper-left corner of dest. rect. |
int YDest, |
// y-coordinate of upper-left corner of dest. rect. |
int nDestWidth, |
// width of destination rectangle |
int nDestHeight, |
// height of destination rectangle |
int XSrc, |
// x-coordinate of upper-left corner of source rect. |
int YSrc, |
// y-coordinate of upper-left corner of source rect. |
int nSrcWidth, |
// width of source rectangle |
int nSrcHeight, |
// height of source rectangle |
CONST VOID *lpBits, |
// address of bitmap bits |
CONST BITMAPINFO *lpBitsInfo, |
// address of bitmap data |
UINT iUsage, |
// usage |
DWORD dwRop |
// raster operation code |
); |