The information in this article applies to:
SYMPTOMSIf a desktop has no child windows, a call to EnumDesktopWindows may enumerate windows on a different desktop. CAUSEThis is caused by a bug in the operating system. RESOLUTIONTo ensure that EnumDesktopWindows is enumerating the intended desktop, use GetWindowThreadProcessID, GetThreadDesktop, and/or GetUserObjectInformation functions to verify that the desktop is correct. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION
This bug will affect those applications that attempt to enumerate a desktop
immediately after it has been created, or in a scenario where there are
currently no child windows of the desktop.
Additional query words: kbDSupport
Keywords : kbNTOS400bug kbScreenSaver kbWndwMsg |
Last Reviewed: September 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |