WINAPI -> STDCALL, plus fix/expound documentation