rebooting at fba Phase

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

I am trying to do a reboot from my application using ExitWindowsEx
with EWX_FORCE flag and also tried with InitiateSystemShutdownEx with
reboot enabled. It always fails at FBA.

but some applications running on the FBA Generic command (eg ICA) is
able to reboot the system. Is there any other API available??

regards
Richard
 
Hi Richard,

Why do you want to reinvent hot water. (I hope that this is the phrase).

Open "FBA Generic command" you will find flag called "Reboot" that is by default FALSE, just set it to TRUE. After your application
if closed during the FBA, FBA will reboot machine and continue with next FBA step.

Best regards,
Slobodan
 
I know that Reboot is a part of FBA Generic command. i want to control
from my application according to user input.

And also tried to set the Reboot flag of the phase at runtime but it
is not functioning properly. so tried to control from the application.

regards
Richard
 
Hi Richard,

For reboot you can use:
xpepm.dll function XPE_Restart
Or low level: NtShutdownSystem
http://groups.google.com/groups?hl=...a=group=microsoft.public.windowsxp.embedded.*

Question is how FBA read and when it reset FBA flags in registry. I just hope that you won't reboot before flags are changed or when
next phase begin to execute.

Anyhow having some FBA function available that would overide FBA flag set by TD at runtime could be a nice option.

You can request this feature from MS, please fill the form:
http://msdn.microsoft.com/embedded/community/community/feedback/feedxp/default.aspx

Best regards,
Slobodan
 
Back
Top