Microsoft DirectX 8.1 (C++)

IAMMediaTypeSample::SetMediaTime

The SetMediaTime method sets the media time stamps for this sample.

Syntax

HRESULT SetMediaTime(
    LONGLONG *pTimeStart,
    LONGLONG *pTimeEnd
);

Parameters

pTimeStart

[in] Pointer to a variable that contains the media start time.

pTimeEnd

[in] Pointer to a variable that contains the media stop time.

Return Value

Returns S_OK.

See Also