Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>WMI does give some information about sound cards. What I haven't been able to find out yet is whether its giving enough. Using "<a href="http://www.microsoft.com/downloads/details.aspx?familyid=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;displaylang=en" rel="nofollow noreferrer">WMI Code Creator</a>" the following script lists everything that the <a href="http://msdn.microsoft.com/en-us/library/aa394463.aspx" rel="nofollow noreferrer">Win32_SoundDevice</a> object stores:</p> <pre><code>strComputer = "." Set objWMIService = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\CIMV2") Set colItems = objWMIService.ExecQuery( _ "SELECT * FROM Win32_SoundDevice",,48) For Each objItem in colItems Wscript.Echo "-----------------------------------" Wscript.Echo "Win32_SoundDevice instance" Wscript.Echo "-----------------------------------" Wscript.Echo "Availability: " &amp; objItem.Availability Wscript.Echo "Caption: " &amp; objItem.Caption Wscript.Echo "ConfigManagerErrorCode: " &amp; objItem.ConfigManagerErrorCode Wscript.Echo "ConfigManagerUserConfig: " &amp; objItem.ConfigManagerUserConfig Wscript.Echo "CreationClassName: " &amp; objItem.CreationClassName Wscript.Echo "Description: " &amp; objItem.Description Wscript.Echo "DeviceID: " &amp; objItem.DeviceID Wscript.Echo "DMABufferSize: " &amp; objItem.DMABufferSize Wscript.Echo "ErrorCleared: " &amp; objItem.ErrorCleared Wscript.Echo "ErrorDescription: " &amp; objItem.ErrorDescription Wscript.Echo "InstallDate: " &amp; objItem.InstallDate Wscript.Echo "LastErrorCode: " &amp; objItem.LastErrorCode Wscript.Echo "Manufacturer: " &amp; objItem.Manufacturer Wscript.Echo "MPU401Address: " &amp; objItem.MPU401Address Wscript.Echo "Name: " &amp; objItem.Name Wscript.Echo "PNPDeviceID: " &amp; objItem.PNPDeviceID If isNull(objItem.PowerManagementCapabilities) Then Wscript.Echo "PowerManagementCapabilities: " Else Wscript.Echo "PowerManagementCapabilities: " &amp; Join(objItem.PowerManagementCapabilities, ",") End If Wscript.Echo "PowerManagementSupported: " &amp; objItem.PowerManagementSupported Wscript.Echo "ProductName: " &amp; objItem.ProductName Wscript.Echo "Status: " &amp; objItem.Status Wscript.Echo "StatusInfo: " &amp; objItem.StatusInfo Wscript.Echo "SystemCreationClassName: " &amp; objItem.SystemCreationClassName Wscript.Echo "SystemName: " &amp; objItem.SystemName Next </code></pre> <p>Running that on my laptop gives</p> <pre><code>----------------------------------- Win32_SoundDevice instance ----------------------------------- Availability: Caption: ATI Function Driver for High Definition Audio - ATI AA01 ConfigManagerErrorCode: 0 ConfigManagerUserConfig: False CreationClassName: Win32_SoundDevice Description: ATI Function Driver for High Definition Audio - ATI AA01 DeviceID: HDAUDIO\FUNC_01&amp;VEN_1002&amp;DEV_AA01&amp;SUBSYS_00AA0100&amp;REV_1000\5&amp;BB7E0F3&amp;0&amp;0001 DMABufferSize: ErrorCleared: ErrorDescription: InstallDate: LastErrorCode: Manufacturer: ATI MPU401Address: Name: ATI Function Driver for High Definition Audio - ATI AA01 PNPDeviceID: HDAUDIO\FUNC_01&amp;VEN_1002&amp;DEV_AA01&amp;SUBSYS_00AA0100&amp;REV_1000\5&amp;BB7E0F3&amp;0&amp;0001 PowerManagementCapabilities: PowerManagementSupported: False ProductName: ATI Function Driver for High Definition Audio - ATI AA01 Status: OK StatusInfo: 3 SystemCreationClassName: Win32_ComputerSystem SystemName: BABEL ----------------------------------- Win32_SoundDevice instance ----------------------------------- Availability: Caption: Conexant High Definition SmartAudio 221 ConfigManagerErrorCode: 0 ConfigManagerUserConfig: False CreationClassName: Win32_SoundDevice Description: Conexant High Definition SmartAudio 221 DeviceID: HDAUDIO\FUNC_01&amp;VEN_14F1&amp;DEV_5051&amp;SUBSYS_1179FF5B&amp;REV_1000\4&amp;2DBDAC14&amp;0&amp;0001 DMABufferSize: ErrorCleared: ErrorDescription: InstallDate: LastErrorCode: Manufacturer: Conexant MPU401Address: Name: Conexant High Definition SmartAudio 221 PNPDeviceID: HDAUDIO\FUNC_01&amp;VEN_14F1&amp;DEV_5051&amp;SUBSYS_1179FF5B&amp;REV_1000\4&amp;2DBDAC14&amp;0&amp;0001 PowerManagementCapabilities: PowerManagementSupported: False ProductName: Conexant High Definition SmartAudio 221 Status: OK StatusInfo: 3 SystemCreationClassName: Win32_ComputerSystem SystemName: BABEL </code></pre> <p>I don't know if there's anything in there that helps. It's a tough question.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload