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