prasannavl/WinApi
View on GitHub ↗ ★ 844 C#
A simple, direct, ultra-thin CLR library for high-performance Win32 Native Interop
7 mentions on Hacker News by 2 people: 2 stories, 5 comments · first 2017-11-16 · latest 2026-02-15
20082026
-
…features like ref returns, structs, spans, et. al., make the overhead undetectable in many cases. https://github.com/prasannavl/WinApi https://github.com/microsoft/CsWin32
comment by bob1029 · 2026-02-15 · in I fixed Windows native development -
Here's an example where ref returns make a big impact: https://github.com/prasannavl/WinApi The performance of this interop layer is so close to native it's difficult to argue for doing things the much more painful way.
comment by bob1029 · 2024-12-19 · in Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches -
If you are wondering what to use today, I'd consider using a new thing bound to an ancient thing: https://github.com/prasannavl/WinApi There are several samples included that should give you a good starting point. The performance of this…
comment by bob1029 · 2023-03-06 · in WPF Begins Its Long Goodbye -
▲ 1
A .NET library for high-performance Win32 native interopstory by bob1029 · 2022-10-25 · 0 comments
-
…microsecond range. WinApi interop and hooking the window message pump is a trivial exercise. See: https://github.com/prasannavl/WinApi et. al.
comment by bob1029 · 2021-03-16 · in Mozilla plans to remove the Compact Density option from Firefox's Customize menu -
…who is into C#/.NET Core and high-performance Windows UX development take a look at the following: https://github.com/prasannavl/WinApi I was able to get a workable demo app going in just a few minutes using their Win32 approach. Seems…
comment by bob1029 · 2019-06-08 · in Files UWP: An enthusiast’s take on what Windows File Explorer explorer should be -
▲ 1
NET: WinAPI – A Simple CLR Library for High-Performance Win32 Native Interopstory by prasannavl · 2017-11-16 · 0 comments