Source position: jwawinuser.pas line 6909
function GetWindowThreadProcessId(
hWnd: HWND;
lpdwProcessId: LPDWORD
):DWORD;