Flush
[mono.git] / mcs / tests / test-58.cs
1 using System;\r
2 using System.Runtime.InteropServices;\r
3 \r
4 public class Blah {\r
5 \r
6         [DllImport ("user32", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Auto)]\r
7         public static extern int MessageBox (int hWnd, string pText, string pCaption, int uType);\r
8 \r
9         public static int Main ()\r
10         {\r
11                 MessageBox (0, "Hello from Mono !", "PInvoke Test", 0);\r
12 \r
13                 return 0;\r
14         }\r
15 }\r