From 0fa39189ae1eea51681d472db38a290bc4df1cfe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jan 2024 13:38:10 +0300 Subject: PS_GETNAME: another old atavism removed --- include/delphi/m_protosvc.inc | 10 ---------- include/m_protosvc.h | 12 ------------ 2 files changed, 22 deletions(-) (limited to 'include') diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc index 89a8c1fbce..de4c151296 100644 --- a/include/delphi/m_protosvc.inc +++ b/include/delphi/m_protosvc.inc @@ -197,16 +197,6 @@ const } PS_GETCAPS = '/GetCaps'; - { - wParam : cchName - lParam : Pointer to a buffer to fill with human-readable name - Affect : Get a human-readable name for the protocol, see notes - Result : 0 on success, [non zero] on failure - Notes : Should be translated before being returned, cchName - has the size of the buffer, example strings: "ICQ", "AIM" - } - PS_GETNAME = '/GetName'; - PLI_PROTOCOL = $1; // An icon representing the protocol (eg the multicoloured flower for ICQ) PLIF_LARGE = $0; // Or with one of the above to get the large (32x32 by default) icon diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 763534a509..9bbb4558ad 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -183,18 +183,6 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PS_GETCAPS "/GetCaps" -/////////////////////////////////////////////////////////////////////////////// -// Get a human-readable name for the protocol -// wParam = cchName -// lParam = (LPARAM)(char*)szName -// Returns 0 on success, nonzero on failure -// cchName is the number of characters in the buffer szName -// This should be translated before being returned -// Some example strings are: -// "ICQ", "AIM", "RSA-1024 Encryption" - -#define PS_GETNAME "/GetName" - /////////////////////////////////////////////////////////////////////////////// // Loads one of the protocol-specific icons // wParam = whichIcon -- cgit v1.2.3