# KVInputStream

This structure defines an input stream for filtering. The structure is defined in `kvtypes.h`.

    typedef struct tag_InputStream
    {
       void  *pInputStreamPrivateData;
       long  lcbFilesize;
       BOOL (pascal *fpOpen) (struct tag_InputStream *);
       UINT (pascal *fpRead) (struct tag_InputStream *, BYTE *, UINT);
       BOOL (pascal *fpSeek) (struct tag_InputStream *, long, int);
       long (pascal *fpTell) (struct tag_InputStream *);
       BOOL (pascal *fpClose)(struct tag_InputStream *);
    }
    KVInputStream;

## Member Descriptions

- All member functions are equivalent to their counterparts in the ANSI standard library, except `fpOpen()`, which returns `FALSE` on failure.
- On `fpOpen()`, if the size of the stream is known, assign that value to `lcbFilesize`. Otherwise, set `lcbFilesize` to `0`.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm