fpCanFilterStream()
This function determines whether the format of the file to which a stream points is supported by KeyView.
DEPRECATED: The fpCanFilterStream()
function is deprecated in KeyView 23.2.0 and later. OpenText recommends that you create a KVDocument
to represent each document, and use fpCanFilter() instead.
This function is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.
Syntax
KVErrorCode pascal fpCanFilterStream( KVFilterSession session, void *pStreamContext );
Arguments
session
|
A KeyView Filter session that you initialized by calling fpInit(). |
pStreamContext
|
A pointer returned from fpOpenStream() or fpOpenStreamEx2(). |
Returns
- If the file format is supported, the return value is
KVERR_Success
. - If the file format is not supported, the return value is an error code. See KVErrorCode.