KeyView 24.4
KeyView Filter SDK C Programming Guide

# fpFileToInputStreamCreate()

DEPRECATED: The `fpFileToInputStreamCreate()` function is deprecated in KeyView version 23.2 and later. Use fpOpenDocumentFromStream() instead.

This function creates an input stream from a file.

## Syntax

    BOOL pascal fpFileToInputStreamCreate(
        KVFilterSession  session,
        char            *pszFileName,
        KVInputStream   *pInput)

## Arguments

`session` | A KeyView Filter session that you initialized by calling fpInit().
`pszFileName` | A pointer to the name of the input file to be filtered.
`pInput` | A pointer to the developer-assigned instance of KVInputStream. The structure `KVInputStream` defines the input stream that contains the source.

## Returns

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

## Discussion

- After filtering is complete, call `fpFileToInputStreamFree()` to free the memory allocated by this function.
- You can access this function through the KV_GetFilterInterfaceEx() function, or call it directly.

- On Windows, `pszFileName` must be in the local Windows code page.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

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: IDOL KeyView 24.4

Topic Title: fpFileToInputStreamCreate()