IDCompositionVisual3::SetVisible method (dcomp.h)

Changes the value of the visual's Visible property.

Syntax

HRESULT SetVisible(
  BOOL visible
);

Parameters

visible

Type: BOOL

The new value for the visible property.

Return value

Type: HRESULT

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

Requirements

   
Target Platform Windows
Header dcomp.h
Library Dcomp.lib
DLL Dcomp.dll

See also

IDCompositionVisual3