fpGetStreamInfo()

This function extracts file format and character set information from the source document.

Syntax

BOOL pascal _export fpGetStreamInfo (
    void            *pContext,
    KVInputStream   *pInput,
    KVStreamInfo    *pStreamInfo ); 

Arguments

pContext

A pointer returned from fpInit() or fpInitWithLicenseData().

pInput

A pointer to the developer-assigned instance of KVInputStream. The KVInputStream structure defines the input stream that contains the source for the conversion. See KVInputStream.

pStreamInfo

A pointer to the developer-assigned instance of KVStreamInfo. The KVStreamInfo structure defines the input stream document type and character set. See KVStreamInfo.

You can examine the fields in the structure to determine the appropriate template to use based on the document type.

Returns

Discussion

This function runs in-process or out of process. See Convert Files Out of Process.