Thread: Hooks and Journal Records (GetAsyncKeyState)

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    4

    Question Hooks and Journal Records (GetAsyncKeyState)

    Hi, I was just reading MSDN, and I understand how to use GetAsyncKeyState, but I was just wondering if someone could explain this line to me as I do not clearly understand it:

    • The foreground thread belongs to another process and the desktop does not allow the hook or the journal record.
    GetAsyncKeyState function

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Basically it's saying that program A can't monitor the keboard of program B ...

    Most likely this is a response to the huge abuse of this function in keyloggers and spyware, both illegal without the user's permission.

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    4
    Thanks, that clears that up for me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code Journal
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 02-24-2004, 09:35 PM
  2. Files&Records(Entering records)
    By Beginnerinc in forum C Programming
    Replies: 1
    Last Post: 01-29-2003, 09:11 AM
  3. Code Journal
    By kwigibo in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-15-2002, 06:47 AM
  4. C/C++ Users Journal
    By jdinger in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 04-07-2002, 11:25 AM

Tags for this Thread