IMILBitmapEffectImpl::GetInputBitmapSource method (mileffects.h)

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

Syntax

HRESULT GetInputBitmapSource(
  [in]          ULONG                         uiIndex,
  [in]          IMILBitmapEffectRenderContext *pRenderContext,
  [in, out]     VARIANT_BOOL                  *pfModifyInPlace,
  [out, retval] IWICBitmapSource              **ppBitmapSource
);

Parameters

[in] uiIndex

Type: ULONG

The index of the of the input bitmap source.

[in] pRenderContext

Type: IMILBitmapEffectRenderContext*

A pointer to the IMILBitmapEffectRenderContext.

[in, out] pfModifyInPlace

Type: VARIANT_BOOL*

A value that indicates whether to modify in-place.

[out, retval] ppBitmapSource

Type: IWICBitmapSource**

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

Return value

Type: HRESULT

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

Requirements

Requirement Value
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