Export (0) Print
Expand All

IDCompositionVisual::RemoveAllVisuals method

Removes all visuals from the children list of this visual.

Syntax


HRESULT RemoveAllVisuals();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

Remarks

This method can be called even if this visual has no children.

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::CreateVisual
IDCompositionVisual
IDCompositionVisual::AddVisual
IDCompositionVisual::RemoveVisual

 

 

Community Additions

ADD
Show:
© 2014 Microsoft