DirectX SDK |
The DMUS_DOWNLOADINFO structure is used as a header for DLS data to be downloaded to a port. It defines the size and functionality of the download and is always followed by a DMUS_OFFSETTABLE chunk.
typedef struct _DMUS_DOWNLOADINFO { DWORD dwDLType; DWORD dwDLId; DWORD dwNumOffsetTableEntries; DWORD cbSize; } DMUS_DOWNLOADINFO;
The identifier in dwDLId is used to connect objects and is obtained by using the IDirectMusicPortDownload::GetDLId method. Primarily it connects the regions in an instrument to wave chunks. For example, if a wave download is given a dwDLId of 3, an instrument chunk downloads with the value 3 placed in the WaveLink.ulTableIndex member of one of its DMUS_REGION structures. This indicates that the region is connected to the wave chunk.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmdls.h.