C# Importing DLL Functions

By Dag, on December 30th, 2016

Also called P/Invoke (Platform Invoke). It's one of my favorite features, as it lets me use Win32 API
functions nearly directly, with some C# datatype conversions but it have been painless to work with.
Examples below for what I've used so far.