Grabber::getCurReferenceTime Method

Retrieves the current reference time.
Syntax:
bool getCurReferenceTime(REFERENCE_TIME& RTime) const;
Return value:

true on success, false otherwise.

Remarks:

The returned value in RTime specifies the time in 100 nanosecond (or 1/10000 millisecond) resolution. The resolution depends on the reference clock used internally by DirectShow (but it is mostly equivalent to QueryPerformanceCounter).

This method fails, if no reference clock is available.

See also: Grabber, Grabber::getGraphStartReferenceTime

<< Grabber