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

Article translations Article translations
Article ID: 890648 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

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.

CAUSE

This problem occurs when a kernel-mode driver opens the
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib\language ID
registry 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.

STATUS

This behavior is by design.

MORE INFORMATION

For more information about predefined keys, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/ms724836.aspx

Properties

Article ID: 890648 - Last Review: January 16, 2007 - Revision: 2.1
APPLIES TO
  • Microsoft Windows XP Driver Development Kit
  • Microsoft Windows Server 2003 Driver Development Kit
Keywords: 
kbtshoot kbprb KB890648

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com