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