File Content Extraction 26.1
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-2025 Open Text
Version 26.1 | Last updated January 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.1

Topic Title: KVHTMLCallbacksEx