Added some missing constants and functions in order to support the simple wgl example.