PInvoke.net is the official library for interacting with the Win32 API, but it has been archived. This means that the Microsoft.Windows.CsWin32 package should now be used to interact with the Win32 API. However, Microsoft.Windows.CsWin32 is a bit cumbersome be…

