File Content Extraction 25.1
XML Export SDK C Programming Guide

# fpGetKvErrorCode()

This function gets an extended error code defined in `KVErrorCode`. If an HTML Export function fails, you can call `fpGetKvErrorCode()` to find extra information on the failure.

## Syntax

    KVErrorCode pascal fpGetKvErrorCode (
        void 	     *pContext );

## Arguments

`pContext` | A pointer to an Export session that you initialized by calling fpInit().

## Returns

The current error code.

## Discussion

If there has not been a failure, this function returns `KVERR_Success`.

Copyright 1997-2024 Open Text
Version 25.1 | Last updated January 2025

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 25.1

Topic Title: fpGetKvErrorCode()