SetWindowThemeAttribute function uxtheme

int SetWindowThemeAttribute(
  1. int hwnd,
  2. int eAttribute,
  3. Pointer<NativeType> pvAttribute,
  4. int cbAttribute
)

Sets attributes to control how visual styles are applied to a specified window.

HRESULT SetWindowThemeAttribute(
  [in] HWND                     hwnd,
       WINDOWTHEMEATTRIBUTETYPE eAttribute,
  [in] PVOID                    pvAttribute,
  [in] DWORD                    cbAttribute
);

Implementation

int SetWindowThemeAttribute(
        int hwnd, int eAttribute, Pointer pvAttribute, int cbAttribute) =>
    _SetWindowThemeAttribute(hwnd, eAttribute, pvAttribute, cbAttribute);