Henri Verbeet : wined3d: Remove COM from the query implementation.