Microsoft DirectX 8.0 (C++)

IDirectMusicSegment8::Download

Downloads band data to a performance or audiopath.

HRESULT Download(
  IUnknown *pAudioPath
);

Parameters

pAudioPath
Pointer to the IUnknown interface of the performance or audiopath that receives the data.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method may return one of the following error values.

DMUS_E_NOT_FOUND
DMUS_E_TRACK_NOT_FOUND
E_POINTER

Remarks

All bands and wave data in the segment are downloaded.

Always call IDirectMusicSegment8::Unload before releasing the segment.

Requirements

  Header: Declared in dmusici.h.

See Also

Using Bands