title: Why I cannot check OpenGL version in this fake OpenGL context?
body: <p>I'm trying to check OpenGL version creating a fake OpenGL context, but always I'm getting version 0. I create a fake context with this code:</p>
  
  <pre><code>  PIXELFORMATDESCRIPTOR pfd;
    ZeroMemory( &amp;pfd, sizeof( pfd ) );
    pfd.nSize = sizeof( pfd );
    pfd.nVersion = 1;
    pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL |
                  PFD_DOUBLEBUFFER;
    pfd.iPixelType = PFD_TYPE_RGBA;
    pfd.cColorBits = 24;
    pfd.cDepthBits = 16;
    pfd.iLayerType = PFD_MAIN_PLANE;
    WINDOWINFO info;
    HWND mHWND;
   info.cbSize = sizeof(WINDOWINFO);
    GetWindowInfo(mHWND,&amp;info);
    HDC mDC; 
    mDC = GetDC(mHWND);
    int fmt = ChoosePixelFormat( mDC, &amp;pfd );
    SetPixelFormat( mDC, fmt, &amp;pfd );
  
    HGLRC mOGLCtx;
    mOGLCtx = wglCreateContext( mDC );
  
    wglMakeCurrent(mDC, mOGLCtx);
  </code></pre>
  
  <p>And try to check version with this:</p>
  
  <pre><code>glGetString(GL_VERSION)
  </code></pre>