public static extern IntPtr MagickImage_Shade(IntPtr Instance, double azimuth, double elevation, [MarshalAs(UnmanagedType.Bool)] bool colorShading, UIntPtr channels, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]