Accelerated Video Card

Is there any way in coding to test whether the video card is accelerated or not? Especially for OpenGL?

You can use glGetString(GL_RENDERER) and glGetString(GL_VENDOR) to see if you have the default MS implementation of OpenGL. If you have a non-MS implementation it doesn’t necessarily mean that everything will be hardware accellerated, but it’s likely that there are many features that are.