本文整理汇总了C++中DestroyServiceFunction函数的典型用法代码示例。如果您正苦于以下问题:C++ DestroyServiceFunction函数的具体用法?C++ DestroyServiceFunction怎么用?C++ DestroyServiceFunction使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DestroyServiceFunction函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UninitSettingsDlg
void UninitSettingsDlg(void)
{
/* Menu Item */
DestroyServiceFunction(hServiceMenuCommand);
/* Services */
DestroyServiceFunction(hServiceShowDlg);
}
示例2: DestroyServices
int DestroyServices()
{
DestroyServiceFunction(hsYGMove);
DestroyServiceFunction(hsYGReset);
return 0;
}
示例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);
}
示例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;
}
示例5: ShutdownProc
static int ShutdownProc(WPARAM wParam, LPARAM lParam)
{
if (hSvc_invoke)
DestroyServiceFunction(hSvc_invoke);
if (hSvc_fillby)
DestroyServiceFunction(hSvc_fillby);
return 0;
}
示例6: __declspec
extern "C" __declspec (dllexport) int Unload(void)
{
DestroyServiceFunction(hServiceToggle);
DestroyServiceFunction(hServiceClear);
RemoveReadEvents();
return 0;
}
示例7: __declspec
extern "C" int __declspec(dllexport) Unload(void)
{
UnhookEvent(hCSModuleLoadedHook);
DestroyServiceFunction(hGetProfileService);
DestroyServiceFunction(hGetProfileCountService);
DestroyServiceFunction(hGetProfileNameService);
return 0;
}
示例8: CB_DeInitCustomButtons
void CB_DeInitCustomButtons()
{
DestroyHookableEvent(hHookToolBarLoadedEvt);
DestroyHookableEvent(hHookButtonPressedEvt);
DestroyServiceFunction(hButtonsBarAddButton);
DestroyServiceFunction(hButtonsBarRemoveButton);
DestroyServiceFunction(hButtonsBarModifyButton);
DestroyServiceFunction(hButtonsBarGetButtonState);
DestroyServiceFunction(hButtonsBarSetButtonState);
}
示例9: __declspec
extern "C" __declspec(dllexport) int Unload(void)
{
DestroyServiceFunction(hService);
DestroyServiceFunction(hService2);
DestroyServiceFunction(hService3);
UnhookEvent(hHook);
UnhookEvent(hOnButtonPressed);
return 0;
}
示例10: onShutdown
int onShutdown(WPARAM, LPARAM)
{
DestroyServiceFunction(hContactReturnedAction);
DestroyServiceFunction(hContactStillAbsentAction);
DestroyServiceFunction(hMissYouAction);
DestroyServiceFunction(hMenuMissYouClick);
IcoLib_ReleaseIcon(hIcon);
return 0;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}