1 instantiation of SafeDC
PresentationFramework (1)
System\Windows\Standard\NativeMethods.cs (1)
1510
return new
SafeDC
25 references to SafeDC
PresentationFramework (25)
System\Windows\Standard\NativeMethods.cs (23)
1374
public static extern
SafeDC
GetDC(IntPtr hwnd);
1378
public static extern
SafeDC
CreateDC([MarshalAs(UnmanagedType.LPWStr)] string lpszDriver, [MarshalAs(UnmanagedType.LPWStr)] string lpszDevice, IntPtr lpszOutput, IntPtr lpInitData);
1381
public static extern
SafeDC
CreateCompatibleDC(IntPtr hdc);
1418
public static
SafeDC
CreateDC(string deviceName)
1420
SafeDC
dc = null;
1444
public static
SafeDC
CreateCompatibleDC(
SafeDC
hdc)
1446
SafeDC
dc = null;
1477
public static
SafeDC
GetDC(IntPtr hwnd)
1479
SafeDC
dc = null;
1501
public static
SafeDC
GetDesktop()
1507
public static
SafeDC
WrapDC(IntPtr hdc)
2381
private static extern SafeHBITMAP _CreateDIBSection(
SafeDC
hdc, [In] ref BITMAPINFO bitmapInfo, int iUsage, [Out] out IntPtr ppvBits, IntPtr hSection, int dwOffset);
2386
public static SafeHBITMAP CreateDIBSection(
SafeDC
hdc, ref BITMAPINFO bitmapInfo, out IntPtr ppvBits, IntPtr hSection, int dwOffset)
2680
public static extern int GetDeviceCaps(
SafeDC
hdc, DeviceCap nIndex);
3041
private static extern IntPtr _SelectObject(
SafeDC
hdc, IntPtr hgdiobj);
3043
public static IntPtr SelectObject(
SafeDC
hdc, IntPtr hgdiobj)
3054
private static extern IntPtr _SelectObjectSafeHBITMAP(
SafeDC
hdc, SafeHBITMAP hgdiobj);
3056
public static IntPtr SelectObject(
SafeDC
hdc, SafeHBITMAP hgdiobj)
3101
SafeDC
hdcDst,
3104
SafeDC
hdcSrc,
3125
SafeDC
hdcDst,
3128
SafeDC
hdcSrc,
System\Windows\Standard\Utilities.cs (2)
179
using (
SafeDC
dc =
SafeDC
.GetDesktop())