PRB: WDM Drivers Cannot Access All Registry Keys
PSS ID Number: 190526
Article Last Modified on 10/21/1999
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) Windows 95
- Microsoft Win32 Device Driver Kit (DDK) Windows 98
This article was previously published under Q190526
SYMPTOMS
Under OSR 2.1 and OSR 2.5, a WDM driver that calls ZwOpenKey() is only able
to access registry keys under HKEY_LOCAL_MACHINE. Any attempts to read or
write to other locations in the registry fail.
Under Windows 98, a WDM driver calling ZwOpenKey() is only able to access
registry keys under HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. Any attempts
to read or write to other locations in the registry fail.
STATUS
This behavior is by design.
Additional query words: WDM registry ZwOpenKey
Keywords: kbprb KB190526
Technology: kbAudDeveloper kbWin32DDK95 kbWin32DDK98 kbWin32DDKSearch kbWin32sSearch kbWin95search kbWin98search kbWinDDKSearch