File Content Extraction 26.1
Viewing SDK Programming Guide

# VAPINM_VIEW_FILE

Specifies a file that should be viewed. For example, this notification message is generated when the user double-clicks a subfile in a container file displayed in VAPI. This message is also generated when the user clicks a link to a local file from within an HTML file displayed in VAPI.

## Syntax

    #include <kvvapi.h>
    VAPINM_VIEW_FILE = uMsg;
    VAPINMWP_VIEW_KEEPFILE or VAPIMWP_VIEW_DELETEFILE = wParam;
    char* lpszFileName = (char*) lParam;

## Arguments

Argument | Description
--- | ---
`lpszFileName` | A pointer to the complete file specification, including the path, of a file that should be viewed. If the `wParam` is `VAPIMWP_VIEW_DELETEFILE`, the file should be deleted after it is viewed (the file is a temporary file).

## Returns

Returns `TRUE` if the message is processed.

Copyright 2016-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: VAPINM_VIEW_FILE