Microsoft DirectX 9.0

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 Values

Returns S_OK.

See Also