//Use this function to make a new one with cbSize already filled in.
        //For example:
        //var WndClss = WNDCLASSEX.Build()
        public static WNDCLASSEX Build()
        {
            var nw = new WNDCLASSEX();

            nw.cbSize = Marshal.SizeOf(typeof(WNDCLASSEX));
            return(nw);
        }
 public static extern short RegisterClassEx([In] ref WNDCLASSEX lpwcx);