Which GL rendering engine?

When ogl is software rendered through Windows NT/2000, black borders show up when a window is maximized. (Many laptops let Windows handle the GL rendering) Switching from double buffered to single buffered and back to double buffered is a work-around. However, users of my software with hardware acceleration do not need this work-around slowing down the CPU. Is there a ogl function the returns whether or not ogl is rendered by Windows or the graphics card?

char *renderer,*version,*vendor,*extensions;
renderer = glGetString(GL_RENDERER);
version = glGetString(GL_VERSION);
vendor = glGetString(GL_VENDOR);
extensions = glGetString(GL_EXTENSIONS);