Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 2.12 KB

icm-draw-settime.md

File metadata and controls

82 lines (47 loc) · 2.12 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
ICM_DRAW_SETTIME message (Vfw.h)
The ICM\_DRAW\_SETTIME provides synchronization information to a rendering driver that handles the timing of drawing frames.
211e8ecc-ef36-4598-aa1d-cb0a06e64f14
ICM_DRAW_SETTIME message Windows Multimedia
apiref
ICM_DRAW_SETTIME
Vfw.h
HeaderDef
reference
05/31/2018

ICM_DRAW_SETTIME message

The ICM_DRAW_SETTIME 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. You can send this message explicitly or by using the ICDrawSetTime macro.

ICM_DRAW_SETTIME 
wParam = (DWORD_PTR) lpTime; 
lParam = 0; 

Parameters

lpTime

Sample number of the frame to render.

Return Value

Returns ICERR_OK if successful or an error otherwise.

Remarks

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).

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Compression Manager

Video Compression Messages