public static extern UIntPtr MagickImage_ClassType_Get(IntPtr instance, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]