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

Fixes #28178

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
This commit is contained in:
trop[bot]
2021-03-16 15:44:06 -07:00
committed by GitHub
parent 44eb30fa71
commit 6c09c2c644

View File

@@ -1404,6 +1404,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.