Microsoft Windows CE 3.0  

CRendererPosPassThru::GetMediaTime

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves the current media start and end times registered in the object.

HRESULT GetMediaTime(
LONGLONG *
pStartTime, 
LONGLONG *
pEndTime
);

Parameters

pStartTime
Returned starting media time.
pEndTime
Returned ending media time.

Return Values

Returns an HRESULTvalue from the call to CPosPassThru::ConvertTimeFormatfor the start and end times.

Remarks

This member function returns the media times set by the CRendererPosPassThru::RegisterMediaTimemember function. The starting media time is always returned. Set pEndTimeto a nonzero value to retrieve the ending media time.