7 references to GetWindowThreadProcessId
System.Windows.Forms (6)
System\Windows\Forms\Application.ThreadContext.cs (1)
355uint hwndThread = PInvokeCore.GetWindowThreadProcessId(_parkingWindows[0], out _);
System\Windows\Forms\Control.cs (4)
1536? PInvokeCore.GetWindowThreadProcessId(this, out _) 2399return PInvokeCore.GetWindowThreadProcessId(control, out _) != PInvokeCore.GetCurrentThreadId(); 5054if (PInvokeCore.GetWindowThreadProcessId(marshaler, out _) == PInvokeCore.GetCurrentThreadId()) 6500bool syncSameThread = synchronous && PInvokeCore.GetWindowThreadProcessId(this, out _) == PInvokeCore.GetCurrentThreadId();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (1)
90PInvokeCore.GetWindowThreadProcessId(_control, out _thisProcessId);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
74PInvokeCore.GetWindowThreadProcessId(adornerWindow, out _thisProcessID);