14 references to CommonHandles
System.Drawing (14)
commonui\System\Drawing\Advanced\Gdiplus.cs (10)
3927
return System.Internal.HandleCollector.Add(IntCreateCompatibleBitmap(hDC, width, height), SafeNativeMethods.
CommonHandles
.GDI);
3939
return System.Internal.HandleCollector.Add(IntCreateBitmap(width, height, planes, bpp, bitmapData), SafeNativeMethods.
CommonHandles
.GDI);
3984
return System.Internal.HandleCollector.Add(IntCreateDIBSection(hdc, ref bmi, iUsage, ref ppvBits, hSection, dwOffset), SafeNativeMethods.
CommonHandles
.GDI);
4062
return System.Internal.HandleCollector.Add(IntCreateRectRgn(x1, y1, x2, y2), SafeNativeMethods.
CommonHandles
.GDI);
4780
System.Internal.HandleCollector.Remove((IntPtr)hObject, SafeNativeMethods.
CommonHandles
.GDI);
4813
return System.Internal.HandleCollector.Add(IntCreateIconFromResourceEx(pbIconBits, cbIconBits, fIcon, dwVersion, csDesired, cyDesired, flags), SafeNativeMethods.
CommonHandles
.Icon);
4823
return System.Internal.HandleCollector.Add(IntExtractAssociatedIcon(hInst, iconPath, ref index), SafeNativeMethods.
CommonHandles
.Icon);
4848
System.Internal.HandleCollector.Remove((IntPtr)hIcon, SafeNativeMethods.
CommonHandles
.Icon);
4861
handleType = SafeNativeMethods.
CommonHandles
.Icon;
4864
handleType = SafeNativeMethods.
CommonHandles
.GDI;
commonui\System\Drawing\UnsafeNativeMethods.cs (4)
35
return System.Internal.HandleCollector.Add(IntGetDC(hWnd), SafeNativeMethods.
CommonHandles
.HDC);
42
System.Internal.HandleCollector.Remove((IntPtr)hDC, SafeNativeMethods.
CommonHandles
.GDI);
50
System.Internal.HandleCollector.Remove((IntPtr)hDC, SafeNativeMethods.
CommonHandles
.HDC);
98
return System.Internal.HandleCollector.Add(IntCreateCompatibleDC(hDC), SafeNativeMethods.
CommonHandles
.GDI);