The Old New Thing

Old New Thing

How do I use C++/WinRT to implement a classic COM interface that derives from another classic COM interface?

You can specialize guid_of.

Why does the value of my XAML Slider change when I updated its range?

Releasing the spring.

What kind of apartment is the private apartment I created via CLSID_Context­Switcher?

It's where you are.

Virtual desktops are a window management feature, not a performance feature

Everything runs the same as it did before.

It rather involved being on the other side of this airtight hatchway: Planting files onto a custom PATH

Adding a directory to the PATH comes with obligations.

What will be placed in the output parameter if the function fails?

Officially, it could be anything. In practice, though, there are some constraints.

Why can’t you return an IAsync­Action from a coroutine that also does a co_await?

You already returned. No take-backs.

When I ask the GetIpAddrTable function to sort the results, how are they sorted?

Nothing particularly fancy. Just plain numerical order.

If one program blocks shutdown, then all programs block shutdown

We're all in this together, as far as the Blocked Shutdown Resolver is concerned.

The type-dependent type or value that is independent of the type

To delay the evaluation until instantiation.