SetWindowTheme function Null safety uxtheme

int SetWindowTheme(
  1. int hwnd,
  2. Pointer<Utf16> pszSubAppName,
  3. Pointer<Utf16> pszSubIdList
)

Causes a window to use a different set of visual style information than its class normally uses.

HRESULT SetWindowTheme(
  HWND    hwnd,
  LPCWSTR pszSubAppName,
  LPCWSTR pszSubIdList
);

Implementation

int SetWindowTheme(
        int hwnd, Pointer<Utf16> pszSubAppName, Pointer<Utf16> pszSubIdList) =>
    _SetWindowTheme(hwnd, pszSubAppName, pszSubIdList);