[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_27DE&SUBSYS_0C82105B&REV_01#3&2411E6FE&0&F2#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 0\Controls\ 1]
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_27DE&SUBSYS_0C82105B&REV_01#3&2411E6FE&0&F2#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 0\Controls\ 1]
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
Muting or not muting will change here. Some keys (such as those under DEVICE) are related to audio devices and may be different.
Focus on
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
above.
MasterVolume is 2 bytes
If they are the same, it means no mute. If the latter minus the former = 80 (hexadecimal), it means muted. Specifically, if it is 1f, 9f (the difference is also H80), it means the master volume is adjusted to the lowest. It is unknown whether it is muted or not when it is 1f, 9f.
If the master volume is at the lowest and mute is canceled, there should be nothing wrong.
If you must do it completely, you need to look at those items related to audio devices. This... To get the hardware ID, etc., the processing is cumbersome. It is better to use a small third-party tool
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore