IMILBitmapEffectImpl::GetOutputBitmapSource method

Gets the output bitmap source of the effect of the given render context.

Syntax

HRESULT GetOutputBitmapSource(
  ULONG                         uiIndex,
  IMILBitmapEffectRenderContext *pRenderContext,
  VARIANT_BOOL                  *pfModifyInPlace,
  IWICBitmapSource              **ppBitmapSource
);

Parameters

uiIndex

Type: ULONG

The index of the of the output bitmap source.

pRenderContext

Type: IMILBitmapEffectRenderContext*

A pointer to the IMILBitmapEffectRenderContext.

pfModifyInPlace

Type: VARIANT_BOOL*

A value that indicates whether to modify in-place.

ppBitmapSource

Type: IWICBitmapSource**

A pointer that receives a pointer to the output IWICBitmapSource Interface.

Return Value

Type: HRESULT

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

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