Microsoft DirectX 8.0 (C++) |
Makes a copy of a track.
HRESULT Clone( MUSIC_TIME mtStart, MUSIC_TIME mtEnd, IDirectMusicTrack** ppTrack );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_FAIL |
E_INVALIDARG |
E_OUTOFMEMORY |
E_POINTER |
It is the caller's responsibility to call Release when finished with the track.
Header: Declared in dmplugin.h.