Custom Shell & Logon Process

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.
 
G

Guest

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
 
S

Slobodan Brcin \(eMVP\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top