TRANSFER_CONTACT_LIST_STRUCT structure

Retrieves information on a list of available contacts and Contact List, returns the number of received Organizational Units and contacts.

typedef struct _TRANSFER_CONTACT_LIST_STRUCT {     DWORD dwContactListFlags;     INT nOUCount;     INT nContactsCount; } TRANSFER_CONTACT_LIST_STRUCT;

Members

dwContactListFlags
Array of bitwise flags that indicate options for retrieved Contact List. These flags are set on the IM server. This member can be one or more of the following values:
CONTACT_LIST_STRUCTURED
Indicates that the retrieved contacts must be shown in a structured tree-based mode. In that case the nOUCount member contains a value greater than zero.
CONTACT_LIST_COLLAPSED_OU
Indicates that the displayed Organizational Units within contacts must be initially collapsed to hide their contents. This flag is set only if CONTACT_LIST_STRUCTURED flag is set too.
CONTACT_LIST_LOCKED
Indicates that the retrieved contacts are locked on the server and cannot be changed from the IM client application using IServerClient::SetContactList function.
CONTACT_LIST_ONLY_KNOWN
Indicates that the sending instant messages to users that are not included to user's Contact List is prohibited.
nOUCount
Contains a zero-based number of retrieved Organizational Units.
nContactsCount
Contains a zero-based number of retrieved contacts.