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

How can I detect if one of my helper processes is launching child processes?

You can ask a job object to keep track for you.

How can I create a window the size of the screen without it being treated as a fullscreen window?

You can declare that you aren't rude.

Silly parlor tricks: Promoting a 32-bit value to a 64-bit value when you don’t care about garbage in the upper bits

Inline assembly that doesn't do anything.

Why does Windows report my processor speed twice, with slightly different values?

One is calculated. The other is self-promotion.

Secret passages on Microsoft main campus, episode 3

Another covered passage between buildings.

What’s with the weird wReserved
value at the start of the DECIMAL
structure?

It's where the discriminant goes when the DECIMAL
is put "inside" a VARIANT
.

How do I force RunOnce commands to run in a specific order?

Run them in the desired order yourself.

If I mark my thread pool callback as long-running, does it still count toward the thread pool thread limit?

Yes, because it's still in the thread pool.

What is the developer set-up for developing Windows for multiple processor architectures?

You usually just pick one and count on your friends for the others.