Monday, April 25, 2011

COM-Interface for accessing file information (title, subject, author)?

Hi,

On NTFS, any file can have extended file information based on an Alternate Data Stream. Explorer displays this as a tab in the file properties dialog. I am quite sure there is a COM-Interface for reading/modifying this information, but I seem to be unable to come up with the right terms for my search.

Can anyone give me a short pointer? Thanks in advance!

Best regards, Martin

Screenshot

From stackoverflow
  • I don't think that alternate data streams are used for this. It's more likely based on what Microsoft calls Structured Storage (which used to be called compound file binary format).

    Martin C. : Hi, why can I add it to any (empty) file as well? I'm quite sure it is saved as ADS in this case, but I need to confirm. But I think the IStorage interface could be the pointer in the right direction.
    jdigital : I reread your post more carefully, and you are correct. I thought the dialog was from a Word document and that's why I pointed you towards Structured Storage. Sorry!

0 comments:

Post a Comment