VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Computer Reboot

by Sudhakar Bhatt (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 23rd February 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Computer Reboot

API Declarations


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


Rate Computer Reboot



'reboot the computer
lngResult = ExitWindowsEx(EWX_REBOOT, 0&)


Download this snippet    Add to My Saved Code

Computer Reboot Comments

No comments have been posted about Computer Reboot. Why not be the first to post a comment about Computer Reboot.

Post your comment

Subject:
Message:
0/1000 characters