diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-01 17:20:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-01 17:20:04 +0000 |
commit | b660fac5560005706aeab0a0d5ad2b32bdcaf929 (patch) | |
tree | d8db661d0b0e025156c3706e93f1aafa22708358 /include | |
parent | 098b75ec924b6a52328e3803f5bf9e5f45835f5d (diff) |
- 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
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_core.inc | 3 | ||||
-rw-r--r-- | include/m_core.h | 1 | ||||
-rw-r--r-- | include/m_protosvc.h | 2 |
3 files changed, 1 insertions, 5 deletions
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.
|