Microsoft KB Archive/890648

= 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 ID: 890648

Article Last Modified on 1/16/2007

-

APPLIES TO


 * Microsoft Windows XP Driver Development Kit
 * Microsoft Windows Server 2003 Driver Development Kit

-



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  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

Keywords: kbtshoot kbprb KB890648

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.