added rest of wgl function calls