Link to home
Start Free TrialLog in
Avatar of skynergy
skynergy

asked on

Reboot and / or shutdown in win9x and NT

How do I reboot or shutdown in both win9x or NT operating systems. Thanx in advance.
ASKER CERTIFIED SOLUTION
Avatar of Tasomia
Tasomia

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of simonet
There's an anrticle I wrote some time ago about this, and it can be found at:

http://www.bhnet.com.br/~simonet/tipstricks/exitwindowsnt.htm

Alex
Avatar of nestorua
nestorua

HI,
Use ExitWindowEX function.
As for NT the use of this function depends on the privileges
you have.
Sincerely,
Nestorua.
Avatar of skynergy

ASKER

Very good code and examples, thanx!