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