Re: Disable CTRL ALT DELETE using C++

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: DZ (d_zakaibNOSPAM_at_no_yahoo_spam.com)
Date: 11/06/04


Date: Fri, 5 Nov 2004 21:38:09 -0800


This article http://msdn.microsoft.com/msdnmag/issues/02/09/CQA/default.aspx
answers your question.

Dan

"Elly Sokol" <EllySokol@discussions.microsoft.com> wrote in message
news:E2BA6E98-70AF-4FC0-8DA5-1149B97C2376@microsoft.com...
>I apologize in advance if this is the wrong group to send this question.
>If
> you know a better group, please tell me.
>
> We need a way to disable CTRL+ALT+DELETE since we have a specialized
> password screensaver. When our screensaver is up, CTRL ALT DELETE can
> still
> be invoked and when the user presses Cancel we lose our screen saver.
>
> This needs to work on W2K and XP.
>
> I have tried the following code:
> int old;
> BOOL x = SystemParametersInfo(SPI_SCREENSAVERRUNNING,true,&old,0);
>
> This returns a error.
>
> I have also tried updating the registry value for this key to 1:
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current
> Version\policies\system\disablecad
>
> It didn't work.
>
> Any suggestions would be appreciated.
>
> Thanks for your assistance.
>
>
>



Relevant Pages

  • Re: SP1 Screensaver
    ... Try changing your screensaver, apply the change, and then change it back, and apply. ... MickK ... Dan C. wrote: ... After Installing Vista SP1 for MS update, my screensaver does not work,...It's set to come on, but nothing happens..Anyone else have this trouble? ...
    (microsoft.public.windows.vista.general)
  • SP1 Screensaver
    ... After Installing Vista SP1 for MS update, my screensaver does not ... Dan ...
    (microsoft.public.windows.vista.general)
  • ScreenSavers based on GL broke?
    ... Hi Folks, ... I just turned on my screensaver and I noticed ... that both in the preview and in screensaver mode, ... Dan ...
    (Fedora)
  • Re: Screen Saver Malfunction
    ... Is your video card by any chance nVidia FX 5200 based? ... finally narrowed it down to the driver, but updating didn't seem to help. ... Stopped using screensaver. ...
    (microsoft.public.windowsxp.general)
  • Re: Disable CTRL ALT DELETE using C++
    ... With Regards ... Alok Gupta ... > I apologize in advance if this is the wrong group to send this question. ... When our screensaver is up, ...
    (microsoft.public.vc.language)