Does anyone know of a .NET managed wrapper around Windows API functionality that is not available in the .NET framework itself?
Areas such as window creation and display styles, common UI control manipulation, keyboard/mouse input, file and disk information, memory mapped files etc
I have been a regular to visitor http://www.pinvoke.net/ and find it a great resource. However having to directly use DllImport of functions and then locate the required structures and enumerations every time is slow and prone to error.
(I do realize doing things in 100% managed code where possible is almost always the better approach, but there are many things, particularly in Windows Forms where you just can't do it using managed code only.)
Focusing on Windows XP for now, but possibly moving to Windows 7 in the future.
A project on SourceForge called Managed Windows API looks like it might provide the required functionality.
It appears to not have been updated for a year or so but still looks quite promising. Some wrapped WinAPI functionality include:
Here's the on-line documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With