[DllImport("test.dll", EntryPoint = "OpenDevice")] public static extern ReturnClass OpenDevice(); ReturnClass如何才能被识别?是需要怎么调用还是在c#里重写。 查看完整描述