please dont rip this site Prev Next

KBDLLHOOKSTRUCT info  Overview  Group

[New for Windows NT 4.0 Service Pack 3.]

The KBDLLHOOKSTRUCT structure contains information about a low-level keyboard input event.

typedef struct tagKBDLLHOOKSTRUCT {

    DWORD vkCode;      // virtual key code

    DWORD scanCode;    // scan code

    DWORD flags;       // flags

    DWORD time;        // time stamp for this message

    DWORD dwExtraInfo; // extra info from the driver or keybd_event

} KBDLLHOOKSTRUCT, FAR *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT;

 

Members

vkCode
Specifies a virtual-key code. The code must be a value in the range 1 to 254.
scanCode
Specifies a hardware scan code for the key.
flags
Specifies the extended-key flag, event-injected flag, context code, and transition-state flag.

  Value

Description

0

Specifies whether the key is an extended key, such as a function key or a key on the numeric keypad. The value is 1 if the key is an extended key; otherwise, it is 0.

1-3

Reserved.

4

Specifies whether the event was injected. The value is 1 if the event was injected; otherwise, it is 0.

5

Specifies the context code. The value is 1 if the ALT key is pressed; otherwise, it is 0.

6

Reserved.

7

Specifies the transition state. The value is 0 if the key is pressed and 1 if it is being released.

An application can use the following values to test the keystroke flags:

Value

Purpose

LLKHF_EXTENDED

Test the extended-key flag.

LLKHF_INJECTED

Test the event-injected flag.

LLKHF_ALTDOWN

Test the context code.

LLKHF_UP

Test the transition-state flag.

time
Specifies the time stamp for this message.
dwExtraInfo
Specifies extra information associated with the message.

See Also

LowLevelKeyboardProc, SetWindowsHookEx


file: /Techref/os/win/api/win32/struc/src/str09_18.htm, 4KB, , updated: 2006/6/29 02:06, local time: 2024/11/7 19:20,
TOP NEW HELP FIND: 
3.144.172.125:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/struc/src/str09_18.htm"> KBDLLHOOKSTRUCT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .