public static extern void DrawingWand_Line(IntPtr Instance, double startX, double startY, double endX, double endY, out IntPtr exception); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]