Bewerken

Delen via


IOCTL_SBAUD_SET_VOLUME IOCTL (sidebandaudio.h)

The IOCTL_SBAUD_SET_VOLUME IOCTL is used to set the volume on a specific channel. 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_VOLUME_PARAMS structure that describes the volume level and the channel that the volume will be set.

Input buffer length

The size of the SIDEBANDAUDIO_VOLUME_PARAMS structure.

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.

Requirements

Requirement Value
Header sidebandaudio.h

See also

Introduction to I/O Control Codes

sidebandaudio.h