CSharpWrapper, test pinvoke function.