Microsoft DirectX 8.1 (C++)

IAMMediaTypeSample::SetTime

The SetTime method sets the stream times at which the sample should start and stop.

Syntax

HRESULT SetTime(
    REFERENCE_TIME *pTimeStart,
    REFERENCE_TIME *pTimeEnd
);

Parameters

pTimeStart

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

pTimeEnd

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

Return Value

Returns S_OK.

See Also