SVC GET PROTOCOL ACCOUNT

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_GET_PROTOCOL_ACCOUNT
Get current user protocol account credentials.


Parameters
wParam
NULL
lParam
ProtocolAccountInfo* info


Return values

  • API_SUCCESS – success
  • API_ERROR – operation failed or there is no account for given protocol


Sample code

        ProtocolAccountInfo info = {0};
	info.cbSize = sizeof(ProtocolAccountInfo);
	info.protocol = _T("MSN");

	gPlugin.call(SVC_GET_PROTOCOL_ACCOUNT, 0, (LPARAM) &info);
Personal tools