Platform SDK: DirectX

IDirectMusicPortDownload

The IDirectMusicPortDownload 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 IDirectMusicPortDownload interface, call the IDirectMusicPort::QueryInterface method, passing in IID_IDirectMusicPortDownload as the interface GUID. If the port does not support DLS downloading, this call might fail.

The methods of the IDirectMusicPortDownload 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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicc.h.