ICM_DRAW_GETTIME

The ICM_DRAW_GETTIME message is sent to a rendering driver to obtain the current value of its internal clock if it is handling the timing of drawing frames.

Parameters

dwParam1

Specifies a pointer to a LONG data type used to return the current time. The return value should 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 also be sent only if the hardware is being used as the synchronization master.