The MCI_OVLY_OPEN_PARMS structure contains information for MCI_OPEN message for video overlay devices. When assigning data to the fields in this data structure, set the corresponding MCI flags in the dwFlags parameter of mciSendCommand to validate the fields. You can use the MCI_OPEN_PARMS data structure in place of MCI_OVLY_OPEN_PARMS if you are not using the extended data fields.
typedef struct {
DWORD dwCallback;
WORD wDeviceID;
WORD wReserved0;
LPSTR lpstrDeviceType;
LPSTR lpstrElementName;
LPSTR lpstrAlias;
DWORD dwStyle;
DWORD hWndParent;
WORD wReserved1;
} MCI_OVLY_OPEN_PARMS;
The MCI_OVLY_OPEN_PARMS structure has the following fields:
dwCallback
The low-order word specifies a window handle used for the MCI_NOTIFY flag.
wDeviceID
Specifies the device ID returned to user.
wReserved0
Reserved.
lpstrDeviceType
Specifies the name or contstant ID of the device type obtained from the SYSTEM.INI file.
lpstrElementName
Specifies the device element name (usually a pathname).
lpstrAlias
Specifies an optional device alias.
dwStyle
Specifies the window style.
hWndParent
Specifies the handle to use as the window parent.
wReserved1
Reserved.
MCI_OPEN