Microsoft KB Archive/189783

{|
 * width="100%"|

PRB: SwitchDesktop Fails

 * }

Q189783

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * the operating system: Microsoft Windows NT 4.0
 * the operating system: Microsoft Windows 2000

-

SYMPTOMS
The SwitchDesktop API fails when it is called from a process associated with a secured desktop. The "WinLogon" and "Screen-Saver" desktops are secured.

STATUS
This behavior is by design.

MORE INFORMATION
You use the SwitchDesktop API to change the active desktop. Only desktops that belong to the visible windowstation can be active.

Additional query words:

Keywords : kbAPI kbKernBase kbOSWinNT400 kbOSWin2000 kbSecurity kbDSupport kbGrpDSKernBase

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API