CMA_LoadOrganizationPhoneNumber

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

Syntax

BOOL CMA_LoadOrganizationPhoneNumber(
    CMA_CTRLINFO& CtrlInfo,
    CMA_ORGANIZATION& Organization,
    CMA_PHONENUMBER& PhoneNumber);

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

Organization   The address of the CMA_ORGANIZATION structure that contains information about the organization whose telephone number is being retrieved. This structure was filled in by a previous call to the CMA_LoadOrganization function.

PhoneNumber   The address of the CMA_PHONENUMBER structure the filter DLL fills in 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_LoadOrganizationPhoneNumber function repeatedly until it returns False, which indicates that it has provided information for all of the telephone numbers for the organization.

See Also

CMA_CTRLINFO, CMA_LoadCompany, CMA_LoadOrganization, CMA_ORGANIZATION, CMA_PHONENUMBER