Solved

Low Level Hooks

Posted on 2003-11-23
1
1,201 Views
Last Modified: 2008-03-17
Hi,

I am about to set low level hooks (mouse & keyboard). I saw that I should set a DWORD value in the registry limiting the processing time of each low level hook procedure in order to avoid infinite loops.
The registry value is "LowLevelHooksTimeout" and is found under HKEY_CURRENT_USER\Control Panel\Desktop. I need help in deciding what value should I set (milliseconds).

Thank you in advance.
0
Comment
Question by:yelani
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 150 total points
Comment Utility
Set 50 or 100, for example. This value will be applied only if you do some really stange things inside of keyboard hook, for example, try to make internet connection, or hook function enters infinite loop. Normal hook function returns in a few milliseconds, and this Registry value should not be used.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now