# fpGetKvErrorCodeEx()

This function gets an extended error code defined in `KVErrorCodeEx`. It is called to provide additional information when `fpFilterFile()` or `fpFilterStream()` returns the error `KVERR_General`. See KVErrorCode.

## Syntax

    KVErrorCodeEx pascal fpGetKvErrorCodeEx ( void *pContext )

## Arguments

`pContext` | A pointer returned from fpInit() or fpInitWithLicenseData().

## Returns

The return value is an error code from `KVErrorCodeEx`.

## Discussion

You can access this function through the KV_GetFilterInterfaceEx() interface.

## Example

    KVErrorCode    nReturnCode = 0;
    if ( nReturnCode == KVERR_General )
        { int kvErrorEx;
          if ( lsv->fpKV_GetKvErrorCodeEx )
          {
            kvErrorEx = (*lsv->fpKV_GetKvErrorCodeEx)( pFilter );
            if ( kvErrorEx != KVError_Last)
              printf("KvErrorCodeEx = %d \n ", kvErrorEx );
    ...

© Copyright 2016-2020 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 mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm