<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.7.25380.108" />

PAINTSTRUCT

struct PAINTSTRUCT
The PAINTSTRUCT structure contains information for an application. This information can be used to paint the client area of a window owned by that application.
using System.CodeDom.Compiler; using Windows.Win32.Foundation; namespace Windows.Win32.Graphics.Gdi { [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct PAINTSTRUCT { internal HDC hdc; internal BOOL fErase; internal RECT rcPaint; internal BOOL fRestore; internal BOOL fIncUpdate; internal __byte_32 rgbReserved; } }