2 // System.Drawing.gdipStructs.cs
5 // Alexandre Pigolkine (pigolkine@gmx.de)
9 using System.Runtime.InteropServices;
11 using System.Drawing.Imaging;
14 namespace System.Drawing {
15 [StructLayout(LayoutKind.Sequential)]
16 internal struct GdiplusStartupInput
19 IntPtr DebugEventCallback;
20 int SuppressBackgroundThread;
21 int SuppressExternalCodecs;
23 internal static GdiplusStartupInput MakeGdiplusStartupInput ()
25 GdiplusStartupInput result = new GdiplusStartupInput ();
26 result.GdiplusVersion = 1;
27 result.DebugEventCallback = IntPtr.Zero;
28 result.SuppressBackgroundThread = 0;
29 result.SuppressExternalCodecs = 0;
35 [StructLayout(LayoutKind.Sequential)]
36 internal struct GdiplusStartupOutput
38 internal IntPtr NotificationHook;
39 internal IntPtr NotificationUnhook;
41 internal static GdiplusStartupOutput MakeGdiplusStartupOutput ()
43 GdiplusStartupOutput result = new GdiplusStartupOutput ();
44 result.NotificationHook = result.NotificationUnhook = IntPtr.Zero;