RGNDATA
struct RGNDATA
The RGNDATA structure contains a header and an array of rectangles that compose a region. The rectangles are sorted top to bottom, left to right. They do not overlap.
using System;
using System.CodeDom.Compiler;
using Windows.Win32.Foundation;
namespace Windows.Win32.Graphics.Gdi
{
[GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal struct RGNDATA
{
internal RGNDATAHEADER rdh;
internal VariableLengthInlineArray<CHAR> Buffer;
internal unsafe static int SizeOf(int count)
{
int num = sizeof(RGNDATA);
if (count > 1)
num += checked((count - 1) * sizeof(CHAR));
else if (count < 0) {
throw new ArgumentOutOfRangeException();
}
return num;
}
}
}