Microsoft DirectX 9.0 SDK Update (October 2004) |
The DMUS_DOWNLOADINFO structure is used as a header for
Syntax
typedef struct _DMUS_DOWNLOADINFO {
DWORD dwDLType;
DWORD dwDLId;
DWORD dwNumOffsetTableEntries;
DWORD cbSize;
} DMUS_DOWNLOADINFO;
Members
dwDLType
Type of data being downloaded. The following types are defined:
Value | Description |
DMUS_DOWNLOADINFO_INSTRUMENT | Instrument definition, starting with the DMUS_INSTRUMENT structure. |
DMUS_DOWNLOADINFO_INSTRUMENT2 | Instrument definition supporting DLS level 2 |
DMUS_DOWNLOADINFO_WAVE | PCM waveform data, starting with the DMUS_WAVE structure. |
dwDLId
Unique 32-bit identifier for the object. See Remarks.
dwNumOffsetTableEntries
Number of entries in the DMUS_OFFSETTABLE structure that follows.
cbSize
Total size of DMUS_DOWNLOADINFO, DMUS_OFFSETTABLE, and the actual data chunk.
Remarks
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 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.
Requirements
Header: Dmdls.h
See Also