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