public CefWindowInfoWindowsImpl(cef_window_info_t* ptr) : base(false) { if (CefRuntime.Platform != CefRuntimePlatform.Windows) throw new InvalidOperationException(); _self = (cef_window_info_t_windows*)ptr; }
public static void Free(cef_window_info_t_windows *ptr) { if (ptr != null) { libcef.string_clear(&ptr->window_name); Marshal.FreeHGlobal((IntPtr)ptr); } }
public CefWindowInfoWindowsImpl(cef_window_info_t *ptr) : base(false) { if (CefRuntime.Platform != CefRuntimePlatform.Windows) { throw new InvalidOperationException(); } _self = (cef_window_info_t_windows *)ptr; }
protected internal override void DisposeNativePointer() { cef_window_info_t_windows.Free(_self); _self = null; }
public CefWindowInfoWindowsImpl() : base(true) { _self = cef_window_info_t_windows.Alloc(); }