The Old New Thing

MSDN-speak: What does it mean when a parameter contains a value?

I've seen some confusion over this, heck I've been confused by this, so I figured I'd share what I've learned. In MSDN, you may see wording like this: pdwResult [out] When the function returns, contains a pointer to a value that contains the result of the computation. What they're trying to say is that the is a pointer to a that ...

Microspeak: Pricing uplift

In a conference call with investors last year, investor relations general manager Colleen Healy described the effect of business editions of Windows thus: As we shared with you previously, Windows Vista business generates over five times the pricing uplift over Windows Vista Home Basic than does Windows Vista Home Premium. Also known as ...

Blinding bank robbers with kindness

Despite the friendliness of people in the Pacific Northwest (or perhaps because of it), bank robberies in the area are above the national average. But in the Seattle area they went down by nearly half in the beginning of 2007. The reason isn't known for certain, but one factor may be a new approach to thwarting bank robbers by employing "...

How do the common controls convert between ANSI and Unicode?

Commenter Chris Becke asks how the common controls convert ANSI parameters to Unicode, since the common controls are Unicode internally. Everything goes through , pretty much by definition. The ANSI code page is . That's what ACP stands for, after all. Now, there are some function families that do not use ANSI. The console subsystem, for ...

Sometimes it's easier just to let the native speaker win

My entry last month about that virus that is responsible for the top six Explorer crashes prompted me to check out the blog of the Anti-Malware Engineering Team, and at the bottom of a report from Microsoft TechEd Boston is a photo of a few members of the Anti-Malware Engineering Team. I've worked with some of those people, and I had ...

Don't be helpless: You can find information, too, if you try

Here's a question that floated past my view: Anybody know if there exists a library for computing MD5 hashes from unmanaged code? MSDN has information about .NET classes, but nothing about the unmanaged side. Hm, let's see. Wow, those hits sure look promising. Perhaps a search on Windows Live or Google¹ will turn up something. ...

Simply attach a piano to the end of the trebuchet

As easy as 1-2-3. What's really scary is that they are hardly the only people to have done this. An Internet search will reveal many other people who've expressed similar musical talent. Or you can build one out of an industrial robot and hurl flaming bowling balls...