1 using System; 2 using System.Runtime.InteropServices; 3 4 namespace MyGUI.Sharp 5 { 6 [StructLayout(LayoutKind.Sequential)] 7 public struct DDWidgetState 8 { 9 [MarshalAs(UnmanagedType.U4)] 10 public uint index; 11 [MarshalAs(UnmanagedType.U1)] 12 public bool update; 13 [MarshalAs(UnmanagedType.U1)] 14 public bool accept; 15 [MarshalAs(UnmanagedType.U1)] 16 public bool refuse; 17 } 18 } 19