CMA_CONTACT

Contains all of the information needed for the specified contact. For the purposes of this documentation, a contact is a person.

Syntax

typedef struct tagCMA_CONTACT {
    CMA_PARTY    Party;
    LONG    lContactCount;
    CHAR    szContactID[51];
    INT    nContactType;
    SYSTEMTIME    stAnniversary;
    CHAR    szAssistantName[51];
    SYSTEMTIME    stBirthday;
    CHAR    szCategories[256];
    CHAR    szChildren[51];
    CHAR    szCompanyName[51];
    CHAR    szComputerNetworkName[51];
    CHAR    szDepartment[51];
    CHAR    szDivision[51];
    CHAR    szFileAs[51];
    CHAR    szFirstName[51];
    CHAR    szFullName[101];
    INT    nGender;
    CHAR    szHobbies[51];
    CHAR    szInitials[51];
    CHAR    szJobTitle[51];
    CHAR    szLanguage[51];
    CHAR    szLastName[51];
    CHAR    szLocation[51];
    CHAR    szManagerName[51];
    CHAR    szMiddleName[51];
    CHAR    szMileage[51];
    CHAR    szNickName[51];
    CHAR    szOfficeLocation[51];
    CHAR    szProfession[51];
    CHAR    szSpouse[51];
    CHAR    szSubject[51];
    CHAR    szSuffix[51];
    CHAR    szTitle[51];
    CMACY    cyMaximumValue;
    CMACY    cyMinimumValue;
} CMA_CONTACT;

Party   A structure that contains additional information about the organization. For more information, see the topic, CMA_PARTY. This member is required (must not be NULL).

lContactCount   This represents the number of contacts to be presented to the filter. SBCM will use this to generate the progress display for the user during the import process. lContactCount needs to be populated in the first call to CMA_LoadContact in order to properly display progress to the user.

szContactID   A null-terminated string that contains the unique ID for the contact. This member must be unique. This member is required (must not be NULL).

nContactType   The type of contact. This can be any of the values from the CMA_CONTACTTYPE enumeration.

stAnniversary   The contact's anniversary.

szAssistantName   A null-terminated string that contains the name of the contact's assistant.

stBirthday   The contact's birthday.

szCategories    A null-terminated string that contains the categories for the contact.

szChildren   A null-terminated string that contains the names of the contact's children.

szCompanyName   A null-terminated string that contains the name of the contact's company.

szComputerNetworkName   A null-terminated string that contains the network name of the contact's computer.

szDepartment   A null-terminated string that contains the name of the department the contact works in.

szDivision   A null-terminated string that contains the name of the division the contact works in.

szFileAs   A null-terminated string that contains the contact's name as it is displayed to the user.

szFirstName   A null-terminated string that contains the contact's first name.

szFullName   A null-terminated string that contains the contact's full name.

nGender   The contact's gender. This can be any of the values from the CMA_CONTACTGENDER enumeration.

szHobbies   A null-terminated string that contains the contact's hobbies.

szInitials   A null-terminated string that contains the initials of contact.

szJobTitle   A null-terminated string that contains the job title of the contact.

szLanguage   A null-terminated string that contains the language of the contact's country.

szLastName   A null-terminated string that contains the contact's last name.

szLocation   A null-terminated string that contains the contact's location.

szManagerName   A null-terminated string that contains the name of the contact's manager.

szMiddleName   A null-terminated string that contains the contact's middle name.

szMileage   A null-terminated string that contains the mileage from a given business to the contact.

szNickName   A null-terminated string that contains the contact's nickname.

szOfficeLocation   A null-terminated string that contains the location of the contact's office.

szProfession   A null-terminated string that contains the contact's profession.

szSpouse   A null-terminated string that contains the name of the contact's spouse.

szSubject   A null-terminated string that contains the subject area of the contact (user-defined).

szSuffix   A null-terminated string that contains the suffix of the contact.

szTitle   A null-terminated string that contains the contact's professional title.

cyMaximumValue   The maximum value for this row (user-defined); for example, a salesperson's maximum sales authorization limit.

cyMinimumValue   The minimum value for this row (user-defined); for example, a salesperson's minimum quota.

See Also

CMA_CONTACTGENDER, CMA_CONTACTTYPE, CMA_LoadContact, CMA_PARTY