Always be sure to check the .NET framework classes for managed equivalents
to Win32 routines. Much of the CLR is a wrapper around Win32 anyway. No
sense reinventing the wheel.
However, if you do actually need P/Invoke (or COM Interop) I highly
recommend the book ".NET and COM -- The Complete Interoperability Guide" by
Adam Nathan. There is a pretty good set of C# declarations in the back of
that book for most Win32 functions.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.