ICDrawGetTime  1LHSVI3 

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

DWORD ICDrawGetTime(

    hic,

 

    lplTime

 

   );

 

 

Parameters

hic

Handle of a driver.

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.

See Also

ICM_DRAW_GETTIME