3 writes to _deviceHandle
ReachFramework (3)
PrintConfig\FallbackPTProvider.cs (3)
56
if (false == UnsafeNativeMethods.OpenPrinterW(deviceName, out this.
_deviceHandle
, new HandleRef(this, IntPtr.Zero)))
358
this.
_deviceHandle
= null;
666
_deviceHandle
= null;
8 references to _deviceHandle
ReachFramework (8)
PrintConfig\FallbackPTProvider.cs (8)
353
if (
_deviceHandle
!= null)
355
_deviceHandle
.Dispose();
514
result = UnsafeNativeMethods.DocumentPropertiesW(new HandleRef(this, IntPtr.Zero), this.
_deviceHandle
, this._deviceName, outPtr, buffer, flags);
622
UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, SafeMemoryHandle.Null, dwNeeded, ref dwNeeded);
628
if (UnsafeNativeMethods.GetPrinterW(this.
_deviceHandle
, dwLevel, pPrinterBuffer.Handle, dwNeeded, ref dwNeeded))
645
ObjectDisposedException.ThrowIf(
_deviceHandle
is null, typeof(PTProvider));
663
if (
_deviceHandle
!= null)
665
_deviceHandle
.Dispose();