LBitmap::EndFastMagicWandEngine

#include "ltwrappr.h"

L_INT LBitmap::EndFastMagicWandEngine(MagicWnd, uFlags = 0)

MAGICWANDHANDLE MagicWand;

/* 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 LBitmap::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 LBitmap::StartFastMagicWandEngine there must be a call to LBitmap::EndFastMagicWandEngine.

This function should be the last function to be called after calling LBitmap::StartFastMagicWandEngine and LBitmap::FastMagicWand. It will clean up and free memory allocated within the MAGICWANDHANDLE.

Required DLLs and Libraries

LTIMGCOR

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.

See Also

Functions:

LBitmap::FastMagicWand, LBitmapRgn::SetRgnMagicWand, LBitmap::StartFastMagicWandEngine

Topics:

Raster Image Functions: Image Analysis

 

Processing an Image

Example

For an example, refer to LBitmap::FastMagicWand.