|
| View previous topic :: View next topic |
| Author |
Message |
Greg Holmes Guest
|
Posted: Fri Dec 21, 2007 10:35 am Post subject: Services - Winlogon and Default Desktop |
|
|
I'm using a 3rd party API which runs as a Windows service on the XP Embedded
OS I have developed. The information states that the service starts during
system boot and launches two copies of the same executable. These attach to
the Winlogon and default desktop via Microsoft's SetWindowsHookEx API.
My XPe OS uses the Windows Logon component so I'm okay about that but could
anyone explain about the Default Desktop and how the exe runs under that? Is
it due to seperate accounts being active at the same time?
Many Thanks for your reply |
|
| Back to top |
|
 |
Google Sponsor

|
Posted: Fri Dec 21, 2007 10:35 am Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
Sean Liming (MVP) Guest
|
Posted: Fri Dec 21, 2007 5:46 pm Post subject: Re: Services - Winlogon and Default Desktop |
|
|
Can you tell use more information on the API and service?
It might be that the service is account based. The Local host sevice runs
first, when you logon to a shell like Explorer shell you are in a different
account so the service might start again.
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
"Greg Holmes" <Greg Holmes@discussions.microsoft.com> wrote in message
news:35AD443F-9948-4751-9075-91D660CBEA93@microsoft.com...
| Quote: | I'm using a 3rd party API which runs as a Windows service on the XP
Embedded
OS I have developed. The information states that the service starts during
system boot and launches two copies of the same executable. These attach
to
the Winlogon and default desktop via Microsoft's SetWindowsHookEx API.
My XPe OS uses the Windows Logon component so I'm okay about that but
could
anyone explain about the Default Desktop and how the exe runs under that?
Is
it due to seperate accounts being active at the same time?
Many Thanks for your reply |
|
|
| Back to top |
|
 |
KM Guest
|
Posted: Fri Dec 21, 2007 8:25 pm Post subject: Re: Services - Winlogon and Default Desktop |
|
|
Greg,
On NT based OS-es (2K, XP, Vista) WinLogon UI runs in a separate Desktop (WinSta0\\Winlogon desktop) from any user account Desktop.
As a matter of fact, Winlogon (GINA, actually) creates 3 desktops - an application desktop (used by the user), a winlogon desktop
(used by the winlogon to display the login UI), and a screensaver desktop (to run the screensavers). This logic has been changed a
little bit in Vista but since we are talking about XPe it doesn't really matter here.
You can launch an executable on any desktop as many times as you'd want it to. It would be a matter of the application itself to
communicate between all its instances (there is an API that allows to cross the user account and Desktop boundaries).
Please take a look at the Windows Station and Desktop API: http://msdn2.microsoft.com/en-us/library/ms687107(VS.85).aspx
My guess is that by Default Desktop you meant the logged user Desktop.
--
=========
Regards,
KM
"Greg Holmes" <Greg Holmes@discussions.microsoft.com> wrote in message news:35AD443F-9948-4751-9075-91D660CBEA93@microsoft.com...
| Quote: | I'm using a 3rd party API which runs as a Windows service on the XP Embedded
OS I have developed. The information states that the service starts during
system boot and launches two copies of the same executable. These attach to
the Winlogon and default desktop via Microsoft's SetWindowsHookEx API.
My XPe OS uses the Windows Logon component so I'm okay about that but could
anyone explain about the Default Desktop and how the exe runs under that? Is
it due to seperate accounts being active at the same time?
Many Thanks for your reply |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|