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)
540if (!_lastHResult.Succeeded) 781public int LastHResult => (int)_lastHResult;