MCI_WAVE_OPEN_PARMS  LEWG2T 

The MCI_WAVE_OPEN_PARMS structure contains information for MCI_OPEN12F69Z1 command for waveform-audio devices.

typedef struct { 

    DWORD  dwCallback;

    MCIDEVICEID   wDeviceID;

    LPCSTR lpstrDeviceType;

    LPCSTR lpstrElementName;

    LPCSTR lpstrAlias;

    DWORD  dwBufferSeconds;

} MCI_WAVE_OPEN_PARMS;

 

Members

dwCallback

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

wDeviceID

Indentifier returned to application.

lpstrDeviceType

Name or constant identifier of the device type. (The name of the device is typically obtained from the registry or SYSTEM.INI file.) This member can be one of the values listed in Constants: Device Types231G_JO.

lpstrElementName

Device element name (usually a path).

lpstrAlias

Optional device alias.

dwBufferSeconds

Buffer length, in seconds.

 

Remarks

When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand_H60X4 function to validate the members.

You can use the MCI_OPEN_PARMS structure instead of MCI_WAVE_OPEN_PARMS if you are not using the extended data members.

See Also

MCI_OPEN, mciSendCommand, MCI_OPEN_PARMS