function pointer tests for wgl