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 (890648)



The information in this article applies to:

  • Microsoft Windows XP Driver Development Kit (DDK)
  • Microsoft Windows Server 2003 Driver Development Kit (DDK)

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:

Modification Type:MajorLast Reviewed:7/18/2005
Keywords:kbtshoot kbprb KB890648 kbAudDeveloper