The IDirectMusicPortDownload interface allows an application to talk directly to a port that supports DLS downloading, and to download memory chunks directly to the port. The interface is used primarily by authoring applications that directly edit DLS instruments. 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 |
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.