int closeScan(int ScanHandle);
This function closes a ScanHandle and releases the associated Scan Result Block to the pool. This function MUST be called once for each ScanHandle produced in a scan...() function. Once this function is called the ScanHandle is no longer valid and any pointers returned by previous calls to get...() functions should be discarded (forgotten, not freed!)
- ScanHandle = a valid scan handle from scanBuffer() or scanFile().
- returns:
- snf_SUCCESS - The ScanHandle was closed successfully.
- snf_ERROR_NO_HANDLE - The ScanHandle is not valid.
- snf_ERROR_EXCEPTION - There was a problem closing the ScanHandle.