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