Microsoft DirectX 9.0

IDirectMusicSegment8::RemoveTrack

The RemoveTrack method removes a track from the segment's track list.

Syntax

HRESULT RemoveTrack(
  IDirectMusicTrack* pTrack
);

Parameters

pTrack

Track to remove from the segment's track list.

Return Values

If the method succeeds, the return value is S_OK, or S_FALSE if the specified track is not in the track list.

If the method fails, the return value can be E_POINTER.

Remarks

The track is released when removed.

Requirements

  Header: Declared in dmusici.h.

See Also