Henri Verbeet : d3d10core: Implement d3d10_query_GetDevice().