Display the restart or shutdown dialog using RestartDialog API
Display the restart or shutdown dialog using RestartDialog API
API Declarations
uFlags As Long) As Long
Rate Display the restart or shutdown dialog using RestartDialog API
(1(1 Vote))
Dim rval as long
'To Restart
rval = RestartDialog(Form1.hWnd, "I warn you that ", 2)
'To Shutdown
'rval = RestartDialog(Form1.hWnd, "I warn you to Shutdown the system ", 1)
End
End Sub
Display the restart or shutdown dialog using RestartDialog API Comments
No comments yet — be the first to post one!
Post a Comment