ICM_DRAW_GETTIME

The ICM_DRAW_GETTIME message requests a rendering driver that controls the timing of drawing frames to return the current value of its internal clock. You can send this message explicitly or by using the ICDrawGetTime macro.

ICM_DRAW_GETTIME 
wParam = (DWORD) (LPVOID) lplTime; 
lParam = 0; 

Parameters

lplTime

Address to contain the current time. The return value should be specified in samples.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

This message is generally supported by hardware that performs its own asynchronous decompression, timing, and drawing. The message can also be sent if the hardware is being used as the synchronization master.

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 Messages, ICDrawGetTime