Export (0) Print
Expand All
Expand Minimize

MCI_OVLY_OPEN_PARMS structure

The MCI_OVLY_OPEN_PARMS structure contains information for the MCI_OPEN command for video-overlay devices.

Syntax


typedef struct {
  DWORD_PTR   dwCallback;
  MCIDEVICEID wDeviceID;
  LPCTSTR     lpstrDeviceType;
  LPCTSTR     lpstrElementName;
  LPCTSTR     lpstrAlias;
  DWORD       dwStyle;
  DWORD       hWndParent;
} MCI_OVLY_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 name (usually a path).

lpstrAlias

Optional device alias.

dwStyle

Window style.

hWndParent

Handle to parent window.

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.

You can use the MCI_OPEN_PARMS structure in place of MCI_OVLY_OPEN_PARMS if you are not using the extended data members.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

MCI
MCI Structures
MCI_OPEN
MCI_OPEN_PARMS
mciSendCommand

 

 

Community Additions

ADD
Show:
© 2014 Microsoft