Platform SDK: DirectX

DMUS_IO_SEGMENT_HEADER

The DMUS_IO_SEGMENT_HEADER structure contains information about a segment. It is used in the Segment Form.

typedef struct _DMUS_IO_SEGMENT_HEADER {
    DWORD       dwRepeats;
    MUSIC_TIME  mtLength;
    MUSIC_TIME  mtPlayStart;
    MUSIC_TIME  mtLoopStart;
    MUSIC_TIME  mtLoopEnd;
    DWORD       dwResolution;
} DMUS_IO_SEGMENT_HEADER;
dwRepeats
Number of repetitions.
mtLength
Length of the segment.
mtPlayStart
Start of playback, normally 0.
mtLoopStart
Start of the looping portion, normally 0.
mtLoopEnd
End of the looping portion.
dwResolution
Default resolution. See DMUS_TIME_RESOLVE_FLAGS.

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 dmusicf.h.

See Also

DMUS_IO_MOTIFSETTINGS, IDirectMusicSegment::SetLoopPoints.