示例#1
0
extern "C" SAMETIME_API int Unload(void)
{
	DeinitUtils();

	DeinitAwayMsg();
	DeinitCritSection();

	return 0;
}
示例#2
0
extern "C" PING_API int Unload(void)
{
	SavePingList(0, 0);

	DeleteCriticalSection(&list_cs);
	DeleteCriticalSection(&thread_finished_cs);
	DeleteCriticalSection(&list_changed_cs);
	DeleteCriticalSection(&data_list_cs);
	
	DeinitUtils();

	CloseHandle( mainThread );

	if(options.logging) CallService(PLUG "/Log", (WPARAM)"stop", 0);

	return 0;
}
示例#3
0
extern "C" __declspec(dllexport) int Unload(void)
{
	//UnhookEvent(hSettingChanged);
	UnhookEvent(hEventWindow);
	//UnhookEvent(hEventDbEventAddedFilter);
	//UnhookEvent(hEventDbEventAdded);
	DEBUGOUT_T("UNLOAD MIROTR")
	DeinitSRMM();
	DeinitOptions();
	DeinitDBFilter();

	lib_cs_lock();
	otrl_userstate_free(otr_user_state);
	lib_cs_unlock();

	DeinitUtils();

	return 0;
}