Open topic with navigation

# KVXMLCallbacks

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

    typedef BOOL (pascal *KVXMLCB_CONTINUE)(
        void                *pcallingContext,
        int                 nPercentDone);
    typedef BOOL (pascal *KVXMLCB_GETANCHOR)(
        void                *pCallingContext,
        KVXMLAnchorType     eAnchorType,
        char                *pszAnchor,
        Int                 cbAnchorMax,
        BYTE                *pcHTML,
        UINT                cbHTML);
    typedef BOOL (pascal *KVXMLCB_GETAUXOUTPUT)(
        void                *pCallingContext,
        KVXMLAnchorType     eAnchorType,
        char                *pszAnchor,
        KVOutputStream      *pNewOutput);
    typedef BOOL (pascal *KVXMLCB_USERCB) (
        void                *pCallingContext,
        char                *psUserCBid,
        KVOutputStream      *pOutput,
        void                *pReserved);
    typedef struct tag_KVXMLCallbacks
    {
        KVXMLCB_CONTINUE        fpContinue;
        KVXMLCB_GETANCHOR       fpGetAnchor;
        KVXMLCB_GETAUXOUTPUT    fpGetAuxOutput;
        KVXMLCB_USERCB          fpUserCB;
    }
    KVXMLCallbacks;

## Member Descriptions

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

- If `fpGetAuxOutput()` is `NULL`, the `pszDefaultOutputDirectory` member of the instance of `KVXMLOptions` 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 KVXMLOptions.

© Copyright 2006-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm