From 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Dec 2019 16:08:03 +0300 Subject: GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName --- include/delphi/m_protocols.inc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/delphi') diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc index 3a7bf25c7f..3b81db2987 100644 --- a/include/delphi/m_protocols.inc +++ b/include/delphi/m_protocols.inc @@ -184,14 +184,6 @@ const function Proto_IsProtocolLoaded(protoName:PAnsiCHar) : PPROTOCOLDESCRIPTOR; stdcall; external AppDLL; -{ gets the network-level protocol associated with a contact - Returns a AnsiChar* pointing to the asciiz name of the protocol or NULL if the - contact has no protocol. There is no need to free() it or anything. - This is the name of the module that actually accesses the network for that - contact. } - -function Proto_GetProtoName(hContact:TMCONTACT) : PAnsiChar; stdcall; external AppDLL name 'GetContactProto'; - { determines whether the specified contact has the given protocol in its chain wParam=(WPARAM)(HANDLE)hContact lParam=(LPARAM)(const AnsiChar*)szName -- cgit v1.2.3