C/C++ >> Disable/Enable CTRL-ALT-DELETE...
Posted by cppbuilder2003 on 19:02:00 02-12-2003
How do I disable ctrl-alt-delete??? And how do I also enable it again??? THANKZ!!
Posted by dxprog on 23:50:00 02-12-2003
Okay, here's how to do it. You use the API call SystemParametersInfoA and you could use a function like this:

long function DisableCtrlAltDelete(int Enabled)
{
      return SystemParametersInfoA(97, Enabled, 1, 0);
}

You just pass 0 for enabled and 1 for disabled and that should lock it for you. [addsig]