The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

May 18, 2016
Post comments count 0
Post likes count 1

Why doesn’t RevertToSelf undo the most recent SetThreadToken?

Raymond Chen

It removes all impersonation; it doesn't restore it.

May 17, 2016
Post comments count 0
Post likes count 1

But Australian Telecom loves it!

Raymond Chen

Weighted average.

May 16, 2016
Post comments count 0
Post likes count 1

Wow, that article sounds an awful lot like something I would have writt… hey, wait a second

Raymond Chen

Deja vu.

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

Is Metro on fire today?

Raymond Chen

Single-serving.

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

Why am I being told that my message ID is too large?

Raymond Chen

Look at the message format.

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

How come a duplicated token doesn’t behave identically to the original?

Raymond Chen

The inside's the same, but the outside is different.

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

What’s the difference between duplicating the handle to a token and duplicating a token?

Raymond Chen

Are you sharing an object or are you creating two objects?

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

How can my CPU be running faster than the maximum speed?

Raymond Chen

Remember the Turbo button?

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

Taking shortcuts when following driving instructions doesn’t always pay off

Raymond Chen

Back to the source.