L
Lauren Hines
I am trying to create a service that will (among other things) reboot the
embedded xp device even if no one is logged into the system (ie. the logon
screen is currently displayed).
In my service (written in C# .NET) I have tried using the different APIs
(and variants of) InitiateSystemShutdownEx and Win32Shutdown. The return
error is always 21 ("The device is not ready"). The service works fine if
anyone is logged in, so I do not believe it is a permissions problem. I have
also tried using "shutdown.exe" to no avail.
Any help would be greatly appreciated. Thanks in advance.
embedded xp device even if no one is logged into the system (ie. the logon
screen is currently displayed).
In my service (written in C# .NET) I have tried using the different APIs
(and variants of) InitiateSystemShutdownEx and Win32Shutdown. The return
error is always 21 ("The device is not ready"). The service works fine if
anyone is logged in, so I do not believe it is a permissions problem. I have
also tried using "shutdown.exe" to no avail.
Any help would be greatly appreciated. Thanks in advance.