ICM_DRAW_SETTIME

See also ICM_DRAW_GETTIME, ICM_DRAW_START, ICM_DRAW_STOP


wParam = (DWORD) lpTime;
lParam = 0;

Provides synchronization information to a rendering driver that handles the timing of drawing frames. The synchronization information is the sample number of the frame to draw.

wParam

Sample number of the frame to render.

Typically, the driver compares the specified value with the frame number associated with the time of its internal clock, and attempts to synchronize the two if the difference is significant.

Use this message when the hardware performs its own asynchronous decompression, timing, and drawing, and the hardware relies on an external synchronization signal (the hardware is not being used as the synchronization master).