|
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
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|