DOC: SetWindowsHookEx Fails with Error 1429 ERROR_GLOBAL_ONLY_H

ID: Q186943

The information in this article applies to:

SUMMARY

When you use SetWindowsHookEx on Windows NT with the flags WH_KEYBOARD_LL or WH_MOUSE_LL as a thread-specific hook, it fails with error 1429 ERROR_GLOBAL_ONLY_HOOK.

MORE INFORMATION

WH_KEYBOARD_LL and WH_MOUSE_LL are system-only hooks. An error in the Win32 SDK Documentation states that they are both system-wide and thread-specific hooks.

REFERENCES

Win32 SDK Documentation for SetWindowsHookEx()

Additional query words: SetWindowsHookEx WH_KEYBOARD_LL WH_MOUSE_LL ERROR_GLOBAL_ONLY_HOOK

Keywords          : kbdocfix kbdocerr
Version           : WINNT:4.0
Platform          : winnt

Last Reviewed: August 5, 1998