[New for Windows NT 4.0 Service Pack 3.]
The MSLLHOOKSTRUCT structure contains information about a low-level keyboard input event.
typedef struct tagMSLLHOOKSTRUCT { DWORD pt; DWORD mouseData; DWORD flags; DWORD time; DWORD dwExtraInfo; } MSLLHOOKSTRUCT, FAR *LPMSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT;
Value |
Description |
0 |
Specifies whether the event was injected. The value is 1 if the event was injected; otherwise, it is 0. |
1-15 |
Reserved. |
An application can use the following value to test the mouse flags:
Value |
Purpose |
LLMHF_INJECTED |
Test the event-injected flag. |
LowLevelMouseProc, POINT, SetWindowsHookEx, WM_MOUSEWHEEL
Questions:
my os is win2000 with service pack4 installed. when i declare
MSLLHOOKSTRUCT the vc++ 6.0 compiler generates error as undefined identifier. i also included winuser.h and windows.h header file. Tell me a way to solve this.