IsCompositionActive function

Determines whether Desktop Window Manager (DWM) composition effects are available to the theme.


void IsCompositionActive(



This function has no parameters.

Return Value

Type: BOOL

TRUE if composition effects are available; otherwise, FALSE.


Composition effects are provided through the DWM. This function first determines whether DWM is active, then checks whether it has composition effects enabled.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uxtheme.h
DLL UxTheme.dll