This structure defines the metadata tags whose values are retrieved by fpGetSubFileMetaData(). This structure is defined in kvxtract.h
.
typedef struct tag_KVGetSubFileMetaArg { KVStructHeader; int index; int metaNameCount; KVMetaName *metaNameArray; KVCharSet srcCharset; KVCharSet trgCharset; int isMSBLSB; } KVGetSubFileMetaArgRec, *KVGetSubFileMetaArg;
KVStructHeader
|
The KeyView version of the structure. See |
index
|
The index number of the subfile for which metadata is extracted. |
metaNameCount
|
The number of metadata fields to be extracted. |
metaNameArray
|
A pointer to the KVMetaName structure that contains an array of metadata tags whose values are retrieved. |
srcCharset
|
Specifies the source character set of the metadata when the format’s reader cannot determine the character set. The character sets are enumerated in KVCharSet of kvtypes.h . See KVGetSubFileMetaArg. |
trgCharset
|
The target character set of the extracted metadata. The character sets are enumerated in |
isMSBLSB
|
This flag indicates whether the byte order for Unicode text is Big Endian (MSBLSB) or Little Endian (LSBMSB). |
If the character set is detected and is also specified in srcCharset
, the detected character set is overridden by the specified character set. If the source character set is not detected and is not specified, character set conversion does not occur. The section Supported Formats lists the formats for which the source character set can be determined.
To retrieve a predefined list of metadata, pass 0
for metaNameCount
and NULL
for metaNameArray
. The metadata in Extract Mail Metadata is extracted.
|