Skip to content

Instantly share code, notes, and snippets.

@DDzia
Created June 21, 2019 23:57
Show Gist options
  • Save DDzia/1f4e38cdc30279f0c9ad95a1448e8b08 to your computer and use it in GitHub Desktop.
Save DDzia/1f4e38cdc30279f0c9ad95a1448e8b08 to your computer and use it in GitHub Desktop.
static class PInvoke
{
private const string ModuleLocation = "Unmanaged/PInvokeInterop.dll";
[DllImport(ModuleLocation, SetLastError = true)]
public static extern void PrintToDo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment