您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ DestroyServiceFunction函数代码示例

51自学网 2021-06-01 20:27:14
  C++
这篇教程C++ DestroyServiceFunction函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中DestroyServiceFunction函数的典型用法代码示例。如果您正苦于以下问题:C++ DestroyServiceFunction函数的具体用法?C++ DestroyServiceFunction怎么用?C++ DestroyServiceFunction使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了DestroyServiceFunction函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: UninitSettingsDlg

void UninitSettingsDlg(void){	/* Menu Item */	DestroyServiceFunction(hServiceMenuCommand);	/* Services */	DestroyServiceFunction(hServiceShowDlg);}
开发者ID:martok,项目名称:miranda-ng,代码行数:7,


示例2: DestroyServices

int DestroyServices(){	DestroyServiceFunction(hsYGMove);	DestroyServiceFunction(hsYGReset);	return 0;}
开发者ID:kmdtukl,项目名称:miranda-ng,代码行数:7,


示例3: UninitWatcher

void UninitWatcher(void){	/* remember watcher if running */	if (!ServiceStopWatcher(0, 0))		if (db_get_b(NULL, "AutoShutdown", "RememberOnRestart", SETTING_REMEMBERONRESTART_DEFAULT))			db_set_b(NULL, "AutoShutdown", "RememberOnRestart", SDROR_RUNNING);	/* Message Shutdown */	UnhookEvent(hHookEventAdded);	/* Status Shutdown*/	UnhookEvent(hHookSettingChanged);	/* Idle Shutdown */	UnhookEvent(hHookIdleChanged);	/* Transfer Shutdown */	UnhookEvent(hHookProtoAck);	mir_free(transfers); /* does NULL check */	/* Weather Shutdown */	UnhookEvent(hHookWeatherUpdated); /* does NULL check */	/* Services */	DestroyServiceFunction(hServiceStartWatcher);	DestroyServiceFunction(hServiceStopWatcher);	DestroyServiceFunction(hServiceIsEnabled);	DestroyHookableEvent(hEventWatcherChanged);	/* Misc */	UnhookEvent(hHookModulesLoaded);}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:26,


示例4: Unload

MIRAPI int Unload(void){	int i;	for (i = SIZEOF(popupServices); i--; )		DestroyServiceFunction(popupServices[i].handle);	SrmmMenu_Unload();	UnhookEvent(hOptionsInitialize);	UnhookEvent(hModulesLoaded);	UnhookEvent(hOkToExit);	UnhookEvent(hEventStatusChanged);	UnhookEvent(hIconsChanged);	UnhookEvent(hFontsChanged);	UnhookEvent(hTBLoaded);	DestroyServiceFunction(hShowHistory);	DestroyServiceFunction(hTogglePopup);	DestroyServiceFunction(hGetStatus);	DestroyServiceFunction(hSquareFad);	DeleteObject(fonts.title);	DeleteObject(fonts.clock);	DeleteObject(fonts.text);	DeleteObject(fonts.action);	DeleteObject(fonts.actionHover);	DeleteObject(hbmNoAvatar);	FreeLibrary(hDwmapiDll);	FreeLibrary(hUserDll);	FreeLibrary(hMsimgDll);//	FreeLibrary(hKernelDll);	FreeLibrary(hGdiDll);	if(PopUpOptions.SkinPack) mir_free(PopUpOptions.SkinPack);	mir_free(PopUpOptions.Effect);	OptAdv_UnregisterVfx();	UnloadPopupThread();	UnloadPopupWnd2();	PopupHistoryUnload();	UnregisterClass (MAKEINTATOM(g_wndClass.cPopupWnd2),hInst);	UnregisterClassW(L"PopupEditBox",hInst);	UnregisterClass (MAKEINTATOM(g_wndClass.cPopupMenuHostWnd),hInst);	UnregisterClass (MAKEINTATOM(g_wndClass.cPopupThreadManagerWnd),hInst);	UnregisterClass (MAKEINTATOM(g_wndClass.cPopupPreviewBoxWndclass),hInst);	UnregisterClass (MAKEINTATOM(g_wndClass.cPopupPlusDlgBox),hInst);	UnloadGDIPlus();	UnloadActions();	CloseHandle(hMainThread);	return 0;}
开发者ID:TonyAlloa,项目名称:miranda-dev,代码行数:59,


示例5: ShutdownProc

static int ShutdownProc(WPARAM wParam, LPARAM lParam){	if (hSvc_invoke)		DestroyServiceFunction(hSvc_invoke);	if (hSvc_fillby)		DestroyServiceFunction(hSvc_fillby);	return 0;}
开发者ID:biddyweb,项目名称:miranda-ng,代码行数:8,


示例6: __declspec

extern "C" __declspec (dllexport) int Unload(void){    DestroyServiceFunction(hServiceToggle);    DestroyServiceFunction(hServiceClear);    RemoveReadEvents();    return 0;}
开发者ID:kmdtukl,项目名称:miranda-ng,代码行数:8,


示例7: __declspec

extern "C" int __declspec(dllexport) Unload(void){	UnhookEvent(hCSModuleLoadedHook);	DestroyServiceFunction(hGetProfileService);	DestroyServiceFunction(hGetProfileCountService);	DestroyServiceFunction(hGetProfileNameService);	return 0;}
开发者ID:kxepal,项目名称:miranda-ng,代码行数:9,


示例8: CB_DeInitCustomButtons

void CB_DeInitCustomButtons(){	DestroyHookableEvent(hHookToolBarLoadedEvt);	DestroyHookableEvent(hHookButtonPressedEvt);	DestroyServiceFunction(hButtonsBarAddButton);	DestroyServiceFunction(hButtonsBarRemoveButton);	DestroyServiceFunction(hButtonsBarModifyButton);	DestroyServiceFunction(hButtonsBarGetButtonState);	DestroyServiceFunction(hButtonsBarSetButtonState);}
开发者ID:0xmono,项目名称:miranda-ng,代码行数:10,


示例9: __declspec

extern "C" __declspec(dllexport) int Unload(void){	DestroyServiceFunction(hService);	DestroyServiceFunction(hService2);	DestroyServiceFunction(hService3);	UnhookEvent(hHook);	UnhookEvent(hOnButtonPressed);	return 0;}
开发者ID:TonyAlloa,项目名称:miranda-dev,代码行数:10,


示例10: onShutdown

int onShutdown(WPARAM, LPARAM){	DestroyServiceFunction(hContactReturnedAction);	DestroyServiceFunction(hContactStillAbsentAction);	DestroyServiceFunction(hMissYouAction);	DestroyServiceFunction(hMenuMissYouClick);	IcoLib_ReleaseIcon(hIcon);	return 0;}
开发者ID:kxepal,项目名称:miranda-ng,代码行数:10,


示例11: mir_free

int CMPlugin::Unload(){	for (int i = 0; i < bLayNum; i++)		mir_free(ptszLayStrings[i]);	DestroyServiceFunction(hChangeLayout);	DestroyServiceFunction(hGetLayoutOfText);	DestroyServiceFunction(hChangeTextLayout);	UnhookWindowsHookEx(kbHook_All);	return 0;}
开发者ID:tweimer,项目名称:miranda-ng,代码行数:11,


示例12: UninitKeyBinding

static void UninitKeyBinding() {	KeyBindingItem *ptr, *ptr2;	ptr = keyBindingList;	keyBindingList = NULL;	for (; ptr != NULL; ptr = ptr2) {		ptr2 = ptr->next;		mir_free(ptr->actionName);		mir_free(ptr->fullActionName);		mir_free(ptr->actionGroupName);		mir_free(ptr);	}	DestroyServiceFunction(hKeyBindings_Register);	DestroyServiceFunction(hKeyBindings_Get);}
开发者ID:TonyAlloa,项目名称:miranda-dev,代码行数:15,


示例13: __declspec

extern "C" int __declspec(dllexport) Unload(void) {		UnhookEvent(hModulesLoaded);	UnhookEvent(hEventPreShutdown);	UnhookEvent(hOptionsInit);	UnhookEvent(hPrebuildContactMenu);	UnhookEvent(hTabsrmmButtonPressed);		DestroyServiceFunction(hServiceUpload);	DestroyServiceFunction(hServiceShowManager);	DestroyServiceFunction(hServiceContactMenu);	DestroyServiceFunction(hServiceMainMenu);	return 0;}
开发者ID:0xmono,项目名称:miranda-ng,代码行数:15,


示例14: PreShutdown

int PreShutdown(WPARAM wParam, LPARAM lParam){	if (hwnd2watchedVarsWindow) DestroyWindow(hwnd2watchedVarsWindow);	if (hwnd2mainWindow) DestroyWindow(hwnd2mainWindow);	if (hwnd2importWindow) DestroyWindow(hwnd2importWindow);	UnhookEvent(hSettingsChangedHook);	UnhookEvent(hOptInitHook);	UnhookEvent(hPreShutdownHook);	DestroyServiceFunction(sServicemodeLaunch);	DestroyServiceFunction(sMenuCommand);	DestroyServiceFunction(sImport);	return 0;}
开发者ID:MrtsComputers,项目名称:miranda-ng,代码行数:15,


示例15: __declspec

extern "C" int __declspec(dllexport) Unload(void){	DestroyHookableEvent(hConnectionEvent);	UnhookEvent(hCSModuleLoadedHook);	if (hMainThread)		CloseHandle(hMainThread);	DestroyServiceFunction(hStopRecon);	DestroyServiceFunction(hEnableProto);	DestroyServiceFunction(hIsProtoEnabled);	DestroyServiceFunction(hAnnounceStat);	return 0;}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:15,


示例16: __declspec

extern "C" int __declspec(dllexport) Unload(void){	if (hDummyService)		DestroyServiceFunction(hDummyService);	return 0;}
开发者ID:kmdtukl,项目名称:miranda-ng,代码行数:7,


示例17: RemoveDialogBoxHook

int RemoveDialogBoxHook(void){	DestroyServiceFunction(hServiceShowHelp); // does NULL check	DestroyServiceFunction(hServiceSetContext); // does NULL check	UnhookWindowsHookEx(hMessageHook);	if (hKeyboardHook)		UnhookWindowsHookEx(hKeyboardHook);	if (hEatNextMouseHook)		UnhookWindowsHookEx(hEatNextMouseHook);	DeleteCriticalSection(&csDlgBoxSubclass);	for (int i = 0; i<dlgBoxSubclassCount; i++)		SetWindowLongPtr(dlgBoxSubclass[i].hwndDlg, GWLP_WNDPROC, (LONG_PTR)dlgBoxSubclass[i].pfnOldWndProc);	mir_free(dlgBoxSubclass); // does NULL check	return 0;}
开发者ID:wyrover,项目名称:miranda-ng,代码行数:16,


示例18: FreeTypes

void FreeTypes(){	// Destroy services	int i;	for(i = 0; i < MAX_REGS(hServices); ++i)		DestroyServiceFunction(hServices[i]);	// Free internal structs	for(i = 0; i < types.getCount(); i++)	{		SPEAK_TYPE *type = types[i];		mir_free((void *) type->module);		mir_free((void *) type->name);		mir_free((void *) type->icon);		if (type->numTemplates > 0)		{			for(int i = 0; i < type->numTemplates; i++)				mir_free((void *) type->templates[i]);			mir_free(type->templates);		}		mir_free(type);	}	types.destroy();}
开发者ID:Robyer,项目名称:miranda-plugins,代码行数:27,


示例19: __declspec

extern "C" int __declspec(dllexport) Unload(void){	UninitIdleTimer();	if (g_hWinHook != 0)		UnhookWinEvent(g_hWinHook);	DestroyServiceFunction(g_hHideService);	if (g_hListenWindow)	{		WTSUnRegisterSessionNotification(g_hListenWindow);		DestroyWindow(g_hListenWindow);	}	if (hDwmApi)		FreeLibrary(hDwmApi);	// free all sessions	HWND_ITEM *pTemp = g_pMirWnds;	while (pTemp != NULL)	{		HWND_ITEM *pNext = pTemp->next;		delete pTemp;		pTemp = pNext;	}	delete[] oldStatus;	delete[] oldStatusMsg;	return 0;}
开发者ID:MrtsComputers,项目名称:miranda-ng,代码行数:32,


示例20: HeapDestroy

CDbxMdb::~CDbxMdb(){	// destroy modules	HeapDestroy(m_hModHeap);	mdb_env_close(m_pMdbEnv);	DestroyServiceFunction(hService);	UnhookEvent(hHook);	if (m_crypto)		m_crypto->destroy();	DestroyHookableEvent(hContactDeletedEvent);	DestroyHookableEvent(hContactAddedEvent);	DestroyHookableEvent(hSettingChangeEvent);	DestroyHookableEvent(hEventMarkedRead);	DestroyHookableEvent(hEventAddedEvent);	DestroyHookableEvent(hEventDeletedEvent);	DestroyHookableEvent(hEventFilterAddedEvent);	DestroyDbInstance(this);	mir_free(m_tszProfileName);}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:25,


示例21: onSystemOKToExit

int __cdecl onSystemOKToExit(WPARAM wParam,LPARAM lParam) {    if(bSavePass) {	LPSTR tmp = gpg_get_passphrases();	DBWriteContactSettingString(0,szModuleName,"gpgSave",tmp);	LocalFree(tmp);    }    else {	DBDeleteContactSetting(0,szModuleName,"gpgSave");    }	if(bPGPloaded) pgp_done();	if(bGPGloaded) gpg_done();	rsa_done();	while(iHook--) UnhookEvent(g_hHook[iHook]);	mir_free(g_hHook);	while(iService--) DestroyServiceFunction(g_hService[iService]);	mir_free(g_hService);	DestroyHookableEvent(g_hEvent[0]);	DestroyHookableEvent(g_hEvent[1]);	freeContactList();	free_rtfconv();#if defined(_DEBUG) || defined(NETLIB_LOG)	DeinitNetlib();#endif	return 0;}
开发者ID:aventado,项目名称:secureimplugin,代码行数:26,


示例22: DeinitStatusIcons

int DeinitStatusIcons() {	int i;	DestroyHookableEvent(hHookIconPressedEvt);	for(i = 0; i < 3; i++) DestroyServiceFunction(hServiceIcon[i]);	RemoveAllStatusIcons();	return 0;}
开发者ID:TonyAlloa,项目名称:miranda-dev,代码行数:7,


示例23: MSN_RemoveContactMenus

void MSN_RemoveContactMenus(void){	UnhookEvent(hPrebuildMenuHook);	MSN_CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hBlockMenuItem, 0);	MSN_CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hLiveSpaceMenuItem, 0);	MSN_CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hNetmeetingMenuItem, 0);	MSN_CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hChatInviteMenuItem, 0);	MSN_CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hOpenInboxMenuItem, 0);	DestroyServiceFunction(hNetMeeting);	DestroyServiceFunction(hBlockCom);	DestroyServiceFunction(hSendHotMail);	DestroyServiceFunction(hInviteChat);	DestroyServiceFunction(hViewProfile);}
开发者ID:TonyAlloa,项目名称:miranda-dev,代码行数:16,


示例24: ClcPreshutdown

static int ClcPreshutdown(WPARAM, LPARAM){	cfg::shutDown = TRUE;	if (hSvc_GetContactStatusMsg)		DestroyServiceFunction(hSvc_GetContactStatusMsg);	return 0;}
开发者ID:0xmono,项目名称:miranda-ng,代码行数:7,


示例25: __declspec

extern "C" int __declspec(dllexport) Unload(void) {		UnhookEvent(hModulesLoaded);	UnhookEvent(hPrebuildContactMenu);	UnhookEvent(hOptionsInit);	if(hWindowEvent != NULL)		UnhookEvent(hWindowEvent);	DestroyServiceFunction(hServiceContactMenu);	Netlib_CloseHandle(g_hNetlibUser);	if(hTabsrmmButtonPressed != NULL)		UnhookEvent(hTabsrmmButtonPressed);	for(int i=0; i < PasteToWeb::pages; ++i)		if(pasteToWebs[i] != NULL) {			delete pasteToWebs[i];			pasteToWebs[i] = NULL;		}	if(Options::instance != NULL) {		delete Options::instance;		Options::instance = NULL;	}	delete contactWindows;	return 0;}
开发者ID:0xmono,项目名称:miranda-ng,代码行数:27,


示例26: DeinitProfilesModule

int DeinitProfilesModule(){    for ( int i=0; i < mcount; i++ )        DestroyServiceFunction(hProfileServices[i]);    if ( pce ) {        for ( int i=0; i < pceCount; i++ )            free( pce[i].szProto );        free( pce );    }    UnregisterHotKeys();    RemoveTopToolbarButtons();    DestroyServiceFunction(hLoadAndSetProfileService);    return 0;}
开发者ID:kmdtukl,项目名称:miranda-ng,代码行数:17,


示例27: DeinitMenu

void DeinitMenu() {	UnhookEvent(hEventMenuBuild);	DestroyServiceFunction(hServiceMenuRemove);	DestroyServiceFunction(hServiceMenuDefault);	DestroyServiceFunction(hServiceMenuEdit);	DestroyServiceFunction(hServiceMenuAdd);	DestroyServiceFunction(hServiceMenuConvert);	DestroyServiceFunction(hServiceMenuOnOff);	DestroyServiceFunction(hServiceContactMenu);	DestroyServiceFunction(hServiceToggle);}
开发者ID:darkscout,项目名称:sje-miranda-plugins,代码行数:11,


示例28: Shutdown

int Shutdown(WPARAM, LPARAM){	if (hFramesSBShow) UnhookEvent(hFramesSBShow);	if (hFramesSBHide) UnhookEvent(hFramesSBHide);	if (hAvChangeEvent) UnhookEvent(hAvChangeEvent);	if (hShowTipEvent) UnhookEvent(hShowTipEvent);	if (hHideTipEvent) UnhookEvent(hHideTipEvent);	if (hAckEvent) UnhookEvent(hAckEvent);	if (hShowTipService) DestroyServiceFunction(hShowTipService);	if (hShowTipWService) DestroyServiceFunction(hShowTipWService);	if (hHideTipService) DestroyServiceFunction(hHideTipService);	if (hFolderChanged) UnhookEvent(hFolderChanged);	DeinitMessagePump();	DestroySkinBitmap();	return 0;}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:20,


示例29: __declspec

extern "C" __declspec(dllexport) int Unload(){	logmsg("Unload");	UnhookEvent(hProtoAck);	UnhookEvent(hContactSettingChanged);	UnhookEvent(hContactStatusChanged);	UnhookEvent(hHookedInit);	DestroyServiceFunction(hservosda);	DestroyHookableEvent(hHookContactStatusChanged);	return 0;}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:12,



注:本文中的DestroyServiceFunction函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ DestroyString函数代码示例
C++ DestroyQuantumInfo函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。