typedef struct {
    DWORD  dwCallback;
    DWORD  dwTimeFormat;
    DWORD  dwAudio;
    UINT  wInput;
    UINT  wReserved0;
    UINT  wOutput;
    UINT  wReserved1;
    UINT  wFormatTag;
    UINT  wReserved2;
    UINT  nChannels;
    UINT  wReserved3;
    DWORD  nSamplesPerSec;
    DWORD  nAvgBytesPerSec;
    UINT  nBlockAlign;
    UINT  wReserved4;
    UINT  wBitsPerSample;
    UINT  wReserved5;
} MCI_WAVE_SET_PARMS;
 The MCI_WAVE_SET_PARMS structure contains parameters for the MCI_SET 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.
MCI_SET, PCMWAVEFORMAT, WAVEFORMAT