Recently, I have done a fair amount of Win32® Interop in my Microsoft® .NET Framework-based apps. I am not saying that my apps are full of custom interop code, but from time to time I bump into a minor, but nagging, inadequacy in the .NET Framework Class Library that can quickly be alleviated by a call into the Windows® API.
http://msdn.microsoft.com/msdnmag/issues/03/07/NET/Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Sam HobbsPosted Sep 21, 2014, 4:15 PM
For complicated functions it is often confusing to determine how to convert a function definition to a DllImport. There are utilities that can help and someone should write an article about that. I could write a series of articles that use DllImport but the part describing how to create the DllImports is the ugly part.