From b045d42b0e19eeb86d6ca6f211c23017125ad20f Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 16 Mar 2021 01:54:41 -0700 Subject: [PATCH] docs: document the parameter structure of hookWindowMessage (#28189) Fixes #28178 --- docs/api/browser-window.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index edac2f406325..dec55f3b360b 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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.