Microsoft DirectX 9.0 SDK Update (October 2004) |
The GetLoopPoints method retrieves the start and end points of the part of the segment that repeats the number of times set by the IDirectMusicSegment8::SetRepeats method.
Syntax
HRESULT GetLoopPoints(
MUSIC_TIME* pmtStart,
MUSIC_TIME* pmtEnd
);
Parameters
pmtStart
Address of a variable that receives the start point of the loop.
pmtEnd
Address of a variable that receives the end point of the loop. A value of 0 indicates that the entire segment loops.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
Requirements
Header: Dmusici.h
Library: Dmime.dll, Dmimed.dll
See Also