ctrl+alt+del(windows 2000)
-
i want to disable ctrl+alt+del under windows 2000 and SystemParameterInfo() is not working. here is the code UINT _Junk; // turn off ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,1,&_Junk,0); // ... do stuff? like what? // turn on ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,0,&_Junk,0); what could be the problem, if anybody tells me.
-
i want to disable ctrl+alt+del under windows 2000 and SystemParameterInfo() is not working. here is the code UINT _Junk; // turn off ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,1,&_Junk,0); // ... do stuff? like what? // turn on ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,0,&_Junk,0); what could be the problem, if anybody tells me.
-
i want to disable ctrl+alt+del under windows 2000 and SystemParameterInfo() is not working. here is the code UINT _Junk; // turn off ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,1,&_Junk,0); // ... do stuff? like what? // turn on ctl-alt-del SystemParametersInfo(SPI_SETSCREENSAVERRUNNING,0,&_Junk,0); what could be the problem, if anybody tells me.
According to MSDN you shouldn't use
SPI_SETSCREENSAVERRUNNING
(look upSystemParametersInfo
for details). WouldSPI_SETSCREENSAVEACTIVE
help here? - I don't think it would but it might be worth a try :~ If you have MSDN there, look up the article called 'HOWTO: Disable Task Switching on Win32 Platforms' - it talks about low level hooks to achive the goal. If you find an easier / better way please post a reply here for the rest of us!
Dylan Kenneally London, UK