다음을 통해 공유


IOCTL_AG_GET_MIC_VOL (Windows CE 5.0)

Send Feedback

This IOCTL retrieves the speaker volume of the headset or the hands-free device.

Parameters

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

Return Values

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

Remarks

To set the microphone volume, use the IOCTL_AG_SET_MIC_VOL IOCTL.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Btagpub.h.

See Also

Audio Gateway Core Component

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.