# microsoft/cppwinrt

C++/WinRT

Repository: https://github.com/microsoft/cppwinrt
Canonical: https://ross.abutalabs.com/products/cppwinrt
Language: C++
License: MIT
License Family: permissive
Last push: 2026-08-26T20:10:24+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 3640, "days_push": 7, "days_rel": 14, "gap_med": 55, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1872, forks 277 (observed 2026-08-28T04:05:47.052563+00:00)

## What it is
C++/WinRT is a standard C++17 language projection for Windows Runtime (WinRT) APIs, implemented as a header-file-based library. It lets developers author and consume modern Windows APIs with any standards-compliant C++17 compiler.

## Use cases
- call Windows Runtime APIs from standard C++
- build UWP or WinUI apps in C++ without C++/CX
- consume WinRT components using any C++17 compiler
- author Windows Runtime components in modern C++
- access modern Windows APIs without COM boilerplate

## When to choose
- you want first-class, header-only access to WinRT APIs in standards-compliant C++
- you are building modern Windows apps or components in C++17 or later
- you want to avoid legacy C++/CX or raw COM interop

## When to avoid
- you target platforms other than Windows
- your compiler does not support C++17
- you need a .NET or Rust projection instead of C++

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools
- domain: windows, developer-tools, apis
- platform: windows, cpp
- tags: winrt, windows-runtime, header-only, language-projection, uwp

## Member repositories
- microsoft/cppwinrt (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.052563+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:57.923148+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/cppwinrt (fetched 2026-08-28T04:05:47.052563+00:00, sha dadfd145545f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
