SVC GET BUDDYLIST

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_GET_BUDDY_LIST
Get list of buddies.


Parameters
wParam
LPCTSTR protocol_name
lParam
CStringList* buddy_list


Return values

  • Returns API_ERROR if operation failed otherwise API_SUCCESS


Remarks
If protocol_name is set, application sends buddies' protocol IDs. Otherwise it fills buddy_list with IDs of all buddies.


Sample code

        CStringList list;
	CString protocol = _T("Skype");
	call(SVC_GET_BUDDYLIST, (WPARAM) protocol, (LPARAM)&list);	
Personal tools