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