How do I get someWin32API method to work in .Net?

It was some time since I last needed to use P/Invoke but it seems like I always need something from a standard C DLL or the Win32 API. Not that I needed it today, but I stumbled across this site which I will remember for future reference. Looks very helpful.