Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctfiltercbRemoveFilter

Called when a data record filter is removed. This function cleans up resources that are used by that filter.

Declaration

NINT ctfiltercbRemoveFilter(pTEXT libname, pTEXT funcname, pTEXT params,

pVOID libhandle, pVOID flthandle);

  • libname - the filter callback DLL name that was passed to SetDataFilter().
  • funcname - the filter callback function name that was passed to SetDataFilter().
  • params - the function parameter string that was passed to SetDataFilter().
  • libhandle - the application-defined library handle that was set by LoadFilter().
  • flthandle - the application-defined filter handle that was set by ctfiltercbAddFilter().

FairCom DB maintains a list of the names of the callback DLLs it has loaded. A DLL remains loaded until FairCom DB shuts down.

Description

LoadFilter() can allocate memory for use by the filter callback function and can return its address in this parameter.

Return Values

Example


/*

Example Code

*/

See also

ctfiltercbAddFilter, EvaluateFilter, LoadFilter, UnloadFilter, SetDataFilter

TOCIndex