- Reading Device Parameters in Registry
- Posted by Ben Geib on December 3rd, 2004
In my driver I am attempting to read some parameters stored in my board's
Device Parameters subkey. I am calling IoOpenDeviceRegistryKey, with
PLUGPLAY_REGKEY_DEVICE KeyType, to open the Key and calling ZwQueryValueKey
to get the partial info structure. The problem is that the data returned in
the partial info structure is always some random value. The data length and
type returned in the structure are correct though. The status returned by
both IoOpenDeviceRegistryKey and ZwQueryValueKey indicates success. Also, I
have been able to set the value using ZwSetValueKey and view this new value
in regedit. Any suggestions on what I might be doing incorrectly? Thank you
for your time.
Similar Posts
- Reading Registry (Drivers) by Mike
- Reading From Input From Driverless USB Device (Drivers) by Edward Estrada
- Reading an inactive registry (Computers & Technology) by Jack B. Pollack
- reading from a HID device (Drivers) by benjaminl
- Reading from USB Device- Urgent (Drivers) by Ritu chawla

