WM_DWMCOMPOSITIONCHANGED message

Informs all top-level windows that Desktop Window Manager (DWM) composition has been enabled or disabled.

Note

As of Windows 8, DWM composition is always enabled, so this message is not sent regardless of video mode changes.

Parameters

wParam

Not used.

lParam

Not used.

Return value

If an application processes this message, it should return zero.

Remarks

A window receives this message through its WindowProc function.

The DwmIsCompositionEnabled function can be used to determine the current composition state.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Winuser.h