VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN

by Thomas Sturm (11 Submissions)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Download SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN

Download SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN (3 KB)

SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN Comments

No comments have been posted about SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN. Why not be the first to post a comment about SOMETHING NEW STOP WINDOWS FROM SHUTTING DOWN.

Post your comment

Subject:
Message:
0/1000 characters