From 5811219420fdedef8941584ef70fec403d012e4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Apr 2018 20:23:30 +0300 Subject: Proto_GetAccount() for pascal plugins --- include/delphi/m_protocols.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/delphi') diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc index 76796c06ed..713bbb031a 100644 --- a/include/delphi/m_protocols.inc +++ b/include/delphi/m_protocols.inc @@ -281,6 +281,9 @@ const function Proto_GetAccount(proto:PAnsiChar) : PPROTOACCOUNT; stdcall; external AppDLL; +// retrieves protocol status +function Proto_GetStatus(proto:PAnsiChar) : int; stdcall; external AppDLL; + (* __inline PROTOACCOUNT* ProtoGetAccount( const AnsiChar* accName ) { return (PROTOACCOUNT* )CallService( MS_PROTO_GETACCOUNT, 0, (LPARAM)accName ); -- cgit v1.2.3