Option ExplicitContoh penggunaan fungsi API di atas:
Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal sParam As Long) As Long
Private Sub Command1_Click()
SHShutDownDialog 0
End Sub
Sebuah catatan pribadi mengenai bahasa arab, syair arab klasik, Visual Basic 6.0, dan Blogging.
Option ExplicitContoh penggunaan fungsi API di atas:
Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal sParam As Long) As Long
Private Sub Command1_Click()
SHShutDownDialog 0
End Sub