IDirectMusicSegmentState8::GetStartPoint

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicSegmentState8::GetStartPoint

The GetStartPoint method retrieves the time within the segment at which it started playing.

Syntax

HRESULT GetStartPoint(
  MUSIC_TIME * pmtStart
);

Parameters

pmtStart

Address of a variable that receives the music-time offset from the start of the segment at which play will begin or began.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Remarks

The start point is the first point in the segment that can possibly be heard. However, the actual first point heard may be later, if the start point of the segment is aligned to a past time. For more information, see Segment Timing.

Requirements

  Header: Declared in dmusici.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.