两句代码使卡巴、360自动退出

2009/5/4 来源:www.arpun.com 作者:小白

两句代码

两句代码使卡巴、360自动退出

Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long

Private Sub Command1_Click()

ExitWindowsEx 0, 0  '通过注销系统让反病毒软件自动退出

End Sub

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

If UnloadMode = 2 Then Cancel = True

End Sub

 

网友评论
评论(...
全部评论