Microsoft DirectX 8.1 (C++)

IDirectMusicSegmentState8::GetStartPoint

The GetStartPoint method returns the offset into the segment at which play will begin or began.

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 the segment state initially played or will play.

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