KeyView 23.4

# 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-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: KVStructHead