by Wayne Alec de Bruin (6 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 15th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Access Windows? shutdown dialog box from your VB Application.
API Declarations
'Windows Shut Down Dialog.
Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal YourGuess As Long) As Long
'
'Windows Shut Down Dialog. (See Declarations)
SHShutDownDialog 0
'
End Sub