Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 8
A function you must write to release resources shared between
plugins in a DLL
typedef void ResPluginUnloadingF_t( void )
This function is exported in the ResPlugin_t structure.
This function is called before the DLL is unloaded from PhAB's
address space, and should release resources set up in the ResPluginLoadingF_tloading
function.. Since the loading function may have been called more
than once, there is a corresponding call to the unloading function
for each successful call to the loading function.
This example unloading function is from the complete plugin example at
the end of this chapter.
static int loaded_count = 0;
static ApDBase_t *db = NULL;
static void plugin_unloading( void ) {
if( -- loaded_count == 0 ) {
ApCloseDBase( db );
db = NULL;
ApRemoveContext( &AbContext );
}
}
QNX Neutrino
ResPlugin_t, ResPluginLoadingF_t.
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 85
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/respluginunloadingf_t.html on line 85