Microsoft DirectX 9.0

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 Values

Returns S_OK.

See Also