QB45 Forums
Party like you didn't do in 1999.

Programming Talk - View Post
Anything related to programming under the sun

GizmoGuy
NORMAL

Posts: 151
I found WinAPI that might work but i cant figure out...
Posted by GizmoGuy, on Aug 16th, 2005
how to implement into FB. The code is in VB; could anywone convert it?
Attribute VB_Name = "DisableCTRL"
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Public Const SPI_SCREENSAVERRUNNING = 97
Public Sub Disable_Ctrl_Alt_Del()
'Disables the Crtl+Alt+Del keys
Dim AyW As Integer
Dim TurFls As Boolean
AwY = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, TurFls, 0)
End Sub
Public Sub Enable_Ctrl_Alt_Del()
'Enables the Crtl+Alt+Del Keys
Dim AwY As Integer
Dim TurFls As Boolean
AwY = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, TurFls, 0)
End Sub

Back to Programming Talk


My system crashed like a princess on the run
All work was lost and the o.s. was done
What did I do to have faulty parts bestowed?
Maybe the gods don’t know binary code.
Replies:
There are no replies to this message

Post a reply:







All content copyrighted 2004, All rights reserved.