Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : SPI_SETBLOCKSENDINPUTREQUESTS numeric value
| Subject: | SPI_SETBLOCKSENDINPUTREQUESTS numeric value |
| Posted by: | "Zbigniew Lipinski" (info@removethis.firmazl.pl) |
| Date: | Tue, 12 Apr 2005 08:15:28 |
Hello,
I would like to close a screensaver from my application. I'm doing this
by simulating user input with the Keybd_Event function. However, sometimes
this fails. In MSN online help I've found a constant named
SPI_SETBLOCKSENDINPUTREQUESTS which, passed to the
SystemParametersInfo function enebles/disables user input simulation.
However I can't find anywhere a numeric value of that constant.
It's not defined in the Delphi Windows unit nor in the Winuser.h header
file for Win2k.
In the DelphiJedi translated Win32API files I've found a constant with a similar
name: SPI_SETBLOCKSENDINPUTRESETS, but this one for a change is
not described in MSN help.
Coud anybody please enlighten me a little on those constants and, if possible,
provide me with the numeric value of the first one
(SPI_SETBLOCKSENDINPUTREQUESTS)?
Regards
Zbigniew Lipinski