# 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`.

_FT_HTML5_bannerTitle.htm