OpenThemeDataForDpi function uxtheme

int OpenThemeDataForDpi(
  1. int hwnd,
  2. Pointer<Utf16> pszClassList,
  3. int dpi
)

A variant of OpenThemeData that opens a theme handle associated with a specific DPI.

HTHEME OpenThemeDataForDpi(
  HWND    hwnd,
  LPCWSTR pszClassList,
  UINT    dpi
);

Implementation

int OpenThemeDataForDpi(int hwnd, Pointer<Utf16> pszClassList, int dpi) =>
    _OpenThemeDataForDpi(hwnd, pszClassList, dpi);