Bewerken

Delen via


IOCTL_SBAUD_SET_SIOP IOCTL (sidebandaudio.h)

The IOCTL_SBAUD_SET_SIOP IOCTL is used to set a SIOP command. This control code is used by an audio driver when cooperating with the audio class drivers to operate a sideband connection.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A SIDEBANDAUDIO_SIOP_REQUEST_PARAM union.

Input buffer length

The length of the SIDEBANDAUDIO_SIOP_REQUEST_PARAM union.

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code. For more information, see NTSTATUS Values.

Remarks

This IOCTL can only be called from kernel mode.

Bluetooth A2DP

The A2DP driver saves the SIOP values in a collection of stream configuration vendor SIOPs and sends these SIOPs to the Bluetooth controller using HCI_VS_MSFT_Avdtp_Stream_Open while handling IOCTL_SBAUD_STREAM_OPEN. Any audio interface parameters returned by the Bluetooth controller are also stored in the collection of stream configuration vendor SIOPs. The audio driver can get these values at any time after the IOCTL completes.

The A2DP driver clears the collection of stream configuration vendor SIOPs when handling IOCTL_SBAUD_STREAM_CLOSE. (It does not clear the collection of system configuration vendor SIOPs.)

Requirements

Requirement Value
Header sidebandaudio.h

See also

Introduction to I/O Control Codes

sidebandaudio.h