I defined the struct as below.
When I try to asign a value to rgxTabs(0), I get an exception that rgxTabs
is null.
What more do I need to do??
public struct PARAFORMAT
{
public int cbSize;
public int dwMask;
public short wNumbering;
public short wReserved;
public int dxStartIndent;
public int dxRightIndent;
public int dxOffset;
public short wAlignment;
public short cTabCount;
[MarshalAs( UnmanagedType.ByValArray, SizeConst = 32 )] public int[]
rgxTabs; // MAX_TAB_STOPS
}