When fpConvertStream()
or KVHTMLConvertFile()
is called, control is not returned to the application until the entire document is processed. This callback function provides a means of monitoring progress and terminating the conversion process before the conversion is completed.
BOOL (pascal *Continue) ( void *pCallingContext, int nPercentComplete);
|
A pointer passed back to the caller-provided callback functions. This pointer, which can be |
|
The approximate percentage of the current conversion that is completed. You can monitor the progress of the conversion by checking the value of |
If the call is successful, the return value is TRUE
.
If the call is unsuccessful, the return value is FALSE
. Processing is halted.
There is a callback to this function for every entry that appears in the generated table of contents.
The application is free to execute any required code in the callback function, with the exception of fpShutDown()
.
|