GetWindowRgn

[DllImport("user32.dll", SetLastError = true)]
public static extern int GetWindowRgn(
   IntPtr hWnd,
   IntPtr hRgn
);

Microsoft documentation: Link

Last updated