summaryrefslogtreecommitdiff
path: root/include/m_protocols.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:48:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:48:22 +0000
commit8d5ba8b33cad9eb86066fefc29102d2734f4a292 (patch)
tree8ba73b8a9f72c76b7803249dba47bdec3b421987 /include/m_protocols.h
parent14581eb25783e0ffadb2af430b97074f6f1ec652 (diff)
improperly named helper renamed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index 01997885e2..7bfe515eab 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -477,6 +477,12 @@ EXTERN_C MIR_APP_DLL(int) Proto_RemoveFromContact(MCONTACT, const char *szProto)
EXTERN_C MIR_APP_DLL(INT_PTR) Proto_ChainSend(int iOrder, CCSDATA *ccs);
+__forceinline INT_PTR ProtoChainSend(MCONTACT hContact, const char *szProtoService, WPARAM wParam, LPARAM lParam)
+{
+ CCSDATA ccs = { hContact, szProtoService, wParam, lParam };
+ return Proto_ChainSend(0, &ccs);
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// Call the next service in the chain for this receive operation
// The return value should be returned immediately