The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Why does a single integer assignment statement consume all of my CPU?
Jan 16, 2015
Post comments count 0
Post likes count 0

Why does a single integer assignment statement consume all of my CPU?

Raymond Chen
Raymond Chen

Alignment fixups.

Why does CreateFile take a long time on a volume handle?
Jan 15, 2015
Post comments count 0
Post likes count 0

Why does CreateFile take a long time on a volume handle?

Raymond Chen
Raymond Chen

Flush that volume.

Where can I find the standard asynchronous stream?
Jan 14, 2015
Post comments count 0
Post likes count 0

Where can I find the standard asynchronous stream?

Raymond Chen
Raymond Chen

Not that sense of the word standard.

Microspeak: landing (redux)
Jan 13, 2015
Post comments count 0
Post likes count 0

Microspeak: landing (redux)

Raymond Chen
Raymond Chen

Settled.

Limiting the bottom byte of an XMM register and clearing the other bytes
Jan 12, 2015
Post comments count 0
Post likes count 0

Limiting the bottom byte of an XMM register and clearing the other bytes

Raymond Chen
Raymond Chen

More SSE tweaking.

Finding the leaked object reference by scanning memory: Example
Jan 9, 2015
Post comments count 0
Post likes count 0

Finding the leaked object reference by scanning memory: Example

Raymond Chen
Raymond Chen

Digging through the haystack.

What happens if I don't pass a pCreateExParams to CreateFile2?
Jan 8, 2015
Post comments count 0
Post likes count 0

What happens if I don't pass a pCreateExParams to CreateFile2?

Raymond Chen
Raymond Chen

The final parameter to the function is optional. What happens if I pass ? If you pass as the parameter, then the function behaves as if you had passed a pointer to this structure:

Why is there a BSTR cache anyway?
Jan 7, 2015
Post comments count 0
Post likes count 0

Why is there a BSTR cache anyway?

Raymond Chen
Raymond Chen

It was useful, once.

No good deed goes unpunished: Marking a document as obsolete
Jan 6, 2015
Post comments count 0
Post likes count 0

No good deed goes unpunished: Marking a document as obsolete

Raymond Chen
Raymond Chen

Stop looking at me.