Previous Topic: Data FlagsNext Topic: Message ID Data Element


Data Type

The Data Type enumeration, defined in SocketUtils.h, contains the following items:

WGN_IMPORTDATA_TYPE_DATA               = 1
WGN_IMPORTDATA_TYPE_MESSAGEID          = 2
WGN_IMPORTDATA_TYPE_STREAMNAME         = 3
WGN_IMPORTDATA_TYPE_XML_METADATA       = 4
WGN_IMPORTDATA_TYPE_XML_RESULTS        = 5
WGN_IMPORTDATA_TYPE_HRESULT_TEXT       = 6
WGN_IMPORTDATA_TYPE_XML_ADD_ATTRIBUTES = 7

For Object Type MAPI, WGN_IMPORTDATA_TYPE_DATA, the data contains the data from a Outlook Message Format (.msg) file.

For Data Format WGN_IMPORTDATA_TYPE_DATA , the data contains valid RFC 822 mail data. For example, the contents of an Outlook Express Mail (.eml) file.

For Data Format WGN_IMPORTDATA_TYPE_DATA , the data contains the contents of the file, as it is stored on disk. If, for example, the file is an IStorage file, the message may contain multiple streams, there will be one data element for each stream in that file.

For all other data formats, the data must be in UTF_16 big endian format.