| #define HOOK_GOON 0 |
| #define HOOK_STOP 1 |
Registers a key message hook.
This function registers a key message hook pointed to by hook.
When the desktop receives a key message, it will send it to the hook first, and passes the context value to the hook as the first argument.
| context | The context value will be passed to the hook. | |
| hook | The hook. This function will unregister the old hook if hook is NULL. |
Registers a mouse message hook.
This function registers a mouse message hook pointed to by hook.
When the desktop receives a mouse message, it will send it to the hook first, and passes the context value to the hook as the first argument.
| context | The context value will be passed to the hook. | |
| hook | The hook. This function will unregister the old hook if hook is NULL. |
1.6.3