Skip to content

Latest commit

 

History

History
111 lines (80 loc) · 3.77 KB

ns-hdaudio-_hdaudio_device_information_v2.md

File metadata and controls

111 lines (80 loc) · 3.77 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames ms.custom f1_keywords topic_type api_type api_location api_name
NS:hdaudio._HDAUDIO_DEVICE_INFORMATION_V2
_HDAUDIO_DEVICE_INFORMATION_V2
The HDAUDIO_DEVICE_INFORMATION_V2 structure specifies the hardware capabilities of the HD Audio bus controller.
audio
07/25/2023
HDAUDIO_DEVICE_INFORMATION_V2 structure
*PHDAUDIO_DEVICE_INFORMATION_V2, HDAUDIO_DEVICE_INFORMATION_V2, HDAUDIO_DEVICE_INFORMATION_V2 structure [Audio Devices], PHDAUDIO_DEVICE_INFORMATION_V2, PHDAUDIO_DEVICE_INFORMATION_V2 structure pointer [Audio Devices], _HDAUDIO_DEVICE_INFORMATION_V2, aud-prop2_3350e3d4-dfbe-4002-b237-2395f4a07c7f.xml, audio.HDAUDIO_DEVICE_INFORMATION_V2, hdaudio/HDAUDIO_DEVICE_INFORMATION_V2, hdaudio/PHDAUDIO_DEVICE_INFORMATION_V2
hdaudio.h
Hdaudio.h
Windows
19H1
Windows
HDAUDIO_DEVICE_INFORMATION_V2, *PHDAUDIO_DEVICE_INFORMATION_V2
19H1
_HDAUDIO_DEVICE_INFORMATION_V2
hdaudio/_HDAUDIO_DEVICE_INFORMATION_V2
PHDAUDIO_DEVICE_INFORMATION_V2
hdaudio/PHDAUDIO_DEVICE_INFORMATION_V2
HDAUDIO_DEVICE_INFORMATION_V2
hdaudio/HDAUDIO_DEVICE_INFORMATION_V2
APIRef
kbSyntax
HeaderDef
hdaudio.h
_HDAUDIO_DEVICE_INFORMATION_V2
PHDAUDIO_DEVICE_INFORMATION_V2
HDAUDIO_DEVICE_INFORMATION_V2

_HDAUDIO_DEVICE_INFORMATION_V2 structure

-description

The _HDAUDIO_DEVICE_INFORMATION_V2 structure specifies the hardware capabilities of the HD Audio bus controller.

-struct-fields

-field Size

Specifies the size in bytes of the _HDAUDIO_DEVICE_INFORMATION_V2 structure.

-field DeviceVersion

Specifies the HD Audio controller device version.

-field DriverVersion

Specifies the HD Audio bus driver version.

-field CodecsDetected

Specifies the number of codecs that the HD Audio controller detects on the HD Audio Link.

-field IsStripingSupported

Specifies whether the HD Audio controller supports Striping. If TRUE, it supports striping (with at least two SDO lines). If FALSE, it does not support striping.

-field CtrlRevision

HDA controller revision.

-field CtrlVendorId

HDA controller vendor ID.

-field CtrlDeviceId

HDA controller device ID.

-remarks

With the release of Windows 1903 the GetDeviceInformation method of all the HDAUDIO_BUS_INTERFACE* was expanded to also accept a larger input structure: _HDAUDIO_DEVICE_INFORMATION_V2. The original input structure of HDAUDIO_DEVICE_INFORMATION continues to be supported.

If the hdaudbus supports the new size, it inits all the fields and sets the Size field to sizeof(_HDAUDIO_DEVICE_INFORMATION_V2), else it returns the information only for _HDAUDIO_DEVICE_INFORMATION and sets the Size field to sizeof(_HDAUDIO_DEVICE_INFORMATION).

Usage Examples

_HDAUDIO_DEVICE_INFORMATION_V2 info;

_HDAUDIO_DEVICE_INFORMATION_V2_INIT(&info);

status = m_BusIntV3->GetDeviceInformation(m_BusIntV3->Context, (PHDAUDIO_DEVICE_INFORMATION)&info);

The GetDeviceInformation routine uses the _HDAUDIO_DEVICE_INFORMATION_V2 structure to provide information about the HD Audio controller's device-specific capabilities to clients.

-see-also

HDAUDIO_DEVICE_INFORMATION

GetDeviceInformation