GetWindowThreadProcessId Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll")]
public static extern int GetWindowThreadProcessId(int hwnd, ref int lpdwProcessId);