The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jun 13, 2016
Post comments count 0
Post likes count 1

What’s so special about the number 64 when it comes to TLS slots?

Raymond Chen

That's how many there were, a long time ago.

Jun 10, 2016
Post comments count 0
Post likes count 1

Investigating an app compat problem: Part 3: Paydirt

Raymond Chen

Finding the answer.

Jun 9, 2016
Post comments count 0
Post likes count 1

Investigating an app compat problem: Part 2: Digging in

Raymond Chen

Understanding the scenario a little more.

Jun 8, 2016
Post comments count 0
Post likes count 1

Investigating an app compat problem: Part 1: The initial plunge

Raymond Chen

Seeing the proximate cause.

Jun 7, 2016
Post comments count 0
Post likes count 1

I finally finished this awesome game called Photoshop, let me send you a video

Raymond Chen

Taking the Game DVR to the next level.

Jun 6, 2016
Post comments count 0
Post likes count 1

If I create multiple selectors each of size 4GB, do I get a combined address space larger than 4GB?

Raymond Chen

Not really

Jun 3, 2016
Post comments count 0
Post likes count 1

Why does SetFileValidData fail even though I enabled the SE_MANAGE_VOLUME_NAME privilege?

Raymond Chen

It's all in the timing.

Jun 2, 2016
Post comments count 0
Post likes count 1

How can I tell whether a file is on a removable drive, a fixed drive, or a remote drive?

Raymond Chen

Beware of the volume mount point.

Jun 1, 2016
Post comments count 0
Post likes count 1

Why does SHGetKnownFolderPath fail when impersonating?

Raymond Chen

Because there's a special way to call it for impersonation.