some new wgl stuff and APIENTRY