OpenThemeDataEx function uxtheme

HTHEME OpenThemeDataEx(
  1. HWND? hwnd,
  2. PCWSTR pszClassList,
  3. OPEN_THEME_DATA_FLAGS dwFlags
)

Opens the theme data associated with a window for specified theme classes.

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

Implementation

@pragma('vm:prefer-inline')
HTHEME OpenThemeDataEx(
  HWND? hwnd,
  PCWSTR pszClassList,
  OPEN_THEME_DATA_FLAGS dwFlags,
) => HTHEME(_OpenThemeDataEx(hwnd ?? nullptr, pszClassList, dwFlags));