VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



DISABLING CTRL+ALT+DEL IN WINDOWSXP

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

Rate DISABLING CTRL+ALT+DEL IN WINDOWSXP



Dim hwnd As Long
    
    hwnd = FindWindow("#32770", vbNullString)
        
    If hwnd > 0 Then ShowWindow hwnd, SW_HIDE

End Sub


Download this snippet    Add to My Saved Code

DISABLING CTRL+ALT+DEL IN WINDOWSXP Comments

No comments have been posted about DISABLING CTRL+ALT+DEL IN WINDOWSXP. Why not be the first to post a comment about DISABLING CTRL+ALT+DEL IN WINDOWSXP.

Post your comment

Subject:
Message:
0/1000 characters