Share via


IOCTL_AG_SET_MIC_VOL

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This IOCTL sets the microphone volume of the headset or the hands-free device.

Parameters

  • hDeviceContext
    [in] Device context handle.
  • fSelector
    [in] Equals IOCTL_AG_SET_SPEAKER_VOL.
  • cInBuffer
    [In] Equals the size of USHORT.
  • pInBuffer
    [In] Pointer to a USHORT that stores the microphone volume.
  • cOutBuffer
    Not used.
  • pOutBuffer
    Not used.
  • pcDataReturned
    Not used.

Return Values

Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the GetLastError function.

Remarks

To retrieve the current volume of the microphone, use the IOCTL_AG_GET_MIC_VOL IOCTL.

Requirements

Header btagpub.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Concepts

Audio Gateway Core Component