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

Jan 19, 2018
Post comments count
0
Post likes count
0
A helper template function to wait for a Win32 condition variable in a loop

Another case of the spurious wake-up.

Jan 18, 2018
Post comments count
0
Post likes count
0
Stuff my father-in-law says: On taking the train

A five-minute tour.

Jan 18, 2018
Post comments count
0
Post likes count
0
A helper template function to wait for WaitOnAddress in a loop

Because this is what you always have to do.

Jan 17, 2018
Post comments count
0
Post likes count
1
Why does HRESULT
begin with H when it’s not a handle to anything?

Well, it used to be a handle.

Jan 16, 2018
Post comments count
0
Post likes count
1
As far as the French government is concerned, I am the expert on Windows XP

At least it's my name on the paperwork.

Jan 15, 2018
Post comments count
0
Post likes count
0
How do I know that Resource Monitor isnt just retaining a handle to the terminated process?

Let's try it again, with feeling.

Jan 12, 2018
Post comments count
0
Post likes count
0
Why don’t context menus respect the UI state for keyboard accelerators?

Well, technically, they're a separate window.

Jan 11, 2018
Post comments count
0
Post likes count
0
What does it mean when the documentation says that you must specify the app in the system’s metadata before you can retrieve SmbiosInformation
properties?

It's talking to a specific "you" that's not you.

Jan 10, 2018
Post comments count
0
Post likes count
0
Why is there a semicircular bar at the base of the ORCA card reader?

Another mystery.