IOCTL_BTHHFP_DEVICE_REQUEST_DISCONNECT - NtDoc

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

// CTL_CODE(0x0022, 0x004, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_BTHHFP_DEVICE_REQUEST_DISCONNECT 0x00220013
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_BTHHFP_DEVICE_REQUEST_DISCONNECT IOCTL

Description

The IOCTL_BTHHFP_DEVICE_REQUEST_DISCONNECT IOCTL removes the Handfree Profile (HFP) Service Level Connection that existed between the audio driver and the Bluetooth device.

Parameters

Major code

Input buffer

N/A

Input buffer length

N/A

Output buffer

N/A

Output buffer length

N/A

Input/output buffer

Input/output buffer length

Status block

N/A

Remarks

This request initiates the process to disconnect the Service Level Connection and ends without waiting for the disconnection to complete. Connection status can be determined using IOCTL_BTHHFP_DEVICE_GET_CONNECTION_STATUS_UPDATE.

The audio driver sends this request from its handler for the KSPROPERTY_ONESHOT_DISCONNECT KS property.

See also

Bluetooth HFP DDI IOCTLs

IOCTL_BTHHFP_DEVICE_GET_CONNECTION_STATUS_UPDATE

KSPROPERTY_ONESHOT_DISCONNECT