Glossary Item Box
This function is used to unload the plug-in host module. Once you unload it, you will need to call ImgPlugInHostLoad if you want to use another filter. You do not need to explicitly call this function when your application exits since the ImageMan main DLL will attempt to unload it if it still loaded.
Return Value
This function returns IMG_OK if it successfully unloaded the host module or if it wasn't previously loaded. However, if it wasn't loaded it will set the ImageMan's status to IMGPI_NOTLOADED. It can return IMG_ERR which indicates that the ImageMan DLL was not able to free the host module.
Comments
Since the plug-in host is currently extremely small, you probably do not ever really need to bother with this function. Especially since only one host module is ever loaded in your process.
Copyright 2008 Data Techniques, Inc. All Rights Reserved