3 writes to _deviceHandle
ReachFramework (3)
PrintConfig\FallbackPTProvider.cs (3)
60
if (false == UnsafeNativeMethods.OpenPrinterW(deviceName, out this.
_deviceHandle
, new HandleRef(this, IntPtr.Zero)))
362
this.
_deviceHandle
= null;
670
_deviceHandle
= null;
8 references to _deviceHandle
ReachFramework (8)
PrintConfig\FallbackPTProvider.cs (8)
357
if (
_deviceHandle
!= null)
359
_deviceHandle
.Dispose();
518
result = UnsafeNativeMethods.DocumentPropertiesW(new HandleRef(this, IntPtr.Zero), this.
_deviceHandle
, this._deviceName, outPtr, buffer, flags);
626
UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, SafeMemoryHandle.Null, dwNeeded, ref dwNeeded);
632
if (UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, pPrinterBuffer.Handle, dwNeeded, ref dwNeeded))
649
ObjectDisposedException.ThrowIf(
_deviceHandle
is null, typeof(PTProvider));
667
if (
_deviceHandle
!= null)
669
_deviceHandle
.Dispose();