Share via


ICDrawStartPlay

The ICDrawStartPlay macro provides the start and end times of a play operation to a rendering driver. You can use this macro or explicitly call the ICM_DRAW_START_PLAY message.

void ICDrawStartPlay(
 hic,     lFrom,   lTo     );

Parameters

hic

Handle to a driver.

lFrom

Start time.

lTo

End time.

Return Values

This macro does not return a value.

Remarks

This message precedes any frame data sent to the rendering driver.

Units for lFrom and lTo are specified with the ICM_DRAW_BEGIN message. For video data this is normally a frame number. For more information about the playback rate, see the dwRate and dwScale members of the ICDRAWBEGIN structure.

If the end time is less than the start time, the playback direction is reversed.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

Video Compression Manager, Video Compression Macros, ICDRAWBEGIN, ICM_DRAW_START_PLAY