Microsoft DirectX 9.0

IDirectMusicSegment8::Download

The Download method downloads band data to a performance or audiopath.

Syntax

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 error values shown in the following table.

Return code
DMUS_E_NOT_FOUND
DMUS_E_TRACK_NOT_FOUND
E_POINTER

Remarks

All bands and waveform data in the segment are downloaded.

Always call IDirectMusicSegment8::Unload before releasing the segment.

Requirements

  Header: Declared in dmusici.h.

See Also