# KVMetaName

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

© Copyright 2006-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm