Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2017 (1)
20082026
  1. …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
  2. 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.
  3. 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
  4. …microsecond range. WinApi interop and hooking the window message pump is a trivial exercise. See: https://github.com/prasannavl/WinApi et. al.
  5. …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…