13 references to GetObject
System.Drawing.Common (1)
System\Drawing\Font.cs (1)
551
PInvokeCore.
GetObject
((HGDIOBJ)hfont, out LOGFONT logFont);
System.Windows.Forms (5)
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
108
if (!PInvokeCore.
GetObject
(hBitmap, out BITMAP bmp))
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
223
PInvokeCore.
GetObject
(imageInfo.hbmImage, out BITMAP bmp);
System\Windows\Forms\Input\Cursor.cs (2)
382
PInvokeCore.
GetObject
(info.hbmColor, out BITMAP bitmap);
387
PInvokeCore.
GetObject
(info.hbmMask, out BITMAP bitmap);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
185
PInvokeCore.
GetObject
(palette, out uint entryCount);
System.Windows.Forms.Primitives.Tests (1)
Interop\Gdi32\GetStockObjectTests.cs (1)
17
PInvokeCore.
GetObject
(hgdiobj, out LOGBRUSH logBrush);
System.Windows.Forms.Primitives.TestUtilities (6)
DeviceContextState.cs (6)
42
PInvokeCore.
GetObject
(hfont, out LOGFONTW logfont);
46
PInvokeCore.
GetObject
(hpen, out LOGPEN logpen);
50
PInvokeCore.
GetObject
(hbrush, out LOGBRUSH logbrush);
152
PInvokeCore.
GetObject
(hgdiobj, out LOGFONTW logfont);
162
PInvokeCore.
GetObject
(hgdiobj, out LOGBRUSH logBrush);
169
PInvokeCore.
GetObject
(hgdiobj, out LOGPEN logPen);