# 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

- If the call is successful, the return value is `TRUE`.

- If this call is unsuccessful, the return value is `FALSE`.

_FT_HTML5_bannerTitle.htm