Nucleus handler tools › Docs › ProtoInput › UpdateMainWindowHandle
ProtoInput.UpdateMainWindowHandle
Open in the workbench (search, and try it in a handler)
ProtoInput.UpdateMainWindowHandle(
instanceHandle: number,
hwnd: number
): void
Sets which window Proto Input treats as the game's main window (focus, cursor and input messages target it). Parameters: the instance handle and the window handle; 0 makes Proto Input pick the first visible top-level window of the game itself. After a non-zero handle, Proto Input stops searching for the main window on its own.
✎ AI-written, based on Nucleus ProtoInput.cs (UpdateMainWindowHandle), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp (UpdateMainWindowHandle), ProtoInputHooks HwndSelector.cpp (UpdateMainHwnd, RemoteHwndEnabled). Not from the official docs. Is it wrong? Tell us
Is this right?
Tell us what's wrong