DwmSetWindowAttribute function dwmapi

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

Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window.

DWMAPI DwmSetWindowAttribute(
  HWND    hwnd,
  DWORD   dwAttribute,
  LPCVOID pvAttribute,
  DWORD   cbAttribute
);

Implementation

int DwmSetWindowAttribute(
        int hwnd, int dwAttribute, Pointer pvAttribute, int cbAttribute) =>
    _DwmSetWindowAttribute(hwnd, dwAttribute, pvAttribute, cbAttribute);