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