COMPONENT (Structures)
Last changed: -196.41.14.97

.
Summary
Contains the desktop item options.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct COMPONENTSOPT
{
     public static readonly int SizeOf = Marshal.SizeOf(typeof(COMPONENTSOPT));
     public int dwSize;
     [MarshalAs(UnmanagedType.Bool)]
     public bool fEnableComponents;
     [MarshalAs(UnmanagedType.Bool)]
     public bool fActiveDesktop;
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Public Structure COMPONENTSOPT
    Public Shared ReadOnly SizeOf As Integer
    Public dwSize As Integer
    <MarshalAs(UnmanagedType.Bool)> _
    Public fEnableComponents As Boolean
    <MarshalAs(UnmanagedType.Bool)> _
    Public fActiveDesktop As Boolean
    Shared Sub New()
    COMPONENTSOPT.SizeOf = Marshal.SizeOf(GetType(COMPONENTSOPT))
    End Sub
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation