VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Disable/Enable CTRL+ALT+DEL Menu in Windows 9x...

by Adam Luck (3 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 11th October 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Disable/Enable CTRL+ALT+DEL Menu in Windows 9x...

Rate Disable/Enable CTRL+ALT+DEL Menu in Windows 9x...



'Warning - After you have tested this program, make sure you re-enable the CTRL+ALT+DEL Menu, or you can run into some problems...
'Designed By Adam Luck, 1999...

Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long

Private Const SPI_SCREENSAVERRUNNING = 97

Private Sub cmdDisableCTRLALTDEL_Click()
   Dim Ret  As Long
   Dim pOld As Boolean
   Ret = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, pOld, 0)
End Sub

Private Sub cmdEnableCTRLALTDEL_Click()
   Dim Ret  As Long
   Dim pOld As Boolean
   Ret = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, pOld, 0)
End Sub


Download this snippet    Add to My Saved Code

Disable/Enable CTRL+ALT+DEL Menu in Windows 9x... Comments

No comments have been posted about Disable/Enable CTRL+ALT+DEL Menu in Windows 9x.... Why not be the first to post a comment about Disable/Enable CTRL+ALT+DEL Menu in Windows 9x....

Post your comment

Subject:
Message:
0/1000 characters