IDCompositionDevice3::CreateBrightnessEffect method

Creates an instance of IDCompositionBrightnessEffect.

Syntax

HRESULT CreateBrightnessEffect(
  IDCompositionBrightnessEffect **brightnessEffect
);

Parameters

brightnessEffect

Type: IDCompositionBrightnessEffect**

Receives the created instance of IDCompositionBrightnessEffect.

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

IDCompositionDevice3