Partial work into getting support for various calling conventions part of PInvoke.