by Aung Win Htut (1 Submission)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 17th October 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
DISABLING CTRL+ALT+DEL IN WINDOWSXP
API Declarations
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Const SW_HIDE = 0
Dim hwnd As Long
hwnd = FindWindow("#32770", vbNullString)
If hwnd > 0 Then ShowWindow hwnd, SW_HIDE
End Sub