public static extern void TypeMetric_Dispose(IntPtr instance); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]