|
|
|
|
|
Dicas
|
|
Visual Basic (Windows)
|
|
|
Título da Dica: DESABILITAR CTRL ALT DEL
|
|
|
|
Postada em 25/11/2004 por MrBytes
' NAO FUNCIONA NO WINDOWS XP
'API para desabilitar CTRL ALT DEL,declare no Modulo. Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long Para Habilitar:DisableCtrlAltDelete TRUE Para Desabilitar :DisableCtrlAltDelete FALSE Sub DisableCtrlAltDelete(Disabled As Boolean) 'Procedimento que desabilita o CTRL ALT DEL Dim x As Long x = SystemParametersInfo(97, Disabled, CStr(1), 0) End Sub) End Sub
|
|
|
|
|