Skip to content

Instantly share code, notes, and snippets.

@un4ckn0wl3z
Created March 19, 2023 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save un4ckn0wl3z/38aec1120786bb3dfc3bb308a65d07f8 to your computer and use it in GitHub Desktop.
Save un4ckn0wl3z/38aec1120786bb3dfc3bb308a65d07f8 to your computer and use it in GitHub Desktop.
using System;
using System.Runtime.InteropServices;
namespace PInvoke
{
internal class Program
{
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern int MessageBoxW(IntPtr hWnd, string lpText, string lpCaption, uint uType);
static void Main(string[] args)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment