MCI_DGV_OPEN_PARMSA structure (digitalv.h)

The MCI_DGV_OPEN_PARMS structure contains information for the MCI_OPEN command for digital-video devices.

Syntax

typedef struct {
  DWORD_PTR dwCallback;
  UINT      wDeviceID;
  WORD      wReserved0;
  LPSTR     lpstrDeviceType;
  LPSTR     lpstrElementName;
  LPSTR     lpstrAlias;
  DWORD     dwStyle;
  HWND      hWndParent;
  WORD      wReserved1;
} MCI_DGV_OPEN_PARMSA;

Members

dwCallback

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

wDeviceID

Device ID returned to user.

wReserved0

lpstrDeviceType

Name or constant ID of device type.

lpstrElementName

Optional device alias.

lpstrAlias

Optional device alias.

dwStyle

Window style.

hWndParent

Handle to parent window.

wReserved1

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.

Note

The digitalv.h header defines MCI_DGV_OPEN_PARMS as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header digitalv.h

See also

MCI

MCI Structures

MCI_OPEN

mciSendCommand