Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I disable CTRL+ALT+DEL? how to do it?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01012132
Message ID:
01012156
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
I have no Win95/98 coumputer around. If you have one, try this code:
#DEFINE SPI_SETSCREENSAVERRUNNING 97

DECLARE INTEGER GetLastError IN kernel32
	
DECLARE INTEGER SystemParametersInfo IN user32;
	LONG uiAction, LONG uiParam,;
	INTEGER @pvParam, LONG fWinIni

nVoid = 1
nStatus = 1  && 1=disable, 0=enable
? SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,;
	m.nStatus, @nVoid, 0)
? GetLastError()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform