This function returns information about a file such as its format and character set.
KVPDFState pascal fpGetFileInfo( const KVPDFContext context, const char* const pszInFileName, KVDocInfo* const pDocInfo);
|
A context value obtained by using fpInit(). |
|
A null-terminated C string that contains the path of the file to retrieve information about. |
pDocInfo
|
A pointer to a KVDocInfo structure to write the file information to. |
KVPDFState
structure with eErrorCode
set to KVERR_Success
.KVPDFState
structure that indicates the reason for the error.KVDocInfo
structure by using the KVStructInit()
macro.pDocInfo
points to has not been modified.