This routine is used to obtain integer-valued information about the current message part. (When mtaDecodeMessage() calls either a user-supplied inspection or output routine, it provides a decode context describing the current message part being processed.)
The following table lists the values for the item argument, and gives a description of each.
Values |
Description |
---|---|
MTA_DECODE_DTYPE |
Data type associated with this part. The returned values will be MTA_DATA_NONE, MTA_DATA_HEADER, MTA_DATA_TEXT, or MTA_DATA_BINARY. |
MTA_DECODE_PART_NUMBER |
Sequential part number for the current part. The first message part is part 0, the second part is 1, the third part is 2, and so on. |