File: RetargetAssembly.cs

package info (click to toggle)
mono-tools 4.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 13,868 kB
  • sloc: cs: 100,909; sh: 3,845; makefile: 2,040; javascript: 1,557; xml: 126
file content (14 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Runtime.InteropServices;

public class User32 {
	[DllImport ("user32.dll")]
	public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, string lParam);
}

public class Foo {
	public static void Main (string[] args) {
		IntPtr ip = User32.SendMessage (IntPtr.Zero, 0, IntPtr.Zero, "");
		Console.WriteLine (ip);
	}
}