How to Disable the Ctrl + Alt + Delete Shortcut

For some reason you may want your program to disable the Ctrl + Alt + Delete shortcut. To do so you can use this code.

!!Note: This code will only work on Windows 9x and ME. This function on Windows NT systems (NT, 2000, XP or Vista) will have NO effect.

uses
  Windows;
...
procedure DisableCtrlAltDel;
var
  iTemp: Integer;
begin
  iTemp := 0;
  SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, @iTemp, 0);
end;

Tags: , , , , , , , , , , , , , , , , , , , , , ,

No Comments Yet

You can be the first to comment!

Leave a comment

OpenID Login

Standard Login