VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Declare Function ExitWindows% Lib User (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REB

by Sean Dooley (1 Submission)
Category: Games
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 9th November 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Declare Function ExitWindows% Lib "User" (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REBOOTSYSTEM = &H43 Const EW_RESTARTWINDOWS =

API Declarations


Dim I%

Const EW_REBOOTSYSTEM = &H43
Const EW_RESTARTWINDOWS = &H42

I% = ExitWindows%(EW_REBOOTSYSTEM + EW_RESTARTWINDOWS, 0)


Rate Declare Function ExitWindows% Lib User (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REB



Dim I%

Const EW_REBOOTSYSTEM = &H43
Const EW_RESTARTWINDOWS = &H42

I% = ExitWindows%(EW_REBOOTSYSTEM + EW_RESTARTWINDOWS, 0)


Download this snippet    Add to My Saved Code

Declare Function ExitWindows% Lib User (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REB Comments

No comments have been posted about Declare Function ExitWindows% Lib User (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REB. Why not be the first to post a comment about Declare Function ExitWindows% Lib User (ByVal dwReturnCode&, ByVal reserved%) Dim I% Const EW_REB.

Post your comment

Subject:
Message:
0/1000 characters