You may receive a STATUS_INVALID_HANDLE error or a stop error when you try to close an HKEY_PERFORMANCE_TEXT handle or an HKEY_PERFORMANCE_NLSTEXT handle from a kernel mode device driver
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to close the predefined HKEY_PERFORMANCE_TEXT registry handle or the predefined HKEY_PERFORMANCE_NLSTEXT registry handle from a kernel-mode device driver, a 0x00000093 stop error occurs or you may receive a STATUS_INVALID_HANDLE error.
This problem occurs when a kernel-mode driver opens the
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib\language IDregistry key. In this registry key, language ID is the associated language ID. The operating system returns the predefined HKEY_PERFORMANCE_TEXT registry handle or the predefined HKEY_PERFORMANCE_NLSTEXT registry handle. If you try to close either of these predefined handles, you may receive a STATUS_INVALID_HANDLE error. However, if a kernel debugger is running, the operating system may invoke a stop error that has an INVALID_KERNEL_HANDLE (0x00000093) error code.
This behavior is by design.
For more information about predefined keys, visit the following MSDN Web site:
Article ID: 890648 - Last Review: 12/09/2015 01:57:13 - Revision: 2.1
Microsoft Windows XP Driver Development Kit, Microsoft Windows Server 2003 Driver Development Kit
- kbnosurvey kbarchive kbtshoot kbprb KB890648