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