private static IntPtr layout_create(IntPtr parent, string layout_spec, bounds_t bounds, int min_w, int min_h) { IntPtr handle = layout_create_raw(parent, layout_spec, bounds, min_w, min_h); if(handle == IntPtr.Zero) throw new ArgumentException("layout"); return handle; }
private static extern IntPtr layout_create_raw(IntPtr parent, string layout_spec, bounds_t bounds, int min_w, int min_h);