2009. március 26., csütörtök
How can i reboot my windows
Problem/Question/Abstract:
How can i reboot my windows?
Answer:
To Reboot your computer you just have to insert the next code:
ExitWindowsEx(EWX_FORCE and EWX_REBOOT);
This line of code while cause a LogOff in Windows 2000 and Windows XP.
If you need to ShutDown the line of code is:
ExitWindowsEx(EWX_FORCE and EWX_SHUTDOWN);
For more informaction about this, just write ExitWindowsEx in your program and then press F1 and will appear the help related with this function.
Feliratkozás:
Megjegyzések küldése (Atom)
Nincsenek megjegyzések:
Megjegyzés küldése