getWindowHandle

getWindowHandle(): MemoryAddress;

The getWindowHandle method of the Window class returns the Microsoft Windows handle as a MemoryAddress for a form or control.

If a node can execute as a 32‑ or 64‑bit node, you should use this method to ensure that the correct Windows handle is used, rather than the Window class hwnd and getHwnd methods, which return an integer value.