IOCTL_BTHHFP_DEVICE_GET_CODEC_ID - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bthhfpddi.h

// CTL_CODE(0x0022, 0x00f, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_BTHHFP_DEVICE_GET_CODEC_ID 0x0022003F
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-bthhfpddi-ioctl_bthhfp_device_get_codec_id)

IOCTL_BTHHFP_DEVICE_GET_CODEC_ID IOCTL

Description

An audio driver can send an IOCTL_BTHHFP_DEVICE_GET_CODEC_ID control code to query the Bluetooth driver stack about the codec ID used by the HFP service. This helps the audio driver determine the sampling rate for the data.

Parameters

Major code

Input buffer

An HFP_BYPASS_CODEC_ID_VERSION enumeration value. Currently, only REQ_HFP_BYPASS_CODEC_ID_V1 is supported.

Input buffer length

The size of an HFP_BYPASS_CODEC_ID_VERSION enumeration value.

Output buffer

A codec ID structure containing the codec ID information. Currently, only HFP_BYPASS_CODEC_ID_V1 is supported.

Output buffer length

The size of a codec ID structure.

Input/output buffer

Input/output buffer length

Status block

If the routine succeeds, then Status is set to STATUS_SUCCESS and the Information member is the codec ID.

See also

Bluetooth HFP DDI IOCTLs