12 references to Null
System.Drawing.Common (7)
System\Drawing\BufferedGraphicsContext.cs (3)
77return AllocBufferInTempManager(targetGraphics, HDC.Null, targetRectangle); 80return AllocBuffer(targetGraphics, HDC.Null, targetRectangle); 433_compatDC = HDC.Null;
System\Drawing\Graphics.cs (2)
146_nativeHdc = HDC.Null; 3293HDC hdc = HDC.Null;
System\Drawing\Printing\DefaultPrintController.cs (1)
17HDC IHandle<HDC>.Handle => _hdc?.Handle ?? HDC.Null;
System\Drawing\Printing\PreviewPrintController.cs (1)
58HDC hdc = _hdc ?? HDC.Null;
System.Drawing.Common.Tests (2)
System\Drawing\ImageTests.cs (1)
673HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.Null, default, null, default(PCWSTR));
System\Drawing\Imaging\MetafileTests.cs (1)
1025HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.Null, default, null, default(PCWSTR));
System.Windows.Forms.Primitives.Tests (3)
Windows\Win32\RegionTests.cs (3)
14using CreateDcScope hdc = new(HDC.Null); 34using CreateDcScope hdc = new(HDC.Null); 48using CreateDcScope hdc = new(HDC.Null);