MCI_OPEN_DRIVER_PARMS

typedef struct {
    MCIDEVICEID   wDeviceID;
    LPCWSTR  lpstrParams;
    UINT  wCustomCommandTable;
    UINT  wType;
} MCI_OPEN_DRIVER_PARMS;
 

The MCI_OPEN_DRIVER_PARMS structure is the data structure associated with the DRV_OPEN command for MCI drivers. See Opening an MCI Driver.

Members
wDeviceID
Contains the MCI device ID.
lpstrParams
Contains a pointer to a zero-terminated string. The string contains any characters that follow the filename in the system registry.
wCustomCommandTable
Receives a handle returned from mciLoadCommandResource, or MCI_NO_COMMAND_TABLE.
wType
Receives one of the following defined MCI device types:
  • MCI_DEVTYPE_ANIMATION

  • MCI_DEVTYPE_CD_AUDIO

  • MCI_DEVTYPE_DAT

  • MCI_DEVTYPE_DIGITAL_VIDEO

  • MCI_DEVTYPE_OVERLAY

  • MCI_DEVTYPE_SEQUENCER

  • MCI_DEVTYPE_SCANNER

  • MCI_DEVTYPE_VCR

  • MCI_DEVTYPE_VIDEODISC

  • MCI_DEVTYPE_WAVEFORM_AUDIO

If the driver does not support any of the defined types, it should set wType to MCI_DEVTYPE_OTHER.