Share via


Platform Invoke - API Signatures.

There are perhaps times when you need to call native operating system API's from your managed application, this process is known as Platform Invoke, or P/Invoke - but how do you know the API signature to drop into your application ? - there are a couple of options.

  1. https://www.pinvoke.net - this is a platform invoke wiki, pretty cool, there are a limited number of 'Smart Device' API's currently listed - perhaps it would be super-dooper if you could add any P/Invoke signatures to the Wiki - here for example is a link to the CreateProcess API
  2. That well known pirate and part time book author/embedded MVP Paul Yao create a P/Invoke tool, you simply point this at your favorite header file and let the tool create the API signatures for you - pretty neat - the tool can be found on Paul's Web Site

- Mike