MCI_DGV_WINDOW_PARMSW structure (digitalv.h)

The MCI_DGV_WINDOW_PARMS structure contains parameters for MCI_WINDOW command for digital-video devices.

Syntax

typedef struct {
  DWORD_PTR dwCallback;
  HWND      hWnd;
  WORD      wReserved1;
  UINT      nCmdShow;
  WORD      wReserved2;
  LPWSTR    lpstrText;
} MCI_DGV_WINDOW_PARMSW;

Members

dwCallback

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

hWnd

Handle to the display window. If this member is MCI_DGV_WINDOW_HWND, the system uses a default window.

wReserved1

nCmdShow

Window-display command.

wReserved2

lpstrText

Window caption.

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_WINDOW_PARMS as an alias that 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 is 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_WINDOW

mciSendCommand