CPosPassThru::GetMediaTime (Compact 2013)
3/26/2014
Retrieves the starting and ending media times.
Syntax
virtual HRESULT GetMediaTime(
LONGLONG* pStartTime,
LONGLONG* pEndTime
);
Parameters
- pStartTime
Returned starting media time.
- pEndTime
Returned ending media time.
Return Value
Returns an HRESULT value (E_FAIL by default).
Remarks
Override this virtual member function to return the current samples' media time. This represents the current position in terms of media time (for example, frame 20 of a total 130 frames).
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |