Export (0) Print
Expand All

ID2D1Factory1::UnregisterEffect method

Unregisters an effect within the factory instance that corresponds to the classId provided.

Syntax


HRESULT UnregisterEffect(
  [in]  REFCLSID classId
);

Parameters

classId [in]

Type: REFCLSID

The identifier of the effect to be unregistered.

Return value

Type: HRESULT

D2DERR_EFFECT_IS_NOT_REGISTERED if the effect is not registered, S_OK otherwise.

Remarks

In order for the effect to be fully unloaded, you must call UnregisterEffect the same number of times that you have registered the effect.

The UnregisterEffect method unregisters only those effects that are registered on the same factory. It cannot be used to unregister a built-in effect.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Factory1
ID2D1Factory1::RegisterEffect

 

 

Community Additions

ADD
Show:
© 2014 Microsoft