// sidebandaudio.h
// CTL_CODE(0x0022, 0x00f, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_SBAUD_STREAM_CLOSE 0x0022003F
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
Size of ULONG.
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.
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.
| Header | sidebandaudio.h |
Introduction to I/O Control Codes