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