VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shut down the computer

by Anonymous (267 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Tue 24th November 1998
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