共用方式為


IAMMediaTypeSample::SetMediaTime

 
Microsoft DirectShow 9.0

IAMMediaTypeSample::SetMediaTime

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

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