LEADTOOLS Raster Imaging C DLL Help > Function References > l_endfastmagicwandengine |
#include "l_bitmap.h"
L_LTIMGCOR_API L_INT EXT_FUNCTION L_EndFastMagicWandEngine(MagicWnd, uFlags)
MAGICWANDHANDLE MagicWnd; |
/* fast magic wand handle */ |
L_UINT32 uFlags; |
/* flags */ |
Ends the fast magic wand engine.
Parameter |
Description |
MagicWnd |
A fast magic wand handle, initialized by calling the L_StartFastMagicWandEngine function. |
uFlags |
Reserved for future use. Must be 0. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
For each call to L_StartFastMagicWandEngine there must be a call to L_EndFastMagicWandEngine. This function should be the last function to be called after calling L_StartFastMagicWandEngine and L_FastMagicWand. It will clean up and free memory allocated within the MAGICWANDHANDLE.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64, Linux.
See Also
Functions: |
L_FastMagicWand, L_StartFastMagicWandEngine, L_SetBitmapRgnMagicWand |
Topics: |
|
|
Example
For an example, refer to L_FastMagicWand.