// sidebandaudio.h
// CTL_CODE(0x0022, 0x005, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_SBAUD_GET_VOLUMEPROPERTYVALUES 0x00220017
View the official Windows Driver Kit DDI referenceNo description available.
Audio driver can call IOCTL_SBAUD_GET_VOLUMEPROPERTYVALUES to query the volume stepped data ranges and min/max values for all of the channels. These values should then be returned for KSPROPERTY_AUDIO_VOLUMELEVEL basic support.
Endpoint index.
Size of ULONG.
KSPROPERTY_DESCRIPTION followed by KSPROPERTY_MEMBERSHEADER and Volume stepped data ranges as documented in KSPROPERTY_DESCRIPTION and KSPROPERTY_MEMBERSHEADER.
Size of KSPROPERTY_DESCRIPTION in addition to all the KSPROPERTY_MEMBERSHEADER and step ranges. This size was returned in SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR::VolumePropertyValuesSize.
Input Endpoint Index and output KSPROPERTY_DESCRIPTION share the same buffer.
Allocated buffer should be of length SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR::VolumePropertyValuesSize.
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.
| Header | sidebandaudio.h |
Introduction to I/O Control Codes