File Content Extraction 26.1
HTML 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-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: fpGetKvErrorCode()