How to select software-rendering from a program???

I want to use generic windows driver for OpenGL instead of video-cards drivers.
In some games you can specify what drivers to use, so I want to implement the same option.