LBase::UnloadLibraries

#include "ltwrappr.h"

static L_VOID LBase::UnloadLibraries (uLibraries)

L_UINT32 uLibraries;

/* flag that indicates which libraries to unload */

Unloads specific LEADTOOLS library DLLs at run-time.

Parameter

Description

uLibraries

Flag that indicates which LEADTOOLS library DLLs to unload. Possible values are given below, and may be combined.

 

Value

Meaning

 

LT_KRN

unload the ltkrnXXn.dll for Non-Unicode or ltkrnXXnu.dll for Unicode.

 

LT_DIS

unload the ltdisXXn.dll for Non-Unicode or ltdisXXnu.dll for Unicode.

 

LT_FIL

unload the ltfilXXn.dll for Non-Unicode or ltfilXXnu.dll for Unicode..

 

LT_IMG

unload the ltimgXXn.dll for Non-Unicode or ltimgXXnu.dll for Unicode.

 

LT_EFX

unload the ltefxXXn.dll for Non-Unicode or ltefxXXnu.dll for Unicode.

 

LT_DLG

unload the ltdlgXXn.dll for Non-Unicode or ltdlgXXnu.dll for Unicode.

 

LT_ISI

unload the ltisiXXn.dll.

 

LT_TWN

unload the lttwnXXn.dll for Non-Unicode or lttwnXXnu.dll for Unicode.

 

LT_SCR

unload the ltscrXXn.dll for Non-Unicode or ltscrXXnu.dll for Unicode.

 

LT_ANN

unload the ltannXXn.dll for Non-Unicode or ltannXXnu.dll for Unicode.

 

LT_NET

unload the ltnetXXn.dll for Non-Unicode or ltnetXXnu.dll for Unicode.

 

LV_KRN

unload the lvkrnXXn.dll for Non-Unicode or lvkrnXXnu.dll for Unicode.

 

LV_DLG

unload the lvdlgXXn.dll for Non-Unicode or lvdlgXXnu.dll for Unicode.

 

LT_TMB

unload the lttmbXXn.dll for Non-Unicode or lttmbXXnu.dll for Unicode.

 

LT_LST

unload the ltlstXXn.dll for Non-Unicode or ltlstXXnu.dll for Unicode.

 

LT_BAR

unload the ltbarXXn.dll for Non-Unicode or ltbarXXnu.dll for Unicode.

 

LT_ZMV

unload the ltzmvXXn.dll for Non-Unicode or ltzmvXXnu.dll for Unicode.

 

LT_IMGOPT

unload the ltimgoptXXn.dll for Non-Unicode or ltimgoptXXnu.dll for Unicode.

 

LT_ALL_LEADLIB

unload any loaded LEADTOOLS libraries

 

These values can be combined using the bitwise OR operator ( | ).

 

Returns

None

Comments

Call this function to unload specific LEADTOOLS library DLLs at run-time. The specified constants will determine which libraries you want to unload. You can use this function to minimize the memory footprint of your program by loading and unloading the libraries you need when necessary.

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

LBase::LoadLibraries, LBase::UnloadLibraries, LBase::GetLoadedLibraries, Class Members

Example

For an example, refer to LBase::LoadLibraries.