docs: document the parameter structure of hookWindowMessage (#28189)

Fixes #28178
This commit is contained in:
Samuel Attard 2021-03-16 01:54:41 -07:00 committed by GitHub
parent d27ad0d182
commit b045d42b0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1316,6 +1316,8 @@ The native type of the handle is `HWND` on Windows, `NSView*` on macOS, and
* `message` Integer
* `callback` Function
* `wParam` any - The `wParam` provided to the WndProc
* `lParam` any - The `lParam` provided to the WndProc
Hooks a windows message. The `callback` is called when
the message is received in the WndProc.