IMILBitmapEffectFactory::CreateEffect method (mileffects.h)

Creates an IMILBitmapEffect object.

Syntax

HRESULT CreateEffect(
  [in]  const GUID       *pguidEffect,
  [out] IMILBitmapEffect **ppEffect
);

Parameters

[in] pguidEffect

Type: const GUID*

A pointer to the GUID of the effect to create.

[out] ppEffect

Type: IMILBitmapEffect**

A pointer that receives a pointer to a new IMILBitmapEffectPrimitive object.

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
DLL Mileffects.dll
Redistributable Microsoft .Net 3.0