File Content Extraction 26.2
HTML Export SDK C Programming Guide

# 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 to an Export session that you initialized by calling fpInit().
`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`.

## Discussion

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

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: fpGetStreamInfo()