BUG: OpenDesktop ("screen-saver",...) Returns a Valid Handle When the Screen Saver Is Not Running (230117)
The information in this article applies to:
- Microsoft Windows NT Server 4.0 SP4
- Microsoft Windows NT Workstation 4.0 SP4
This article was previously published under Q230117 SYMPTOMS
When you open the screen saver desktop by calling OpenDesktop, a valid handle may be returned even when the screen saver is not running. This problem occurs on Windows NT 4.0 with Service Pack 4 and may cause problems in applications that rely upon OpenDesktop("screen-saver, ...) to return a NULL handle when the screen saver is not running.
RESOLUTION
Check the validity of the desktop handle based on the function you use it in. For instance, if you use the desktop handle to enumerate the windows of this desktop, you may encounter the problem that the windows of the default desktop get enumerated.
For additional information on how to work around this problem, use the solution suggested in the following article in the Microsoft Knowledge Base:
198590 BUG: EnumDesktopWindows Might Enumerate the Wrong Desktop
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information, please see the following
article in the Microsoft Knowledge Base:
140723 HOWTO: Force a Screen Saver to Close Once Started in Windows NT
Modification Type: | Major | Last Reviewed: | 5/6/2004 |
---|
Keywords: | kbBug kbfix kbScreenSaver KB230117 |
---|
|