Share via


IOCTL_AG_GET_SPEAKER_VOL (Windows Embedded CE 6.0)

1/6/2010

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_SPEAKER_VOL.
  • cInBuffer
    Not used.
  • pInBuffer
    Not used.
  • cOutBuffer
    Equals the size of USHORT.
  • pOutBuffer
    [out] Pointer to a USHORT that stores the speaker 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 speaker volume, use the IOCTL_AG_SET_SPEAKER_VOL IOCTL.

Requirements

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

See Also

Concepts

Bluetooth OS IOCTLs
Audio Gateway Core Component