DWM Enable Composition Constants

Flags used by the DwmEnableComposition function to change the state of Desktop Window Manager (DWM) composition.

DWM_EC_DISABLECOMPOSITION

0

Disable composition.

DWM_EC_ENABLECOMPOSITION

1

Enable composition.

Requirements

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