removed APIENTRY from DLL import function