CMA_LoadPackage

Registers an accounting package with the Import Wizard, which provides information about the accounting package that created the data to be imported. The information includes the name of the accounting package, the name of the file or files to search for when looking for the package's data, and the method to use to keep track of updates to data entries. This function can also perform any one-time initialization tasks associated with the package.

Syntax

BOOL CMA_LoadPackage(CMA_PACKAGE& Package);

Package   The address of the CMA_PACKAGE structure the filter DLL must fill in with information about the accounting package.

Return Values

True if the filter was successfully initialized to read the accounting data that it is designed to read; False if there were errors during the initialization and the import process should be terminated.

Remarks

The Import Wizard calls this function once for each filter DLL.

If the CMA_LoadPackage function returns False, the filter will not be available. The filter should provide a message box to alert the user, because MSAAP will continue with or without the filter.

See Also

CMA_PACKAGE