The IDirectMusicSegment::SetRepeats method sets the number of times the segment is to repeat.
HRESULT SetRepeats(
DWORD dwRepeats
);
The method returns S_OK.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.