PRB: WDM Drivers Cannot Access All Registry Keys

ID: Q190526


The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) versions Windows 95, Windows 98


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 : kbDDK kbWinOS95 kbWinOS98
Version : WINDOWS:Windows 95,Windows 98
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: October 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.