MCI_DGV_OPEN_PARMS

The MCI_DGV_OPEN_PARMS structure contains information for MCI open message for digital-video devices. When assigning data to its fields, set the corresponding MCI flags in the lParam1 parameter of mciSendCommand to validate the fields.

typedef struct {

DWORD dwCallback;

WORD wDeviceID;

WORD wReserved0;

LPSTR lpstrDeviceType;

LPSTR lpstrElementName;

LPSTR lpstrAlias;

DWORD dwStyle;

WORD hWndParent;

WORD wReserved1;

} MCI_DGV_OPEN_PARMS;

Fields

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.

dwStyle

Specifies the window style.

hWndParent

Specifies the handle to use as the window parent.

wReserved1

Reserved.


See Also

MCI_OPEN