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 ); ...