Overview
Group
Quick Info

ICDRAWBEGIN

The ICDRAWBEGIN structure contains decompression parameters used with the ICM_DRAW_BEGIN message.

typedef struct {

DWORD dwFlags;

HPALETTE hpal;

HWND hwnd;

HDC hdc;

int xDst;

int yDst;

int dxDst;

int dyDst;

LPBITMAPINFOHEADER lpbi;

int xSrc;

int ySrc;

int dxSrc;

int dySrc;

DWORD dwRate;

DWORD dwScale;

} ICDRAWBEGIN;

Members

dwFlags

Applicable flags. The following values are defined:

ICDRAW_ANIMATE

Application can animate the palette.

ICDRAW_BUFFER

Buffers this data off-screen; it will need to be updated.

ICDRAW_CONTINUE

Drawing is a continuation of the previous frame.

ICDRAW_FULLSCREEN

Draws the decompressed data on the full screen.

ICDRAW_HDC

Draws the decompressed data to a window or a DC.

ICDRAW_MEMORYDC

DC is off-screen.

ICDRAW_QUERY

Determines if the decompressor can handle the decompression. The driver does not actually decompress the data.

ICDRAW_RENDER

Renders but does not draw the data.

ICDRAW_UPDATING

Current frame is being updated rather than played.

hpal

Handle of the palette used for drawing.

hwnd

Handle of the window used for drawing.

hdc

Handle of the DC used for drawing. Specify NULL to use a DC associated with the specified window.

xDst, yDst

The x- and y-coordinates of the destination rectangle.

dxDst, dyDst

Width and height of the destination rectangle.

lpbi

Address of a BITMAPINFOHEADER structure containing the input format.

xSrc, ySrc

The x- and y-coordinates of the source rectangle.

dxSrc, dySrc

Width and height of the source rectangle.

dwRate

Decompression rate in an integer format. To obtain the rate in frames per second, divide this value by the value in dwScale.

dwScale

Value used to scale dwRate to frames per second.

See Also

BITMAPINFOHEADER
, ICM_DRAW_BEGIN

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database