File Content Extraction 25.3
Viewing SDK Programming Guide

# VAPIM_SETINDEXBUFCHARSET

Sets the character set for the returned indexed text buffer.

## Syntax

    #include <kvvapi.h>
    SendMessage (g_hWndVAPI, VAPIM_SETINDEXBUFCHARSET, kvcharset, 0 );

## Arguments

Argument | Description
--- | ---
`g_hWndVAPI` | The handle of the VAPI window.
`kvcharset` | A value from the `KVCharSet` enumerated type in `kvcharset.h`.

## Returns

`SendMessage()` returns `TRUE` if the call succeeds.

## Discussion

If `kvcharset` is `KVCS_UNKNOWN`, the character set of the returned buffer is the Windows native character set (for example, `KVCS_1252` for an English machine). This is also the default character set on an English machine when `VAPIM_SETINDEXBUFCHARSET` message is not sent.

Copyright 2016-2025 Open Text
Version 25.3 | Last updated July 2025

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 25.3

Topic Title: VAPIM_SETINDEXBUFCHARSET