The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

Oct 13, 2015
Post comments count
0
Post likes count
1
Why do Saturation and Luminance go all the way to 240, but Hue goes only to 239? And why 239 anyway?

Mapping a floating point number to a byte.

Oct 12, 2015
Post comments count
0
Post likes count
0
How do I get the user-customed name of My Computer or Recycle Bin?

Ask the shell. That is, after all, how the shell displays it.

Oct 9, 2015
Post comments count
0
Post likes count
0
Learning about farm animals from my niece

Things you don't learn in biology class.

Oct 9, 2015
Post comments count
0
Post likes count
0
How does a shell namespace extension provide icons for virtual items that track the standard icons set by the user’s file associations?

Forward to the standard implementation.

Oct 8, 2015
Post comments count
0
Post likes count
0
What happens if you call VirtualAlloc to MEM_COMMIT a page you never MEM_RESERVE?

It is not guaranteed to succeed.

Oct 7, 2015
Post comments count
0
Post likes count
0
How do we change permissions on a share as fast as Explorer does it?

First, make sure you're changing the permissions on a share.

Oct 6, 2015
Post comments count
0
Post likes count
0
First, try reading the error message, episode 4: Even programmers see error messages without reading them

Here we go again.

Oct 5, 2015
Post comments count
0
Post likes count
0
How do I obtain the comment for a share?

NetShareGetInfo.

Oct 2, 2015
Post comments count
0
Post likes count
0
Hacking the law: On the role of the marriage officiant in the State of Washington

Strange rules that basically mean there are no meaningful rules.