Microsoft DirectX 8.0 (C++) |
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 IDirectMusicPortDownload8::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.
Header: Declared in dmdls.h.