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

Apr 14, 2023
Post comments count
4
Post likes count
1
How can I convert a WIC bitmap to a Windows Runtime SoftwareBitmap? part 4: Handing it over

Just take the whole thing.

Apr 13, 2023
Post comments count
1
Post likes count
0
How can I convert a WIC bitmap to a Windows Runtime SoftwareBitmap? part 3: Filling the SoftwareBitmap directly

Avoiding the intermediate buffer.

Apr 12, 2023
Post comments count
0
Post likes count
0
How can I convert a WIC bitmap to a Windows Runtime SoftwareBitmap? part 2: Via a buffer

Passing raw pixels across.

Apr 11, 2023
Post comments count
0
Post likes count
0
How can I convert a WIC bitmap to a Windows Runtime SoftwareBitmap? part 1: Via an encoded stream

We'll start with the hard way, but it gets easier.

Apr 10, 2023
Post comments count
1
Post likes count
1
Why is there a large gap between some of the Windows system metrics indices?

An artifact of the internal implementation.

Apr 7, 2023
Post comments count
1
Post likes count
2
The case of the PasswordVault.Add call that the customer thinks was hung

But was it really hung? Or did it just look that way.

Apr 6, 2023
Post comments count
0
Post likes count
1
An ignored exception can be misinterpreted as a hang, particularly in coroutines

I mean, execution seems to have stopped.

Apr 5, 2023
Post comments count
9
Post likes count
0
How do I modify the contents of a boxed Windows Runtime value?

Once it's in the box, you can't change it.

Apr 4, 2023
Post comments count
4
Post likes count
1
What is the maximum size of a process environment block?

There's no hard-coded limit in Windows, but maybe somebody else has a limit.