File Content Extraction 26.1
XML Export SDK C Programming Guide

# Obtain File Format Information

The File Content Extraction format detection module (`kwad`) detects a file's format.

This feature enables you to apply customized conversion settings based on a file's format.

To obtain file format information using the C API

1. Declare a pointer to the KVStreamInfo data structure.

2. Call the fpGetStreamInfo() function.

   The `fpGetStreamInfo()` function populates the ADDOCINFO structure with format information such as file class, format, and version.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 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.1

Topic Title: Obtain File Format Information