File Content Extraction 26.2
HTML Export SDK C Programming Guide

# KVHTMLCallbacksEx

This structure provides all callbacks that can result from a call to `fpConvertStream()` or `KVHTMLConvertFile()`. See fpConvertStream() and KVHTMLConvertFile(). Any and all of the function pointers can be `NULL`.

    typedef BOOL (pascal *KVHTMLCB_CONTINUE)(
        void                  *pcallingContext,
        int                   nPercentDone);
    typedef BOOL (pascal *KVHTMLCB_GETANCHOREX)(
        void                  *pCallingContext,
        KVHTMLAnchorTypeEx    eAnchorTypeEx,
        char                  *pszAnchor,
        int                   cbAnchorMax,
        BYTE                  *pcHTML,
        UINT                  cbHTML);
    typedef BOOL (pascal *KVHTMLCB_GETAUXOUTPUTEX) (
        void                  *pCallingContext,
        KVHTMLAnchorTypeEx    eAnchorTypeEx,
        char                  *pszAnchor,
        KVOutputStream        *pNewOutput);
    typedef BOOL (pascal *KVHTMLCB_USERCBEX) (
        void                  *pCallingContext,
        char                  *psUserCBid,
        KVOutputStream        *pOutput,
        void                  *pReserved);
    typedef struct tag_KVHTMLCallbacksEx
    {
        KVHTMLCB_CONTINUE            Continue;
        KVHTMLCB_GETANCHOREX         GetAnchor;
        KVHTMLCB_GETAUXOUTPUTEX      GetAuxOutput;
        KVHTMLCB_USERCBEX            UserCB;
    }
    KVHTMLCallbacksEx;

## Member Descriptions

- The members of this structure are pointers to the functions described in HTML Export API Callback Functions.

- If `GetAuxOutput()` is `NULL`, the `pszDefaultOutputDirectory` member of the instance of `KVHTMLOptionsEx` is used as the base storage location for auxiliary output files. If `pszDefaultOutputDirectory` is also `NULL`, auxiliary files are placed in the current working directory. See KVHTMLOptionsEx.

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: KVHTMLCallbacksEx