FLATENTRY
The FLATENTRY
structure is an ENTRYID structure plus a byte count that specifies
the size of the ENTRYID structure.
Quick Info
Header
file: |
MAPIDEFS.H |
Related
macros: |
cbFLATENTRY |
typedef struct
{
ULONG cb;
BYTE abEntry[MAPI_DIM];
} FLATENTRY, FAR *LPFLATENTRY;
Members
cb
Count of
bytes in the abEntry member.
abEntry
The complete
entry identifier, including the array of flags and binary data.
Remarks
There are two
differences between a FLATENTRY structure and an ENTRYID
structure:
FLATENTRY stores the
size of the entry identifier; ENTRYID does not.
FLATENTRY stores the
flag data together with the rest of the entry identifier; ENTRYID stores
them separately.
A FLATENTRY
structure is used to store an entry identifier in a file or pass it in a stream
of bytes whereas an ENTRYID structure is used by the IMAPIProp
methods and by the OpenEntry methods. When an entry identifier needs to
be stored on disk, it must be stored in an ENTRYID structure. A FLATENTRY
structure cannot be used because there are byte order problems with storing the
size.
See Also