I was wondering if it was possible in asm to prevent windows from shutdowning ... maybe by catching the ExitWindow api Anyon ehas an idea, source or comment ?
Posted on 2000-12-17 18:58:00 by FastIsCool
I don't think you can stop windows from calling the api or catch it, you might be able to edit the shutdown api in the dll file.
Posted on 2000-12-17 21:56:00 by dork
Exitwindowsex send a WM_QUERYENDSESSION to all windows, if you return true to this message you will halt the system shutdown. Note if exitwindowsex is called with the EWX_FORCE you will not be able to stop the shutdown. Good luck, Betrayed
Posted on 2000-12-17 23:10:00 by Betrayed
ExitWindowSex!?? :)
Posted on 2000-12-18 07:59:00 by Qweerdy
ANd How do i respond to that WM_QUERYENDSESSION ?
Posted on 2000-12-18 12:33:00 by FastIsCool
It will be sent the wndproc just Like a WM_COMMAND message just catch it and MOV eax,TRUE ret that will stop windows from shutting down
Posted on 2000-12-18 13:20:00 by Betrayed
oops that should be return false, returning true tells windows that your program can end. Damn me and talking/typing after not sleeping Betrayed
Posted on 2000-12-18 15:34:00 by Betrayed
Sorry for my ingorance , i'm beginnning but how do I catch the message waht's the keyword or the api ? Thank you so much
Posted on 2000-12-18 16:49:00 by FastIsCool
Posted on 2000-12-18 23:25:00 by dork