OpenThemeData function uxtheme

HTHEME OpenThemeData(
  1. HWND? hwnd,
  2. PCWSTR pszClassList
)

Opens the theme data for a window and its associated class.

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

Implementation

@pragma('vm:prefer-inline')
HTHEME OpenThemeData(HWND? hwnd, PCWSTR pszClassList) =>
    HTHEME(_OpenThemeData(hwnd ?? nullptr, pszClassList));