Robuta

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowthreadprocessid?redirectedfrom=MSDN GetWindowThreadProcessId function (winuser.h) - Win32 apps | Microsoft Learn Retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window. functionhappsmicrosoftlearn