Cleans up and deletes the pipImporter resources and determines whether the object file is to be kept or discarded. Terminates the import subsystem.
Syntax
intl pipImportTerm ( pipImporter imp_h, intl completed );
Arguments
imp_h The handle returned by pipImportInit for the current import process. Input.
completed Set to TRUE if the BNA, MIF/MID, SHP, or TAB file was readable throughout and the object file should be kept. Set to FALSE if an error occurred and the object file should be discarded. Input.
Return Value
PIP_OK PIP_ERROR
Prerequisites
pipImportInit.
Alternates
None.
Notes
This is the last function called in the import process. Be sure to use the import handle and not the Spatial+ handle.
If pipImportRead generates a PIP_ERROR, or any other error occurs so that loading of the import file could not continue, then set the completed parameter to FALSE. This discards the imported file.
If the import did not fail, then set the completed parameter flag to TRUE, which generates the necessary final indexes.
Regardless of how the completed parameter is set, all system resources used during import will be freed.
Example
See pipImportInit.