-
CreateDesktop()
Ok, I know that this is a very open-ended question, but such is the nature of the beast. I am attempting to learn more about the Windows API and CreateDesktop is something that still eludes me. What exactly does it do, and how would one use it? Any examples or programs which use it would be immensely helpful. Thanks!
Peter
-
This is an interesting question insofaras I can't find anything on a CreateDesktop API on either of the API websites that I use (http://www.allapi.net/ and http://www.vbapi.com/ref/funca.html, nor is it listed in VBs API Viewer. Where did you run into this beast?
-
I'd assume it would be used for Terminal Services or maybe the fast-user-switching (XP) where more than one user could be logged in at the same time.
Also, when you run a password protected screen saver under NT+, NT actually automatically created a new blank desktop for the screen saver to run ontop of.
-
It's part of the shell (Explorer.exe) - the desktop is an instance of explorer.exe
See 'Visual Basic Shell Programming' by J Hamilton www.OReilly.com
-
Reply to questions...
Actually, I ran into CreateDesktop in the API Text Viewer that comes with Visual Studio. It seemed like an intriguing name for an API call. I suppose I could buy the OReilly book, however as a broke college student it won't be for some time. Hey, I bet that our campus library has a copy of it though... I'll check and see. Thanks for the info and if anyone comes up with anything else, let me know.
-Peter
-
It's documented in the MSDN Library...