4 references to DCSafeHandle
WindowsFormsIntegration (4)
MS\Win32\UnsafeNativeMethods.cs (3)
41public static extern int GetDeviceCaps(DCSafeHandle hDC, int nIndex); 45private static extern DCSafeHandle IntCreateDC(string lpszDriver, string lpszDeviceName, string lpszOutput, IntPtr devMode); 49public static DCSafeHandle CreateDC(string lpszDriver)
System\Windows\Integration\HostUtils.cs (1)
384using (DCSafeHandle screenDC = UnsafeNativeMethods.CreateDC(DISPLAY))