SIGN IN SIGN UP

windows: get pid with win32 api (#8785)

While trying to get mouse/keyboard support in for Windows I ran into a
stack overflow issue related to the pid being `-1`. Getting the proper
process ID seems to fix it.

Release Notes:

- Fixed stack overflow on Windows
E
Ezekiel Warren committed
36d9b3d48364e7423a3c660ba5dc00633c33cfa6
Parent: a5eab29
Committed by GitHub <noreply@github.com> on 3/3/2024, 7:42:36 PM