libyal / libpff

Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format
GNU Lesser General Public License v3.0
286 stars 74 forks source link

Question about libpff_folder_get_type #31

Closed yangmtb closed 7 years ago

yangmtb commented 7 years ago

line 111, column 15 it's LIBPFF_ENTRY_TYPE_CONTAINER_CLASS , should be LIBPFF_ENTRY_TYPE_FOLDER_TYPE?

joachimmetz commented 7 years ago

Why do you think this is a bug?

Also see: https://github.com/libyal/libfmapi/blob/master/documentation/MAPI%20definitions.pdf for more information about the MAPI values.

yangmtb commented 7 years ago

the function name is folder type, so i think it should be LIBPFF_ENTRY_TYPE_FOLDER_TYPE by the way, how can i distinguish attachment, about inline or attachment.? how can i get content-id with inline picture, Think you

joachimmetz commented 7 years ago

the function name is folder type, so i think it should be LIBPFF_ENTRY_TYPE_FOLDER_TYPE by the way

nope that assumption is not correct, the terminology used by libpff is not that of MAPI. see the MAPI documentation for the difference between PidTagFolderType and PidTagContainerClass

how can i get content-id with inline picture

libpff exposes the MAPI values, check the MAPI and MSDN documentation on how to piece back together a message