KeyView 24.4
KeyView Filter SDK C Programming Guide

# fpGetDocInfo()

Gets the format information for a document, including the file format and file class.

## Syntax

    KVErrorCode (pascal* fpGetDocInfo)(
        KVDocument pDocument,
        ADDOCINFO* pDocInfo);

## Arguments

`pDocument` | A `KVDocument` that you created with fpOpenDocumentFromFile() or fpOpenDocumentFromStream().
`pDocInfo` | A pointer to an ADDOCINFO structure that you want to populate with format information.

## Returns

The return value is an error code.

- If the call is successful, the return value is `KVError_Success` and the document information is set in `pDocInfo`.
- If the call is unsuccessful, the return value is an error code that indicates the problem.

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: fpGetDocInfo()