Edit

Share via


MCIWndGetVolume macro (vfw.h)

The MCIWndGetVolume macro retrieves the current volume setting of an MCI device. You can use this macro or explicitly send the MCIWNDM_GETVOLUME message.

Syntax

LONG MCIWndGetVolume(
     hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

Type: LONG

Returns the current volume setting. The default value is 1000. Higher values indicate louder volumes; lower values indicate quieter volumes.

Requirements

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

See also

MCIWNDM_GETVOLUME