The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jul 30, 2018
Post comments count 0
Post likes count 1

Dark Pattern: Opt-in above the fold, but opt-out below the fold

Raymond Chen

Don't stop yet. Read all the way to the end.

Jul 27, 2018
Post comments count 0
Post likes count 2

Is the Terminate­Thread function synchronous?

Raymond Chen

Nope. It merely starts the termination but does not wait for the termination to complete.

Jul 26, 2018
Post comments count 0
Post likes count 1

What happens to custom unhandled exception filters if a debugger is not running?

Raymond Chen

Nothing, that's what. Absolutely nothing.

Jul 25, 2018
Post comments count 0
Post likes count 1

Why are my file write operations synchronous, even though I opened the file as FILE_FLAG_OVERLAPPED?

Raymond Chen

Extending the valid bytes is always synchronous.

Jul 24, 2018
Post comments count 0
Post likes count 1

Pushing the boundaries of cryptography in a security vulnerability report

Raymond Chen

If it's what you say, then you don't need a supercomputer.

Jul 23, 2018
Post comments count 0
Post likes count 1

The heavy metal umlaut reaches baked goods

Raymond Chen

For that extra Germanic oomph.

Jul 23, 2018
Post comments count 0
Post likes count 1

How do I trigger an EN_UPDATE notification for all of my edit controls when the user’s locale information changes?

Raymond Chen

It's your edit control, so you can do it yourself.

Jul 20, 2018
Post comments count 0
Post likes count 2

How can I get the actual window procedure address and not a thunk?

Raymond Chen

Match the character set of the top-level window procedure.

Jul 19, 2018
Post comments count 0
Post likes count 1

When is it appropriate to use the current processor number as an optimization hint?

Raymond Chen

Try not to let it slip out from under you.