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);