Use APIENTRY (platform independent)