MCIWndGetVolume macro

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

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

MCIWNDM_GETVOLUME

 

 

Show: