MCI_OPEN_PARMS

See also MCI_OPEN


typedef struct {
    DWORD  dwCallback;
    UINT  wDeviceID;
    UINT  wReserved0;
    LPCSTR  lpstrDeviceType;
    LPCSTR  lpstrElementName;
    LPCSTR  lpstrAlias;
} MCI_OPEN_PARMS;

The MCI_OPEN_PARMS structure contains information for MCI open message. When assigning data to the members in this structure, set the corresponding MCI flags in the lParam1 parameter of mciSendCommand to validate the members.

dwCallback

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

wDeviceID

Contains the device ID returned to user.

wReserved0

Reserved.

lpstrDeviceType

Specifies the name or constant ID of the device type.

lpstrElementName

Specifies the device element name (usually a path).

lpstrAlias

Specifies an optional device alias.