GetThemeSysColorBrush function uxtheme

HBRUSH GetThemeSysColorBrush(
  1. HTHEME? hTheme,
  2. THEME_PROPERTY_SYMBOL_ID iColorId
)

Retrieves a system color brush.

To learn more, see learn.microsoft.com/windows/win32/api/uxtheme/nf-uxtheme-getthemesyscolorbrush.

Implementation

@pragma('vm:prefer-inline')
HBRUSH GetThemeSysColorBrush(
  HTHEME? hTheme,
  THEME_PROPERTY_SYMBOL_ID iColorId,
) => HBRUSH(_GetThemeSysColorBrush(hTheme ?? NULL, iColorId));