Example #1
0
int __declspec(dllexport) Unload(void)
{
	TRACE("Unloading ClistMW\r\n");
    if (IsWindow(hwndContactList)) DestroyWindow(hwndContactList);
	//BGModuleUnload();
//    UnLoadContactListModule();
    UninitSkinHotKeys();
    UnhookEvent(hSkinLoaded);
    UnloadSkinModule();

   	hwndContactList=0;
  TRACE("***&&& NEED TO UNHOOK ALL EVENTS &&&***\r\n");
  UnhookAll();
	TRACE("Unloading ClistMW COMPLETE\r\n");

    
	return 0;
}
Example #2
0
extern "C" __declspec(dllexport) int Unload(void)
{
	TRACE("Unloading Clist Modern\r\n");

	if (IsWindow(pcli->hwndContactList)) DestroyWindow(pcli->hwndContactList);
	pcli->hwndContactList = NULL;

	ToolbarButtonUnloadModule();
	BackgroundsUnloadModule();
	SkinEngineUnloadModule();
	XPThemesUnloadModule();

	UnloadAvatarOverlayIcon();
	UninitSkinHotKeys();
	FreeRowCell();
	EventArea_UnloadModule();

	TRACE("Unloading Clist Modern COMPLETE\r\n");
	return 0;
}
PLUGININTERFACE int Unload(void)
{
	TRACE("Unloading Clist Modern\r\n");

	if (IsWindow(pcli->hwndContactList)) DestroyWindow(pcli->hwndContactList);
	pcli->hwndContactList=NULL;

	UnhookAll();

	BackgroundsUnloadModule();
	SkinEngineUnloadModule();
	XPThemesUnloadModule();

	UnloadAvatarOverlayIcon();
	UninitSkinHotKeys();
	FreeRowCell();
	EventArea_UnloadModule();

	TRACE("Unloading Clist Modern COMPLETE\r\n");
	return 0;
}