Make foreign import stdcall "dynamic" work via-C (we'd forgotten to add the __stdcall qualifier to the type cast for the function).