Issue #4301
Use correct calling convention for KNC API DLL functions called via platform invoke.