To get a pointer to wglAllocateMemoryNV I need to call wglGetProcAddress. In the microsoft documentation it says this function will return NULL if there is no current rendering context. But in the NVIDIA extension documentation for VAR it says
“The memory allocator should be considered a window system/
operating system dependent operation. This also permits
memory to be allocated when no OpenGL rendering contexts
exist yet.”

Say what? Which is it.

Is Microsoft describing wglAllocateMemory while nvidia is describing wglAllocateMemoryNV (their extension version)? If so, they both could be correct (per their respective versions).

I dunno…