diff options
Diffstat (limited to 'plugins/Dbx_mmap_SA')
-rw-r--r-- | plugins/Dbx_mmap_SA/Import_SA/main.c | 2 | ||||
-rw-r--r-- | plugins/Dbx_mmap_SA/dialogs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mmap_SA/Import_SA/main.c b/plugins/Dbx_mmap_SA/Import_SA/main.c index 87a3a76b0b..f6fd4bc67a 100644 --- a/plugins/Dbx_mmap_SA/Import_SA/main.c +++ b/plugins/Dbx_mmap_SA/Import_SA/main.c @@ -143,7 +143,7 @@ int __declspec(dllexport) Load(PLUGINLINK *link) mi.pszName = LPGEN("&Import...");
mi.position = 500050000;
mi.pszService = IMPORT_SERVICE;
- CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddMainMenuItem(&mi);
}
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
hHookOnExit = HookEvent(ME_SYSTEM_OKTOEXIT, OnExit);
diff --git a/plugins/Dbx_mmap_SA/dialogs.c b/plugins/Dbx_mmap_SA/dialogs.c index 15405ff5ee..eda06729d6 100644 --- a/plugins/Dbx_mmap_SA/dialogs.c +++ b/plugins/Dbx_mmap_SA/dialogs.c @@ -126,7 +126,7 @@ static int ModulesLoad(WPARAM wParam, LPARAM lParam) menu.pszService = MS_DB_CHANGEPASSWORD;
menu.position = 500100000;
- hSetPwdMenu = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&menu);
+ hSetPwdMenu = Menu_AddMainMenuItem(&menu);
ZeroMemory(&menu,sizeof(menu));
menu.cbSize = sizeof(menu);
|