[PR #19268] Move to CppWinRT 2.0.250303.1 #31776

Closed
opened 2026-01-31 09:49:27 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19268

State: closed
Merged: Yes


Interesting changes in this update:

  • better support for REFIID,IUnknown** in capture
  • LOAD_LIBRARY_SEARCH_DEFAULT_DIRS for all SxS DLL loading
  • get_self reading from classic COM interfaces (rather than WinRT
    ones)
  • better incremental builds by ignoring stale winmd files (see
    microsoft/cppwinrt#1404)
  • some ability to mix c++17 and c++20 static libraries
  • better codegen for consume methods

This version of C++/WinRT is better about propagating protected
fields from the metadata into the C++ projections. This required
us to switch to the I...Protected interfaces for some things
we are technically not allowed access to. We also had some
overridable (protected!) members of our own that needed undec-
oration.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19268 **State:** closed **Merged:** Yes --- Interesting changes in this update: - better support for `REFIID,IUnknown**` in `capture` - `LOAD_LIBRARY_SEARCH_DEFAULT_DIRS` for all SxS DLL loading - `get_self` reading from classic COM interfaces (rather than WinRT ones) - better incremental builds by ignoring stale winmd files (see microsoft/cppwinrt#1404) - some ability to mix c++17 and c++20 static libraries - better codegen for `consume` methods This version of C++/WinRT is better about propagating `protected` fields from the metadata into the C++ projections. This required us to switch to the `I...Protected` interfaces for some things we are _technically_ not allowed access to. We also had some `overridable` (protected!) members of our own that needed undec- oration.
claunia added the pull-request label 2026-01-31 09:49:27 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31776