MCI_SOUND_PARMS

The MCI_SOUND_PARMS structure contains parameters for the MCI_SOUND message. When assigning data to the fields in this data structure, set the corresponding MCI flags in the dwFlags parameter of mciSendCommand to validate the fields.

typedef struct {
    DWORD  dwCallback;
    LPSTR  lpstrSoundName;
} MCI_SOUND_PARMS;

Fields

The MCI_SOUND_PARMS structure has the following fields:

dwCallback

The low-order word specifies a window handle used for the MCI_NOTIFY flag.

lpstrSoundName

Specifies a far pointer to a null-terminated string containing the name of the sound or the name of the file containing the sound to be played.

See Also

MCI_SOUND