IMILBitmapEffectPrimitive::GetOutput method

Performs pixel processing for the bitmap effect.

Syntax

HRESULT GetOutput(
  ULONG                         uiIndex,
  IMILBitmapEffectRenderContext *pContext,
  VARIANT_BOOL                  *pfModifyInPlace,
  IWICBitmapSource              **ppBitmapSource
);

Parameters

uiIndex

Type: ULONG

A zero based index value indicating which output pin to use for output.

pContext

Type: IMILBitmapEffectRenderContext*

The render context to use to determine how the effect should be rendered.

pfModifyInPlace

Type: VARIANT_BOOL*

A value that indicates whether the effect should attempt to modify the input image in place.

ppBitmapSource

Type: IWICBitmapSource**

When this method returns, contains a pointer to the effect output.

Return Value

Type: HRESULT

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

Remarks

If pfModifyInPlace is VARIANT_TRUE, the input image may be modified and returned. If the custom effect does not support in place modifications, set pfModifyInPlace to VARIANT_FALSE to indicate a new image was created.

Requirements

   
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mileffects.h
Redistributable Microsoft .Net 3.0