Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Property System   (RSS)
Someone asked if I had a copy of the code I've been using in my blog so far. Well, I didn't as of 5pm today, so I went back and collected the code into 3 projects: propreader.exe <file> - Prints a list of all properties we know about the file propwriter.exe Read More...
It is time that I talk a little about what to do if you want your application to run on XP. There are three sets of APIs, each with subtle differences and caveats, and ultimately your choice requires deciding what platform your application must run on: Read More...
Coding to the Windows SDK Reading properties #7 - Summary Writing properties #1 - Simple beginnings Writing properties #2 - Filetype support? Writing properties #3 - Which properties are writable? Writing properties #4 - Which properties are writable? Read More...
There's one last topic I want to touch on before I close this series: Canonical values. So far I've talked about how to determine when the property itself is writable. But once you decide to write a property, how do you figure out what type the value Read More...
Have you ever felt this before? It's the day after you send your product to manufacturing . You step back, look at the big picture, and start to see minor flaws. A dread sinks in when you realize you just blogged about it too! That was Monday morning. Read More...
[Edit: 2006/11/13 - My original post got this topic entirely backwards. I've fixed the title and will provide details about this tomorrow. ] -Ben Karas Read More...
You'll recall that there are multiple layers in the property system . In particular, the GPS_DEFAULT property system stack for files in the filesystem namespace looks like this: [ Application using GPS_DEFAULT ] [ Coercion Layer ] [ Shell Item Layer ]* Read More...
So if a property handler doesn't enumerate which properties it supports writing , then how does the explorer pick which properties to show? Well, the shell namespace extension containing the item specifies the list of properties it wants to show in a Read More...
I'm going to make a first stab at printing out a list of properties that are writable for a given file. I'll spoil the fun and let you know that my attempt today will not fully succeed. I'll explain later. For now, let's see some code! You'll recall I Read More...
I'm going to be talking about writable properties over the next few days. I know that some of you are itching to try this out yourselves, so here is an overly simplistic program that will write a single property to a file. I have omitted a lot of diagnostic Read More...
The general rule is that you should minimize the length of time you have a property store open. It is best to acquire the data you need and then release the store. Read-only property stores lock files for reading using a filesystem oplock . An oplock Read More...
This coding expedition has developed a tool that can dump out all the properties on a file. If you are curious about the property system, I highly recommend you build this tool and run it on various file types. Coding to the Windows SDK Part 1 - Binding Read More...
Using the tool I developed in this series, I know that my test photo has " Rating: 5 Stars ". But how is this value actually represented in the JPG itself? Let's answer that by adding some developer friendly output. Here's what I did: First, I need a Read More...
In Part 4 , I discovered that WideCharToMultiByte converts certain invisible non-spacing Unicode characters to ?. This makes the output look really silly in a command line application. I want to keep this as a command line application, so I need to strip Read More...
The program itself is provided in parts 1 , 2 , and 3 . So I compiled my program and ran it from the command line. Here's a snippet of what I got back: Properties for 'scan0010.jpg' Folder name: propshow Type: JPEG Image Name: scan0010.jpg Size: 638 KB Read More...
More Posts Next page »
 
Page view tracker