Custom Shell & Logon Process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Trying to use a custom application as the shell. The shell application is
launched from userinit.exe, which happens before the welcome screen
disappears and the logon process completes. How can I tell when the logon
process completes and control of the desktop is available to the user?

The custom app uses a USB security dongle and the USB drivers are not loaded
right away. I'd like to create a boot strap application as the shell app
that detects when the logon process completes. At which time it launches the
real application.
 
Slobodan,

Thanks for the info. I had tried using CMP_WaitNoPendingInstallEvents but
it returned too quickly. I did not realize it may return before
initialization is fully complete. Seems like a function to handle this would
be a nice addtion to the Win32 API

Thanks.
-harrier
 
Hi,

Ask MS for such functions (this function might even exist hidden somewhere).
http://msdn.microsoft.com/embedded/community/community/feedback/feedxp/default.aspx

Problem with WaitNoPending is that it will return as soon as there are no more pending drivers initializing or waiting to install.
There are few short gaps during the boot time when this can happen. Idea with loop is to be short (100*10 ms = 1second) and to make
delay during all these gaps when they occur.

Regards,
Slobodan
 
Back
Top