IDCompositionTarget interface (dcomp.h)

Represents a binding between a Microsoft DirectComposition visual tree and a destination on top of which the visual tree should be composed.

Inheritance

The IDCompositionTarget interface inherits from the IUnknown interface. IDCompositionTarget also has these types of members:

Methods

The IDCompositionTarget interface has these methods.

 
IDCompositionTarget::SetRoot

Sets a visual object as the new root object of a visual tree.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header dcomp.h

See also

IDCompositionDevice::CreateTargetForHwnd

IDCompositionVisual