共用方式為


IAMMediaTypeSample::SetTime

 
Microsoft DirectShow 9.0

IAMMediaTypeSample::SetTime

  • Note   This interface is deprecated. New applications should not use it.

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