GetWindowCompositionAttribute function user32
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;