In the following code,
using System.Runtime.InteropServices;
[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, uint dwExtraInfo);
I googled the "mouse_event" function of user32.dll, and got this. Is importing user32.dll the equivalent of referencing the Win32 API, making said documentation a valid resource for info of other functions and their parameters? And why is it that a "user32.dll" would in "c# bear the function names of what is consistently referred to elsewhere as "WINAPI" or "WIN32"?