IAMMediaTypeSample::GetMediaTime
Microsoft DirectShow 9.0 |
IAMMediaTypeSample::GetMediaTime
- Note This interface is deprecated. New applications should not use it.
The GetMediaTime method retrieves the media time stamps for the sample.
Syntax
HRESULT GetMediaTime( LONGLONG *pTimeStart, LONGLONG *pTimeEnd );
Parameters
pTimeStart
[out] Pointer to a variable that receives the media start time.
pTimeEnd
[out] Pointer to a variable that receives the media stop time.
Return Values
Returns one of the following values.
Return code | Description |
S_OK | Success. |
VFW_E_MEDIA_TIME_NOT_SET | No media time stamp was set for this sample. |
See Also