# pst_item_attach Struct Reference

This contains the attachment related mapi elements. More...

`#include <libpst/libpst.h>`

Collaboration diagram for pst_item_attach:
[legend]

## Data Fields
pst_string | filename1
| mapi element 0x3704 PR_ATTACH_FILENAME
pst_string | filename2
| mapi element 0x3707 PR_ATTACH_LONG_FILENAME
pst_string | mimetype
| mapi element 0x370e PR_ATTACH_MIME_TAG
pst_string | content_id
| mapi element 0x3712 PR_ATTACH_CONTENT_ID
pst_binary | data
| mapi element 0x3701 PR_ATTACH_DATA_OBJ
uint64_t | id2_val
| only used if the attachment is by reference, in which case this is the id2 reference
uint64_t | i_id
| calculated from id2_val during creation of record
pst_id2_tree * | id2_head
| id2 tree needed to resolve attachments by reference
int32_t | method
| mapi element 0x3705 PR_ATTACH_METHOD
int32_t | position
| mapi element 0x370b PR_RENDERING_POSITION
int32_t | sequence
| mapi element 0x3710 PR_ATTACH_MIME_SEQUENCE
struct pst_item_attach * | next

## Detailed Description

This contains the attachment related mapi elements.

Definition at line 603 of file libpst.h.

## Field Documentation

pst_string pst_item_attach::content_id

mapi element 0x3712 PR_ATTACH_CONTENT_ID

Definition at line 611 of file libpst.h.

pst_binary pst_item_attach::data

mapi element 0x3701 PR_ATTACH_DATA_OBJ

Definition at line 613 of file libpst.h.

pst_string pst_item_attach::filename1

mapi element 0x3704 PR_ATTACH_FILENAME

Definition at line 605 of file libpst.h.

pst_string pst_item_attach::filename2

mapi element 0x3707 PR_ATTACH_LONG_FILENAME

Definition at line 607 of file libpst.h.

uint64_t pst_item_attach::i_id

calculated from id2_val during creation of record

Definition at line 617 of file libpst.h.

pst_id2_tree* pst_item_attach::id2_head

id2 tree needed to resolve attachments by reference

Definition at line 619 of file libpst.h.

uint64_t pst_item_attach::id2_val

only used if the attachment is by reference, in which case this is the id2 reference

Definition at line 615 of file libpst.h.

int32_t pst_item_attach::method

mapi element 0x3705 PR_ATTACH_METHOD

- 0 no attachment
- 1 attach by value
- 2 attach by reference
- 3 attach by reference resolve
- 4 attach by reference only
- 5 embedded message
- 6 OLE

Definition at line 628 of file libpst.h.

pst_string pst_item_attach::mimetype

mapi element 0x370e PR_ATTACH_MIME_TAG

Definition at line 609 of file libpst.h.

struct pst_item_attach* pst_item_attach::next`[read]`

Definition at line 633 of file libpst.h.

int32_t pst_item_attach::position

mapi element 0x370b PR_RENDERING_POSITION

Definition at line 630 of file libpst.h.

int32_t pst_item_attach::sequence

mapi element 0x3710 PR_ATTACH_MIME_SEQUENCE

Definition at line 632 of file libpst.h.

The documentation for this struct was generated from the following file:

- libpst/libpst.h