Microsoft DirectX 8.1 (C++)

IDirectMusicSong8::Download

Not implemented in DirectX 8.1.

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 instrument data.

Return Values

If the method succeeds, the return value is S_OK or DMUS_S_PARTIALDOWNLOAD. For more information, see the Remarks for IDirectMusicBand8::Download.

If it fails, the method can return one of the error values shown in the following table.

Return code
DMUS_E_NOT_INIT
E_NOINTERFACE
E_OUTOFMEMORY
E_POINTER

Remarks

All bands in all segments of the song are downloaded.

Requirements

  Header: Declared in dmusici.h.

See Also