Give Us a Call: +1-877-99-BOPUP (877-992-6787) or Request for a Live Chat

TRANSFER_CONTACT_STRUCT structure

Specifies or retrieves information on a user contact within Contact List, messaging groups.

typedef struct _TRANSFER_CONTACT_STRUCT {     DWORD dwContactFlags;     DWORD dwOUId;     BYTE iStatus;     char lpszAccount[ACCOUNT_LENGTH + 1];     char lpszFirstName[64 + 1];     char lpszLastName[64 + 1]; } TRANSFER_CONTACT_STRUCT;

Members

dwContactFlags
Not used in this version of the IM Client SDK.
dwOUId
Contains the ID of Organizational Unit under which the contact is located. This member is filled only if a list of available contacts or Contact List is retrieved from IM server and the lists are structured (tree-based). It refers to dwId member of an element from TRANSFER_OU_STRUCT structure array that can be returned by IServerClient::EnumContactList and IServerClient::EnumAvailableContacts methods.
iStatus
Contains contact's current presence status. This member can be one of the following values:
PRESENCE_STATUS_ONLINE
Indicates that the contact is currently connected to the IM server and is online.
PRESENCE_STATUS_OFFLINE
Indicates that the contact is not connected to the IM server.
PRESENCE_STATUS_AWAY
Indicates that the contact is currently connected to the IM server but away mode is enabled on the IM client.
lpszAccount
Contains the name of contact (user account).
lpszFirstName
Contains contact's first name.
lpszLastName
Contains contact's last name.