Microsoft DirectX 9.0 SDK Update (October 2004)

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: Dmusici.h
  Library: Dmime.dll, Dmimed.dll

See Also


© 2004 Microsoft Corporation. All rights reserved.