Ends the company name retrieval process by closing the file handle of the data file specified by the szFilename parameter of the CMA_FindFirstCompany function. The CMA_FindClose function should also release any resources the CMA_FindFirstCompany and CMA_FindNextCompany functions have allocated.
Syntax
BOOL CMA_FindClose(CMA_CTRLINFO& CtrlInfo);
CtrlInfo The address of the CMA_CTRLINFO structure.
Return Values
True if the file handle and other resources were successfully released; False otherwise.
Remarks
A return value of False indicates an error occurred while the filter DLL was attempting to release resources. However, the Import Wizard continues to list companies regardless of the return value. The CMA_FindClose function should display a message box if the user needs to be alerted to a problem.
See Also