DwmGetWindowAttribute function dwmapi

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

Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window.

DWMAPI DwmGetWindowAttribute(
  HWND  hwnd,
  DWORD dwAttribute,
  PVOID pvAttribute,
  DWORD cbAttribute
);

Implementation

int DwmGetWindowAttribute(
        int hwnd, int dwAttribute, Pointer pvAttribute, int cbAttribute) =>
    _DwmGetWindowAttribute(hwnd, dwAttribute, pvAttribute, cbAttribute);