|Microsoft DirectX 9.0|
The SetTime method sets the stream times when this sample should begin and finish. This method implements the IMediaSample::SetTime method.
HRESULT SetTime( REFERENCE_TIME *pTimeStart, REFERENCE_TIME *pTimeEnd );
Pointer to the stream time at which the sample begins, in 100-nanosecond units, or NULL.
Pointer to the stream time at which the sample ends, in 100-nanosecond units, or NULL.
This method sets the CMediaSample::m_Start and CMediaSample::m_End member variables, which specify the time stamps. It also updates the CMediaSample::m_dwFlags member variable, which specifies whether the time stamps are valid.
For information about time stamps, see Time and Clocks in DirectShow.