IDirectManipulationCompositor::RemoveContent method

Removes content from the compositor.

Syntax


HRESULT RemoveContent(
  [in]  IDirectManipulationContent *content
);

Parameters

content [in]

The content to remove from the composition tree.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method removes content added with AddContent and restores the original relationships between parent visuals and child visuals in the composition tree. In other words, RemoveContent undoes AddContent.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationCompositor is defined as 537A0825-0387-4EFA-B62F-71EB1F085A7E

See also

IDirectManipulationCompositor

 

 

Community Additions

ADD
Show:
© 2014 Microsoft