protected virtual void Dispose(bool disposing) { if (handle != IntPtr.Zero) { NativeInvoke.PMRelease(handle); handle = IntPtr.Zero; } }
internal PMPrintCoreBase(IntPtr handle, bool owns) { if (!owns) { NativeInvoke.PMRetain(handle); } this.handle = handle; }