[DllImport("user32.dll", SetLastError = true)] public static extern IntPtr BeginPaint( IntPtr hWnd, [In, Out] ref PAINTSTRUCT lpPaint );
Microsoft documentation: Link
Last updated 1 year ago