[DllImport("dwmapi.dll", SetLastError = true)] public static extern int DwmGetWindowAttribute( IntPtr hwnd, int dwAttribute, IntPtr pvAttribute, int cbAttribute );
Microsoft documentation: Link
Last updated 1 year ago