4 references to GetWindowThreadProcessId
UIAutomationClient (4)
MS\Internal\Automation\HwndProxyElementProvider.cs (3)
163if (SafeNativeMethods.GetWindowThreadProcessId(_hwnd, out pid) == 0) 433int guiThreadId = SafeNativeMethods.GetWindowThreadProcessId(_hwnd, out pid); 1581int thread = SafeNativeMethods.GetWindowThreadProcessId(_hwnd, out process);
MS\Internal\Automation\SafeProcessHandle.cs (1)
42if (SafeNativeMethods.GetWindowThreadProcessId(hwnd, out processId) == 0)