Hi,
How is it possible to force the w98 (or even more the XP) to step in hibernation?
Until now I used the ExitWindowsEx under w98.
Thanks in advance:
BBalazs
http://msdn2.microsoft.com/en-us/library/aa373201.aspx
(Not supported on win98 though)
Tedd,
thanks, but I am uncertain how to handle the token privileges, etc, because I have no experience with XP or other network platforms.
My application is going to run on a solo EPIA M10000 in my car.
If you have the 'privilege' to shutdown/hibernate then it should work, otherwise it won't.
(I think the general policy is that either everyone can, or only admin can - 'everyone' is usually the default.)
Tedd, thank you.
Hello!
On Iczelion's home page http://win32assembly.online.fr/source.html there is a little usefull app called "Time Shut Down". Its source is included. It also handles NT with that token and privilage stuff. However there is no hybernation :(
Greets, Gábor
Gabor and Tedd,
by means of these aids I was finally able to do that.
I have merged the AdjustToken routine from Itzelion's page and added the SetSystemPowerState,FALSE, TRUE and wow! the system went hibernate under XP!
Thank you, folks!