KVMetaName

DEPRECATED: The KVMetaName structure is deprecated in KeyView 23.2.0 and later. OpenText recommends that you access metadata using the metadata API described in Use the Metadata API.

This structure is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.

This structure defines the names of the metadata fields to be extracted from a mail file. This structure is defined in kvxtract.h.

typedef struct tag_KVMetaName
{
    KVMetaNameType    type;
    union
    {
        void         *pname;
        int           iname;
        char         *sname;
    }name;
}
KVMetaNameRec, *KVMetaName;

Member Descriptions

type

The type of metadata name (such as integer or string). The types are defined by the KVMetaNameType enumerated type.

NOTE: MAPI property names are of type integer.

pname A pointer to a structure defining the metadata fields to be retrieved.
iname The name of a metadata field of type integer.
sname A pointer to the name of a metadata field of type string.

Discussion

If you specify the MAPI tag name (for example, PR_CONVERSATION_TOPIC), you must include the mapitags.h and mapidefs.h Windows header files, in which PR_CONVERSATION_TOPIC is defined as 0x0070001e.