#winapi #webview2

macro webview2-com-macros

Macros which generate callback implementations for WebView2 COM APIs

8 releases (breaking)

0.8.1 Jan 7, 2026
0.8.0 Jul 24, 2024
0.7.0 Apr 11, 2023
0.6.0 May 19, 2022
0.2.0 Sep 8, 2021

#542 in Windows APIs

Download history 70036/week @ 2025-10-13 70476/week @ 2025-10-20 69417/week @ 2025-10-27 65726/week @ 2025-11-03 60880/week @ 2025-11-10 62245/week @ 2025-11-17 64893/week @ 2025-11-24 63690/week @ 2025-12-01 66309/week @ 2025-12-08 63780/week @ 2025-12-15 63508/week @ 2025-12-22 67400/week @ 2025-12-29 91737/week @ 2026-01-05 98460/week @ 2026-01-12 109575/week @ 2026-01-19 118546/week @ 2026-01-26

427,471 downloads per month
Used in 534 crates (via webview2-com)

MIT license

11KB
215 lines

webview2-com-macros

This crate implements macros which generate callback implementations for WebView2 COM APIs. In turn, it injects references to the #[implement] macro from the Windows crate, along with a lot of boilerplate code to handle varying parameter types.

Getting Started

This crate is only intended for use in webview2-com.

Dependencies

~140–540KB
~13K SLoC