correcting calls to GetWindowThreadProcessId
add 'InputDebugTool' to project