IDirectManipulationCompositor::RemoveContent method (directmanipulation.h)

Removes content from the compositor.

Syntax

HRESULT RemoveContent(
  [in] IDirectManipulationContent *content
);

Parameters

[in] content

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

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

See also

IDirectManipulationCompositor