IOCTL_SBAUD_STREAM_CLOSE - NtDoc

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

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

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-sidebandaudio-ioctl_sbaud_stream_close)

IOCTL_SBAUD_STREAM_CLOSE IOCTL

Description

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.

Parameters

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.

Output buffer

Output buffer length

Input/output buffer

Input/output buffer length

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

Header sidebandaudio.h

See also

Introduction to I/O Control Codes

sidebandaudio.h