fpGetFileInfo()

This function returns information about a file such as its format and character set.

Syntax

KVPDFState pascal fpGetFileInfo(
    const KVPDFContext context,
    const char* const pszInFileName,
    KVDocInfo* const pDocInfo);

Arguments

Context

A context value obtained by using fpInit().

pszInFileName

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.

Returns

Discussion