ICM_DRAW_SETTIME

The ICM_DRAW_SETTIME message is sent to a rendering driver to inform it of what frame it should be drawing if it is handling the timing of drawing frames.

Parameters

dwParam1

Specifies a LONG data type containing the sample number corresponding to the frame the driver should be rendering. The value will be specified in samples. This corresponds to frames for video.

dwParam2

Not used.

Return Value

Returns ICERR_OK if successful.

Comments

This message is generally only supported by hardware that does its own asynchronous decompression, timing, and drawing. The message will only be sent if the hardware is not being used as the synchronization master.

Typically, the driver will compare the specified "correct" value with its internal clock, and take actions to synchronize the two if the difference is significant.