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