CreateEvent and SetEvent were missing...
`grep "void " stdapi.c | tr '\n' '"' | sed -e 's/void /"/g' -e 's/""/";"/g'`