added null function generation
use original GL type if available
added the rest of supported wgl functions