be explict about the fact these calls are stdcall...
more nuking of strtok, replace with strtok_s/r where possible