VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shut down windows 95/98/NT/ME/2000 using api calls

by Storm (1 Submission)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 15th November 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Shut down windows 95/98/NT/ME/2000 using api calls

Rate Shut down windows 95/98/NT/ME/2000 using api calls



'in its click event


Private sub cmdShutdown_click()

  dim lng as long
  private const EWX_SHUTDOWN as long =1 
  
  lng = ExitWindowsEx(EWX_SHUTDOWN,0) 

End sub




Download this snippet    Add to My Saved Code

Shut down windows 95/98/NT/ME/2000 using api calls Comments

No comments have been posted about Shut down windows 95/98/NT/ME/2000 using api calls. Why not be the first to post a comment about Shut down windows 95/98/NT/ME/2000 using api calls.

Post your comment

Subject:
Message:
0/1000 characters