KeyView 24.4
KeyView 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-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: VAPIM_SETINDEXBUFCHARSET