In my first post, I described what the property system provides from an API perspective. But I used all these techno-wiggle-waggle-jibber-jabber that my friends couldn't follow. Ich. What feedback for a first post! So here it is minus the 133t-speak:
The property system helps move information about your files -- sizes, dates, names -- from your hard drive to the screen. For instance, if you right click on a file to view the properties, you'll see the file size and file name in the dialog that pops up. The property system is what transported that data.
But the property system in Vista can do more! It can do things like figure out the title of a document, or the star rating on a photo. Not only that, but software developers can extend the property system to tell you the word count on a PDF, or the bit rate on an MP3. All these things are properties that describe your files and make them easier to organize, reason with, and search over.
In many ways, the property system is like FedEx -- it's job is transportation and logistics. It takes data from files and sends it to the programs for display on the screen.
Well, I hope that was better. I will be aiming most of my posts in the future at programmers who are trying to use the property system.
This post brought to you by: PKEY_Size, a UInt64 value containing the number of bytes your file occupies.