Microsoft DirectX 8.0 (C++)

IDirectMusicPortDownload8

The IDirectMusicPortDownload8 interface allows an application to communicate directly with a port that supports DLS downloading and to download memory chunks directly to the port. The interface is used primarily by authoring applications that edit DLS instruments directly. For an overview, see Low-Level DLS.

To obtain the IDirectMusicPortDownload8 interface, call the IDirectMusicPort8::QueryInterface method, passing in IID_IDirectMusicPortDownload8 as the interface GUID. If the port does not support DLS downloading, this call might fail.

The methods of the IDirectMusicPortDownload8 interface can be grouped as follows:

Buffer management AllocateBuffer
  GetAppend
  GetBuffer
  GetDLId
Loading Download
  Unload

All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

The LPDIRECTMUSICPORTDOWNLOAD8 type is defined as a pointer to this interface.

typedef IDirectMusicPortDownload8 *LPDIRECTMUSICPORTDOWNLOAD8;

Requirements

  Header: Declared in dmusicc.h.