Simulate user interaction - Avoid screen saver activation



Hi!

I need help to simulate programmatically user interaction on WinNT 4.0, to
avoid screen saver activation.

I try with key injection event.

SendInput API and keybd_event API work correctly with Win2000 and WinXP
system. Screen saver don't start.

Under WinNT 4.0 these API, inject key event correctly at active application
(ex. notepad) but system screen saver start !!!! :(

I can use another windows API to avoid screen saver and simulate a user
interaction ? I can use dos-bios interrupt for inject key avent under
WINNT4.0 ? I can use a WINNT API to call bios interrupt routine?

Thanks for your help!!!





.



Relevant Pages

  • Re: Simulate user interaction - Avoid screen saver activation
    ... > I try with key injection event. ... > SendInput API and keybd_event API work correctly with Win2000 and WinXP ... Screen saver don't start. ... > Under WinNT 4.0 these API, inject key event correctly at active application ...
    (comp.programming)
  • RE: Screensaver Question
    ... I have not used this API before, so I cannot comment on personal use. ... Keep an eye on the product lifecycle for Visual FoxPro here: ... >I'm trying to deactivate the screen saver programatically using ... > DECLARE INTEGER SystemParametersInfo IN user32; ...
    (microsoft.public.fox.programmer.exchange)
  • FileSystem Watcher not working in win98
    ... & winNT. ... Ifound that there are API like ... notification in win98 but it doesn't give the information that which file is ... i need some generic solution for both Win98 & WinNT. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: verify windows password?
    ... will pass back to you whether the credentials it received were ... good without actually sharing those credentials with your ... If there is such an API I have never heard of it. ... Just set the frigging screen saver to require password ...
    (comp.databases.ms-access)
  • Re: Waking up a monitor
    ... there is one statement in this API: ... "This function does not stop the screen saver from executing either. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.win32.programmer.kernel)