|Microsoft DirectX 9.0|
The Clone method makes a copy of the track.
HRESULT Clone( MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack );
Start of the part to copy. It should be 0 or greater and less than the length of the track.
End of the part to copy. It should be greater than mtStart and less than the length of the track.
Address of a variable that receives a pointer to the created track, if successful.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
It is the caller's responsibility to call Release when finished with the track.
Header: Declared in dmplugin.h.