diff options
Diffstat (limited to 'include/m_protocols.h')
| -rw-r--r-- | include/m_protocols.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h index 5cf76a7cfc..e277041bbf 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -228,6 +228,10 @@ typedef struct {  //contact.
  #define MS_PROTO_GETCONTACTBASEPROTO  "Proto/GetContactBaseProto"
 +__forceinline char* GetContactProto(HANDLE hContact)
 +{	return (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
 +}
 +
  //determines whether the specified contact has the given protocol in its chain
  //wParam = (WPARAM)(HANDLE)hContact
  //lParam = (LPARAM)(const char*)szName
  | 
