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