Added support for choosing the rendering gpu using wgl_nv_affinity
extension.

Added Native API call to get the device context.