I've been busy with school and also with preparing for the upcoming
[mono.git] / mcs / class / System.Drawing / System.Drawing / gdipStructs.cs
1 //
2 // System.Drawing.gdipStructs.cs
3 //
4 // Author: 
5 // Alexandre Pigolkine (pigolkine@gmx.de)
6 //
7
8 using System;
9 using System.Runtime.InteropServices;
10 using System.Text;
11 using System.Drawing.Imaging;
12 using System.Drawing;
13
14 namespace System.Drawing {
15         [StructLayout(LayoutKind.Sequential)]
16         internal struct GdiplusStartupInput
17         {
18                 uint            GdiplusVersion;
19                 IntPtr          DebugEventCallback;
20                 int             SuppressBackgroundThread;
21                 int             SuppressExternalCodecs;
22     
23         internal static GdiplusStartupInput MakeGdiplusStartupInput ()
24         {
25                 GdiplusStartupInput result = new GdiplusStartupInput ();
26                 result.GdiplusVersion = 1;
27                 result.DebugEventCallback = IntPtr.Zero;
28                 result.SuppressBackgroundThread = 0;
29                 result.SuppressExternalCodecs = 0;
30                 return result;
31         }
32         
33         }
34     
35         [StructLayout(LayoutKind.Sequential)]
36         internal struct GdiplusStartupOutput
37         {
38                 internal IntPtr         NotificationHook;
39                 internal IntPtr         NotificationUnhook;
40                 
41         internal static GdiplusStartupOutput MakeGdiplusStartupOutput ()
42         {
43                 GdiplusStartupOutput result = new GdiplusStartupOutput ();
44                 result.NotificationHook = result.NotificationUnhook = IntPtr.Zero;
45                 return result;
46         }
47         }
48 }
49