Give Us a Call: +1-877-99-BOPUP or Request for a Chat en Vivo

IServerClient::SetContactList method

Delivers and stores user's contacts (Contact List) on the IM server.

HRESULT SetContactList(     LPDWORD lpTransferContactsArray,     WORD nContactsCount,     LPDWORD lpdwExtendedCode, );

Parameters

lpTransferContactsArray
[in] Pointer to an array of TRANSFER_CONTACT_STRUCT structure that contains user contacts.
nContactsCount
[in] A WORD variable that contains the number of elements in the array pointed to by the lpTransferContactsArray variable.
lpdwExtendedCode
[out] Pointer to a DWORD variable that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check lpdwExtendedCode variable to get extended information on the error.