fpShutDown()

This function terminates a PDF Export session that was initialized by fpInit(), and frees allocated system resources. Call this function when the conversion context is no longer required.

Syntax

void pascal fpShutDown(KVPDFContext* const pContext);

Arguments

pContext

A pointer to a context-identifying value of type KVPDFContext, obtained by calling fpInit(). The function sets the associated KVPDFContext variable to NULL to prevent accidental reuse of the context value that it contained, which must not subsequently be passed to any KeyView function.

Returns

None.

Discussion

  • pContext pointer must not be NULL.
  • The context value pointed to by pContext can be NULL.
  • After you call this function, you must not pass the context to any PDF export function. Consequently, you must not call fpShutDown more than once with a pointer to the same value (unless that value is NULL).