I'm trying to read a value of type REG_RESOURCE_LIST from the registry, but without success.
The specific value I'm trying to read is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\{YourNetworkInterface}\{GUID}\Control\AllocConfig
.
You can find this value by going to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI
, and searching for a key that his subkey (the {GUID} part in the path) have a value named Class
with a value of Net
.
Or you can just search for it.
The strange thing is, when I'm opening the Control
key through code, and calling GetValueNames()
I'm getting the AllocConfig
value name, but when calling GetValue("AllocConfig")
I'm getting null (not null in reality).
Also, in ProccessMonitor, I see that when calling GetValue("AllocConfig")
the result is Buffer Overflow
.
Any help will be appriciated, thanks.