VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This is a code that can Shutdown Windows using User32 Lib

by Michael Quisoy (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 8th May 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This is a code that can Shutdown Windows using User32 Lib

API Declarations



Public Const EXIT_LOGOFF=0
Public Const EXIT_SHUTDOWN=1
Public Const EXIT_REBOOT=2

Public Sub ShutDown(uflags as long)
Call ExitWindowsEx(uflags,0)
End Sub

Rate This is a code that can Shutdown Windows using User32 Lib



Call ShutDown(1)
End Sub

Download this snippet    Add to My Saved Code

This is a code that can Shutdown Windows using User32 Lib Comments

No comments have been posted about This is a code that can Shutdown Windows using User32 Lib. Why not be the first to post a comment about This is a code that can Shutdown Windows using User32 Lib.

Post your comment

Subject:
Message:
0/1000 characters