IsCompositionActive function (uxtheme.h)

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

Syntax

BOOL IsCompositionActive();

Return value

Type: BOOL

TRUE if composition effects are available; otherwise, FALSE.

Remarks

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

Requirements

Requirement Value
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