[DllImport("coredll.dll", SetLastError=true)]
public static extern int MessageBoxW(int hWnd, String text, String caption, uint type);
<System.Runtime.InteropServices.DllImport("coredll.dll", _
SetLastError:=False)> _
Public Shared Function MessageBoxW(ByVal hWnd As Integer, _
ByVal txt As String, ByVal caption As String, _
ByVal Typ As Integer) As Integer
End Function
None.
System.Windows.Forms.MessageBox.Show(string message)
None.
Please add some!
MessageBoxW(0, "Hello from C#", "pinvoke.net", 0);