BUG: EnumDesktopWindows Might Enumerate the Wrong Desktop (198590)
The information in this article applies to:
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
- Microsoft Win32 Application Programming Interface (API)
This article was previously published under Q198590 SYMPTOMS
If a desktop has no child windows, a call to EnumDesktopWindows may
enumerate windows on a different desktop.
CAUSE
This is caused by a bug in the operating system.
RESOLUTION
To ensure that EnumDesktopWindows is enumerating the intended desktop, use
GetWindowThreadProcessID, GetThreadDesktop, and/or GetUserObjectInformation functions to verify that the desktop is correct.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbBug kbpending kbScreenSaver KB198590 |
---|
|