IDCompositionFilterEffect::SetInput method (dcomp.h)

Sets the input at an index to the specified filter effect.

Syntax

HRESULT SetInput(
  [in]           UINT     index,
  [in, optional] IUnknown *input,
  [in]           UINT     flags
);

Parameters

[in] index

Type: UINT

Specifies the index the to apply the filter effect at.

[in, optional] input

Type: IUnknown*

The filter effect to apply. The following effects are available:

[in] flags

Type: UINT

Flags to apply to the filter effect.

Return value

Type: HRESULT

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

Requirements

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

See also

IDCompositionFilterEffect