Platform SDK: DirectX

IDirectMusicBuffer::SetStartTime

The IDirectMusicBuffer::SetStartTime method sets the start time of the data in the buffer, relative to the master clock.

HRESULT SetStartTime(
  REFERENCE_TIME rt
);

Parameters

rt
New start time for the buffer.

Return Values

The method always returns S_OK.

Remarks

Events already in the buffer are time stamped relative to the start time and play at the same offset from the new start time.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicc.h.

See Also

IDirectMusicBuffer::GetStartTime