GetWindowCompositionAttribute function user32

bool GetWindowCompositionAttribute(
  1. HWND hwnd,
  2. Pointer<WINDOWCOMPOSITIONATTRIBDATA> pwcad
)

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

To learn more, see learn.microsoft.com/windows/win32/dwm/getwindowcompositionattribute.

Implementation

@pragma('vm:prefer-inline')
bool GetWindowCompositionAttribute(
  HWND hwnd,
  Pointer<WINDOWCOMPOSITIONATTRIBDATA> pwcad,
) => _GetWindowCompositionAttribute(hwnd, pwcad) != FALSE;