From b660fac5560005706aeab0a0d5ad2b32bdcaf929 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Jun 2015 17:20:04 +0000 Subject: - ProtoCallService() function considered too dangerous and therefore isn't exported anymore, it's closed in the core, CallProtoService() is used instead everywhere; - fixes for some quirks with PS_* calls. git-svn-id: http://svn.miranda-ng.org/main/trunk@13959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_core.inc | 3 --- include/m_core.h | 1 - include/m_protosvc.h | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index 6e89a196e2..6c5494e6d9 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -434,9 +434,6 @@ function ProtoBroadcastAck(const szModule:PAnsiChar; hContact:TMCONTACT; type_:i function ProtoServiceExists(const szModule, szName:PAnsiChar):int; stdcall; external CoreDLL name 'ProtoServiceExists'; -function ProtoCallService(const szModule, szName:PAnsiChar; wParam:WPARAM; lParam:LPARAM):int_ptr; stdcall; - external CoreDLL name 'ProtoServiceExists'; - procedure ProtoWindowAdd(pThis:pointer; wnd:HWND); stdcall; external CoreDLL name 'ProtoWindowAdd'; diff --git a/include/m_core.h b/include/m_core.h index c70a79a7ab..c35fb86aa0 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -371,7 +371,6 @@ MIR_CORE_DLL(int) mir_vsnwprintf(wchar_t *buffer, size_t count, const wchar_t struct PROTO_INTERFACE; -MIR_CORE_DLL(INT_PTR) ProtoCallService(LPCSTR szModule, const char *szService, WPARAM wParam, LPARAM lParam); MIR_CORE_DLL(int) ProtoServiceExists(LPCSTR szModule, const char *szService); MIR_CORE_DLL(INT_PTR) ProtoBroadcastAck(LPCSTR szModule, MCONTACT hContact, int type, int result, HANDLE hProcess, LPARAM lParam); diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 0ac0c7c8a1..338e6de153 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -257,7 +257,7 @@ static __inline unsigned long Proto_Status2Flag(int status) /////////////////////////////////////////////////////////////////////////////// // Sets the status-mode specific message for yourself // wParam = status mode -// lParam = (LPARAM)(const char*)szMessage +// lParam = (LPARAM)(const TCHAR*)szMessage // Returns 0 on success, nonzero on failure // Note that this service will not be available unless PF1_MODEMSGSEND is set // and PF1_INDIVMODEMSG is *not* set. -- cgit v1.2.3