I think I found a bug on Nsight Graphics 1.1 with OpenGl.
I am calling wglMakeCurrent(hDC,hRC) with a valid hDC and hRC and next calling wglGetCurrentDC and wglGetCurrentContext.
The returned hDC of wglGetCurrentDC is different to the one passed on the wglMakeCurrent call.
GL_VERSION = ‘4.6.0 NVIDIA 397.31’
GL_VENDOR = ‘NVIDIA Corporation’
GL_RENDERER = ‘GeForce GTX 1080/PCIe/SSE2’
GL_SHADING = ‘4.6.0 NVIDIA 397.31’
Windows 10 Pro. ver 1709.