KeyView 24.2

# KVStructHead

This structure contains the current KeyView version number and is the first member of other structures. It enables OpenText to modify the structures in future releases, but to maintain backward compatibility. Before initializing a structure that contains the `KVStructHead` structure, use the macro `KVStructInit` to initialize it as illustrated in the example below. You do not need to set any of the members of `KVStructHead` because this is handled by `KVStructInit`. The structure and macro are defined in `kvstructhead.h`.

    typedef struct _KVStructHead
    {
        WORD   version;
        WORD   size;
        DWORD  reserved;
        void   *internal;
    } KVStructHeadRec, *KVStructHead;

## Member Descriptions

`version` | The current KeyView version number. This is a symbolic constant (`KeyviewVersion`) defined in `kvtypes.h`. This constant is updated for each KeyView release.
`size` | The size of the `KVStructHeadRec` structure.
`reserved` | Reserved for internal use.
`internal` | Reserved for internal use.

## Example

    KVOpenFileArgRec openArg;
    KVStructInit(&openArg);

Copyright 1997-2024 Open Text
Version 24.2 | Last updated March 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.2

Topic Title: KVStructHead