MCI_OPEN_PARMS
The MCI_OPEN_PARMS structure contains information for the MCI_OPEN command.
typedef struct {
DWORD_PTR dwCallback;
MCIDEVICEID wDeviceID;
LPCTSTR lpstrDeviceType;
LPCTSTR lpstrElementName;
LPCTSTR lpstrAlias;
} MCI_OPEN_PARMS;
Members
dwCallback
The low-order word specifies a window handle used for the MCI_NOTIFY flag.
wDeviceID
Identifier 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.) If this member is a constant, it can be one of the values listed in MCI Device Types.
lpstrElementName
Device element (often a path).
lpstrAlias
Optional device alias.
Remarks
When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand function to validate the members.
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Mmsystem.h; include Windows.h.
** Unicode:** Declared as Unicode and ANSI structures.
See Also