From 9baf3a90829c501f0a134d3ef1864e08e134e616 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Mar 2018 00:08:50 +0300 Subject: forgotten service MS_PROTO_CREATEACCOUNT replaced with Proto_CreateAccount() call --- include/m_protocols.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'include') diff --git a/include/m_protocols.h b/include/m_protocols.h index c23cdb8cd4..e5713768e7 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -295,22 +295,9 @@ MIR_APP_DLL(void) Proto_EnumAccounts(int *nAccs, PROTOACCOUNT ***pAccs); ///////////////////////////////////////////////////////////////////////////////////////// // creates new account -// wParam = 0 -// lParam = (LPARAM)(ACC_CREATE*) account definition // return value = PROTOACCOUNT* or NULL -#define MS_PROTO_CREATEACCOUNT "Proto/CreateAccount" - -typedef struct tagACC_CREATE -{ - const char *pszBaseProto; - const char *pszInternal; - const wchar_t *ptszAccountName; -} ACC_CREATE; - -__forceinline PROTOACCOUNT* ProtoCreateAccount(ACC_CREATE *pAccountDef) -{ return (PROTOACCOUNT*)CallService(MS_PROTO_CREATEACCOUNT, 0, (LPARAM)pAccountDef); -} +MIR_APP_DLL(PROTOACCOUNT*) Proto_CreateAccount(const char *pszInternal, const char *pszBaseProto, const wchar_t *ptszAccountName); ///////////////////////////////////////////////////////////////////////////////////////// // retrieves an account's interface by its physical name (database module) -- cgit v1.2.3