Hello,
How can I reboot Win NT based OS?
Give me plz an example.
Thanks
How can I reboot Win NT based OS?
Give me plz an example.
Thanks
Thanx Bazik,
But can anybody give me a masm example?
But can anybody give me a masm example?
Thanx Bazik,
But can anybody give me a masm example?
Uhh.... sorry, I forgot how hard it is to write API calls in MASM. :rolleyes:
SO the theme is still open!
What nobody tryed to reboot WINXP in masm?
SHare with the source plz!
What nobody tryed to reboot WINXP in masm?
SHare with the source plz!
Check ExitWindowsEx from MSDN.
basicly it's just;
invoke ExitWindowEx, EWX_REBOOT, EWX_FORCE
if you are an administrator... if you are normal user then you need to give some privileges to yourself to execute that API.
basicly it's just;
invoke ExitWindowEx, EWX_REBOOT, EWX_FORCE
if you are an administrator... if you are normal user then you need to give some privileges to yourself to execute that API.