VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shut down the computer

by liaqatfayyaz (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 8th July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Shut down the computer

API Declarations


Private Declare Function ExitWindowsEx Lib "user32" (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long

Rate Shut down the computer



lngResult = ExitWindowsEx(EWX_SHUTDOWN, 0&) 

Download this snippet    Add to My Saved Code

Shut down the computer Comments

No comments have been posted about Shut down the computer. Why not be the first to post a comment about Shut down the computer.

Post your comment

Subject:
Message:
0/1000 characters