IOCTL_SBAUD_STREAM_CLOSE IOCTL (sidebandaudio.h)

On closure of KS pin, used for streaming audio, send IOCTL_SBAUD_STREAM_CLOSE. 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 0 based endpoint index value based on the number of Audio endpoints as reported by the IOCTL_SBAUD_GET_DEVICE_DESCRIPTOR.

This is a ULONG value from 0 to (N-1) where N is the number of Endpoints for the device.

Input buffer length

Size of ULONG.

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.

This is one of the IOCTLs used for KS pin state transitions. The audio driver sends these requests on certain KS pin state transitions.

Requirements

Requirement Value
Header sidebandaudio.h

See also

Introduction to I/O Control Codes

sidebandaudio.h