The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

How can I reserve a range of address space and create nonzero memory on demand when the program reads or writes a page in the range?
How can I reserve a range of address space and receive notifications when the program first reads or writes a page in the range?
Jan 24, 2018
Post comments count 0
Post likes count 0

How can I reserve a range of address space and receive notifications when the program first reads or writes a page in the range?

Raymond Chen
Raymond Chen

Be in the exception handler chain.

Microspeak: Impedance mismatch
Jan 23, 2018
Post comments count 0
Post likes count 0

Microspeak: Impedance mismatch

Raymond Chen
Raymond Chen

Any kind of mismatch, really.

The history of change-packing tools at Microsoft (so far)
Jan 22, 2018
Post comments count 0
Post likes count 0

The history of change-packing tools at Microsoft (so far)

Raymond Chen
Raymond Chen

They all say "pack" for one reason or another.

A helper template function to wait for a Win32 condition variable in a loop
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

Raymond Chen
Raymond Chen

Another case of the spurious wake-up.

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

Stuff my father-in-law says: On taking the train

Raymond Chen
Raymond Chen

A five-minute tour.

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

A helper template function to wait for WaitOnAddress in a loop

Raymond Chen
Raymond Chen

Because this is what you always have to do.

Why does <CODE>HRESULT</CODE> begin with H when it’s not a handle to anything?
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?

Raymond Chen
Raymond Chen

Well, it used to be a handle.

As far as the French government is concerned, I am the expert on Windows XP
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

Raymond Chen
Raymond Chen

At least it's my name on the paperwork.