The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

May 15, 2017
Post comments count 0
Post likes count 1

At least it wasn’t on a Web page with the warning “Beware of the leopard”

Raymond Chen

But it was simple.

May 12, 2017
Post comments count 0
Post likes count 1

A question about avoiding page faults the first time newly-allocated memory is accessed

Raymond Chen

What are you trying to optimize?

May 11, 2017
Post comments count 0
Post likes count 1

How to calculate the resulting security descriptor of a child object without creating it

Raymond Chen

Pretend that it's a private object.

May 10, 2017
Post comments count 0
Post likes count 1

Revised notes on the reliability of FlushFileBuffers

Raymond Chen

A check-in on what's happened over the past few years.

May 9, 2017
Post comments count 0
Post likes count 1

The early Windows phone devices were liquid-cooled, sort of

Raymond Chen

Soda is a liquid, right?

May 8, 2017
Post comments count 0
Post likes count 1

Couldn’t we fix the lackey catastrophe by using #pragma init_seg(user)?

Raymond Chen

That doesn't help, for more than one reason.

May 5, 2017
Post comments count 0
Post likes count 1

Remember that in a stack trace, the addresses are return addresses, not call addresses

Raymond Chen

It's where the function is going to return to, not where it came from.

May 4, 2017
Post comments count 0
Post likes count 1

The interaction between AppBars and Windows 10 virtual desktops

Raymond Chen

They apply to all virtual desktops.

May 3, 2017
Post comments count 0
Post likes count 1

Why don’t I get thumbnails for files that are marked offline?

Raymond Chen

Because offline files are assumed to be expensive to access.