IDCompositionTarget interface

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

When to implement

Client applications do not implement IDCompositionTarget; custom implementations are not supported.

Members

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

Methods

The IDCompositionTarget interface has these methods.

MethodDescription
SetRoot

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

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice::CreateTargetForHwnd
IDCompositionVisual

 

 

Community Additions

ADD
Show:
© 2014 Microsoft