DwmGetWindowAttribute function (dwmapi.h) - Win32 apps
Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window.