27 writes to _lastHResult
System.Windows.Forms (27)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (27)
229
_lastHResult
= PInvoke.DrawThemeBackground(htheme, dc, Part, State, bounds, null);
233
_lastHResult
= PInvoke.DrawThemeBackground(HTHEME, dc, Part, State, bounds, null);
256
_lastHResult
= PInvoke.DrawThemeBackground(htheme, dc, Part, State, bounds, clipRectangle);
260
_lastHResult
= PInvoke.DrawThemeBackground(HTHEME, dc, Part, State, bounds, clipRectangle);
282
_lastHResult
= PInvoke.DrawThemeEdge(
348
_lastHResult
= PInvoke.DrawThemeParentBackground(childControl.HWND, hdc, bounds);
389
_lastHResult
= PInvoke.DrawThemeText(
420
_lastHResult
= PInvoke.GetThemeBackgroundContentRect(HTHEME, dc, Part, State, bounds, out RECT rect);
437
_lastHResult
= PInvoke.GetThemeBackgroundExtent(HTHEME, hdc, Part, State, contentBounds, out RECT extents);
457
_lastHResult
= PInvoke.GetThemeBackgroundRegion(HTHEME, hdc, Part, State, bounds, &hrgn);
481
_lastHResult
= PInvoke.GetThemeBool(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out BOOL value);
493
_lastHResult
= PInvoke.GetThemeColor(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out COLORREF color);
505
_lastHResult
= PInvoke.GetThemeEnumValue(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value);
520
_lastHResult
= PInvoke.GetThemeFilename(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, pFilename, filename.Length);
537
_lastHResult
= PInvoke.GetThemeFont(this, hdc, Part, State, (int)prop, out LOGFONT logfont);
564
_lastHResult
= PInvoke.GetThemeInt(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out int value);
587
_lastHResult
= PInvoke.GetThemePartSize(htheme, dc, Part, State, null, (THEMESIZE)type, out SIZE dpiSize);
591
_lastHResult
= PInvoke.GetThemePartSize(HTHEME, dc, Part, State, null, (THEMESIZE)type, out SIZE size);
606
_lastHResult
= PInvoke.GetThemePartSize(HTHEME, hdc, Part, State, bounds, (THEMESIZE)type, out SIZE size);
618
_lastHResult
= PInvoke.GetThemePosition(HTHEME, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, out Point point);
633
_lastHResult
= PInvoke.GetThemeMargins(HTHEME, hdc, Part, State, (THEME_PROPERTY_SYMBOL_ID)prop, null, out MARGINS margins);
649
_lastHResult
= PInvoke.GetThemeString(HTHEME, Part, State, (int)prop, pString, aString.Length);
664
_lastHResult
= PInvoke.GetThemeTextExtent(
687
_lastHResult
= PInvoke.GetThemeTextExtent(
709
_lastHResult
= PInvoke.GetThemeTextMetrics(HTHEME, hdc, Part, State, out TEXTMETRICW tm);
721
_lastHResult
= PInvoke.HitTestThemeBackground(
755
_lastHResult
= PInvoke.HitTestThemeBackground(
2 references to _lastHResult
System.Windows.Forms (2)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
540
if (!
_lastHResult
.Succeeded)
781
public int LastHResult => (int)
_lastHResult
;