3 writes to _deviceHandle
ReachFramework (3)
PrintConfig\FallbackPTProvider.cs (3)
56
if (false == UnsafeNativeMethods.OpenPrinterW(deviceName, out this.
_deviceHandle
, new HandleRef(this, IntPtr.Zero)))
355
this.
_deviceHandle
= null;
663
_deviceHandle
= null;
7 references to _deviceHandle
ReachFramework (7)
PrintConfig\FallbackPTProvider.cs (7)
353
_deviceHandle
?.Dispose();
511
result = UnsafeNativeMethods.DocumentPropertiesW(new HandleRef(this, IntPtr.Zero), this.
_deviceHandle
, this._deviceName, outPtr, buffer, flags);
619
UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, SafeMemoryHandle.Null, dwNeeded, ref dwNeeded);
625
if (UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, pPrinterBuffer.Handle, dwNeeded, ref dwNeeded))
642
ObjectDisposedException.ThrowIf(
_deviceHandle
is null, typeof(PTProvider));
660
if (
_deviceHandle
!= null)
662
_deviceHandle
.Dispose();