MCI_DGV_SETAUDIO_PARMSW structure (digitalv.h)

The MCI_DGV_SETAUDIO_PARMS structure contains parameters for the MCI_SETAUDIO command for digital-video devices.

Syntax

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

Members

dwCallback

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

dwItem

Constant indicating the target adjustment. For a list of possible values, see the MCI_SETAUDIO command.

dwValue

Adjustment level.

dwOver

Transmission length.

lpstrAlgorithm

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

lpstrQuality

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

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_SETAUDIO_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_SETAUDIO

mciSendCommand