VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN

Thomas Sturm  (11 Submissions)   Windows System Services   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Have you ever had the problem, that, while you were surfing the net, suddenly, BLAAAM, a hacker (or friend, hello Martin ...) nuked you and remotely shutted dwon your computer ? Well, no more, since this little proggie intercepts the Shutdown-Message sent by Windows and sends a message back to Windows that it cannot shut down right now ! Uses Sub-Classing to intercept the WM_QUERYENDSESSION Message.

Side Effects
If this is not the FIRST PROGRAM in the Taskbar, the programs on the left of it WILL BE shut down, since they usually cannot answer the Message from Windows.

API Declarations
Only 3 !

Rate SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN (6(6 Vote))

Download SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN

SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters