typedef struct {
DWORD dwCallback;
UINT wDeviceID;
UINT wReserved0;
LPCSTR lpstrDeviceType;
LPCSTR lpstrElementName;
LPCSTR lpstrAlias;
DWORD dwBufferSeconds;
} MCI_WAVE_OPEN_PARMS;
The MCI_WAVE_OPEN_PARMS structure contains information for MCI_OPEN message for waveform audio devices. When assigning data to the members in this structure, set the corresponding MCI flags in the lParam1 parameter of mciSendCommand to validate the members. You can use the MCI_OPEN_PARMS structure in place of MCI_WAVE_OPEN_PARMS if you are not using the extended data members.
MCI_OPEN