Microsoft DirectX 8.1 (C++) |
The GetLoopPoints method retrieves the start and end loop points inside the segment that repeat 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: Declared in dmusici.h.
See Also