KeyView 23.4

# TPVAPICreateParams

This structure defines the parameters used to create the VAPI window. A VAPI window is created using the standard Windows API functions `CreateWindow()` or `CreateWindowEx()`. See Create a Viewing API Window.

## Syntax

    #include <kvvapi.h>
    typedef struct tag_TPVAPICreateParams
    {
        UINT            uProfileType;
        LPSTR           lpszRegistryName;
        LPSTR           lpszIniFileName;
        LPVOID          lpvViewerCreateParams;
        BOOL            bSendErrorNM;
        BOOL            bToolBar;
        LPVOID*         lplpvKeyView;
    }
    TPVAPICreateParams;

## Members

`uProfileType` | Specifies whether initialization information is located in an initialization file or registry. This is optional. The following options are available: `PROFILEDF_USE_UNDEFINED 0` Use default (Registry) `PROFILEDF_USE_INI 1` Use initialization file `PROFILEDF_USE_REG 2` Use Registry The default is `PROFILEDF_USE_REG`. See View Initialization Information.
`lpszRegistryName` | If you are using the registry file to specify initialization information, this is the registry name of key under `HKEY_LOCAL_MACHINE\SOFTWARE`. This is optional. The default is `VAPIDF_REGISTRY_NAME = [Verity\Viewing SDK]`).
`lpszIniFileName` | If you are using an initialization file to specify initialization information, this is the file name (not the full path) of the initialization file. This is optional. The default is `VAPIDF_INI_FILE_NAME = [KeyView.ini]`.
`lpvViewerCreateParams` | Viewer window create. This is optional. Use for custom Viewer.
`bSendErrorNM` | A flag to tell VAPI to send `VAPINM_ERROR` notification messages. This is optional. The default is `TRUE`.
`bToolBar` | Reserved. This must be `FALSE`.
`lplpvKeyView` | Reserved. This must be `NULL`.

Copyright 2016-2023 Open Text
Version 23.4 | Last updated September 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.4

Topic Title: TPVAPICreateParams