COMPSTATEINFO (Structures)
Last changed: Jack Hudler-216.198.83.226

.
Summary

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct COMPSTATEINFO
{
     public static readonly int SizeOf = Marshal.SizeOf(typeof(COMPSTATEINFO));
     public int dwSize;
     public int iLeft;
     public int iTop;
     public int dwWidth;
     public int dwHeight;
     public CompItemState dwItemState;
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _

Public Structure COMPSTATEINFO
    Public Shared ReadOnly SizeOf As Integer
    Public dwSize As Integer
    Public iLeft As Integer
    Public iTop As Integer
    Public dwWidth As Integer
    Public dwHeight As Integer
    Public dwItemState As CompItemState
    Shared Sub New()
    COMPSTATEINFO.SizeOf = Marshal.SizeOf(GetType(COMPSTATEINFO))
    End Sub
End Structure

User-Defined Field Types:

None.

Notes:

see CompItemState

Documentation