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.
KVErrorCodeEx pascal fpGetKvErrorCodeEx ( void *pContext )
pContext
|
A pointer returned from fpInit(). |
The return value is an error code from KVErrorCodeEx.
You can access this function through the KV_GetFilterInterfaceEx() interface.
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 );
...
|
|