fpShutdown()

This function terminates a filtering session that was initialized by fpInit(), and frees allocated system resources. It is called when the filtering context is no longer required.

Syntax

void pascal fpShutdown( KVFilterSession session );

Arguments

session

A Filter session that you initialized by calling fpInit().

Returns

None.

Lifetime and Memory Management

After you call fpShutdown(), an attempt to access anything created from the session, such as KVDocument objects, KVMetadataList or KVFilterOutput, results in undefined behavior. Calling fpShutdown() does not free up the resources used by those objects. You must use the appropriate method to free those resources before you call fpShutdown(), for example fpCloseDocument(), KVMetadataList fpFree() and fpFreeFilterOutput().

.