Index   Commented   Search   About

ICDRAW

The ICDRAW structure contains parameters for drawing video data to the screen. This structure is used with the ICM_DRAW message.

typedef struct {

DWORD dwFlags;

LPVOID lpFormat;

LPVOID lpData;

DWORD cbData;

LONG lTime;

} ICDRAW;

Members

dwFlags

Flags from the AVI file index. The following values are defined:

ICDRAW_HURRYUP

Data is buffered and not drawn to the screen. Use this flag for fastest decompression.

ICDRAW_NOTKEYFRAME

Current frame is not a key frame.

ICDRAW_NULLFRAME

Current frame does not contain any data, and the previous frame should be redrawn.

ICDRAW_PREROLL

Current frame of video occurs before playback should start. For example, if playback will begin on frame 10, and frame 0 is the nearest previous key frame, frames 0 through 9 are sent to the driver with this flag set. The driver needs this data to display frame 10 properly.

ICDRAW_UPDATE

Updates the screen based on data previously received. In this case, lpData should be ignored.

lpFormat

Address of a structure containing the data format. For video streams, this is a BITMAPINFOHEADER structure.

lpData

Address of the data to render.

cbData

Number of data bytes to render.

lTime

Time, in samples, when this data should be drawn. For video data this is normally a frame number.

See Also

BITMAPINFOHEADER
, ICM_DRAW

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun