FillRect

[DllImport("user32.dll", SetLastError = true)]
public static extern int FillRect(
   IntPtr hDC,
   [In] ref RECT lprc,
   IntPtr hbr
);

Microsoft documentation: Link

Last updated