MCI_DGV_SETVIDEO_PARMSW structure (digitalv.h)

The MCI_DGV_SETVIDEO_PARMS structure contains parameters for the MCI_SETVIDEO command for digital-video devices.

Syntax

typedef struct {
  DWORD_PTR dwCallback;
  DWORD     dwItem;
  DWORD     dwValue;
  DWORD     dwOver;
  LPWSTR    lpstrAlgorithm;
  LPWSTR    lpstrQuality;
  DWORD     dwSourceNumber;
} MCI_DGV_SETVIDEO_PARMSW;

Members

dwCallback

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

dwItem

Constant indicating the target adjustment.

dwValue

Adjustment level.

dwOver

Transmission length.

lpstrAlgorithm

Pointer to a null-terminated string containing the name of the video-compression algorithm.

lpstrQuality

Pointer to a null-terminated string containing a descriptor of the video-compression algorithm.

dwSourceNumber

Index of input source.

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_SETVIDEO_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_SETVIDEO

mciSendCommand