CMA_LoadContactPhoneNumber

Provides the Import Wizard with the telephone number or numbers for the specified contact.

Syntax

BOOL CMA_LoadContactPhoneNumber(
    CMA_CTRLINFO& CtrlInfo,
    CMA_Contact& Contact,
    CMA_PHONENUMBER& PhoneNumber);

CtrlInfo   The address of the CMA_CTRLINFO structure whose szDataPath member specifies the data path of the company data file. This structure was filled in by a previous call to the CMA_LoadCompany function.

Contact   The address of the CMA_CONTACT structure that contains information about the contact whose telephone number is being retrieved. This structure was filled by a previous call to the CMA_LoadContact function.

PhoneNumber   The address of the CMA_PHONENUMBER structure the filter DLL fills with telephone number information.

Return Values

True if additional telephone numbers remain to be retrieved from the data file; False if there are no more telephone numbers to process.

Remarks

The Import Wizard calls the CMA_LoadContactPhoneNumber function repeatedly until it returns False, which indicates that it has provided information for all of the telephone numbers for the contact.

See Also

CMA_CONTACT, CMA_CTRLINFO, CMA_LoadCompany, CMA_LoadContact, CMA_PARTY, CMA_PHONENUMBER