This section contains reference information for the following run-time structures used in DirectMusic:
Special categories of structures are contained in the following sections:
Note The memory for all DirectX structures must be initialized to zero before use. In addition, all structures that contain a dwSize member must set the member to the size of the structure, in bytes, before use. The following DirectDraw example performs these tasks on a common structure, DDCAPS:
DDCAPS ddcaps; // Can't use this yet.
ZeroMemory(&ddcaps, sizeof(ddcaps));
ddcaps.dwSize = sizeof(ddcaps);
// Now the structure can be used.
.
.