I stumbled across this add-in which automates the insertion of various Windows API declarations. If you’re like me, you track down solutions to your problem on the Internet, but sometimes it uses an API declaration in C# or VB6. Even worse, sometimes someone will use a non-standard or just plain difficult declaration style, for example:
ByVal var As IntPtr
and marshalling a string rather than
ByVal bytes() As Byte
Anyhow, the tool is here: http://www.pinvoke.net/index.aspx

