Added wrapper for CreateDevice (d3dWrapper).