IDirectMusicBuffer8::SetStartTime

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicBuffer8::SetStartTime

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

Syntax

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

  Header: Declared in dmusicc.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.