In windows 2000 and after (maybe sooner not sure) you can right click any file type and hit properties and there is a Summary tab which displays extra properties like Author, Title, Subject, Comments. How can you access this information via code?

I've seen a dll that can do this but only for Office documents, which either stores them different or has its one internal set as well.