"Corrected WindowSetupDesc Implementation (C# Side)"

// C#
 
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct WindowSetupDesc {
    public string Title;
    public uint Width;
    public uint Height;
    public InteropBool HideBorders;
    public InteropBool AllowResizing;
};


Code snippet taken from "P/Invoke Tips".