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