MCI_OPEN_DRIVER_PARMS

typedef struct {
    UINT   wDeviceID;
    LPCSTR  lpstrParams;
    UINT  wCustomCommandTable;
    UINT  wType;
 } MCI_OPEN_DRIVER_PARMS;
 

The MCI_OPEN_DRIVER_PARMS structure contains data for the DRV_OPEN message.

Members

wDeviceID
Specifies the MCI device ID.
lpstrParams
Specifies a long pointer to the entry parameter string obtained from the SYSTEM.INI file.
wCustomCommandTable
Specifies a handle to a custom command table for the MCI driver. Set to -1 if the device driver does not have a custom command table. The device driver must set this parameter.
wType
Specifies the type of device driver:
MCI_DEVTYPE_ANIMATION Specifies an animation device type.
MCI_DEVTYPE_CD_AUDIO Specifies a cdaudio device type.
MCI_DEVTYPE_DAT Specifies a digital audiotape device type.
MCI_DEVTYPE_DIGITAL_VIDEO Specifies a digital video device type.
MCI_DEVTYPE_OTHER Specifies a device type not covered by other device types.
MCI_DEVTYPE_OVERLAY Specifies a video overlay device type.
MCI_DEVTYPE_SEQUENCER Specifies a sequencer device type.
MCI_DEVTYPE_SCANNER Specifies a scanner device type.
MCI_DEVTYPE_VCR Specifies a videotape device type.
MCI_DEVTYPE_VIDEODISC Specifies a videodisc device type.
MCI_DEVTYPE_WAVEFORM_AUDIO Specifies a waveaudio device type.