2.3.8.18 EnvAttachment

Referenced by: EnvAttachmentCollection

A structure that contains the data for a single email message attachment.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

AttachmentMethod

AttachmentNameSize

AttachmentName (variable)

...

AttachmentSizeLowOrderBits

AttachmentSizeHighOrderBits

Data (variable)

...

AttachmentMethod (4 bytes): An unsigned integer that represents the MAPI property PR_ATTACH_METHOD, as specified in [MS-OXPROPS].

AttachmentNameSize (1 byte): A byte that contains the size, in characters, of AttachmentName.

AttachmentName (variable): A Unicode character array that contains the file name of the attachment.

AttachmentSizeLowOrderBits (4 bytes): An unsigned integer that contains the low-order bits for the file size of the attachment.

AttachmentSizeHighOrderBits (4 bytes): An unsigned integer that contains the high-order bits for the file size of the attachment.

Data (variable): An array of bytes that contains the content of the attachment.