12 references to GetObject
System.Windows.Forms (5)
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
108if (!PInvokeCore.GetObject(hBitmap, out BITMAP bmp))
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
223PInvokeCore.GetObject(imageInfo.hbmImage, out BITMAP bmp);
System\Windows\Forms\Input\Cursor.cs (2)
382PInvokeCore.GetObject(info.hbmColor, out BITMAP bitmap); 387PInvokeCore.GetObject(info.hbmMask, out BITMAP bitmap);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
157PInvokeCore.GetObject(palette, out uint entryCount);
System.Windows.Forms.Primitives.Tests (1)
Interop\Gdi32\GetStockObjectTests.cs (1)
17PInvokeCore.GetObject(hgdiobj, out LOGBRUSH logBrush);
System.Windows.Forms.Primitives.TestUtilities (6)
DeviceContextState.cs (6)
44PInvokeCore.GetObject(hfont, out LOGFONTW logfont); 48PInvokeCore.GetObject(hpen, out LOGPEN logpen); 52PInvokeCore.GetObject(hbrush, out LOGBRUSH logbrush); 154PInvokeCore.GetObject(hgdiobj, out LOGFONTW logfont); 164PInvokeCore.GetObject(hgdiobj, out LOGBRUSH logBrush); 171PInvokeCore.GetObject(hgdiobj, out LOGPEN logPen);