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

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.