IsCompositionActive function

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

Syntax

void IsCompositionActive(

);

Parameters

This function has no parameters.

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

   
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