ICM_DRAW_START_PLAY

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

ICM_DRAW_START_PLAY 
wParam = (DWORD) lFrom; 
lParam = (DWORD) lTo; 
 

Parameters

lFrom
Start time.
lTo
End time.

Return Values

This message 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Compression Manager Overview, Video Compression Messages, ICDRAWBEGIN, ICDrawStartPlay, ICM_DRAW_BEGIN