https://bugs.winehq.org/show_bug.cgi?id=40414
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- (In reply to Bruno Jesus from comment #2)
0044:trace:d3d11:d3d11_device_CreateQuery iface 0x1be1d0, desc 0x32d3f4, query 0x0.
Looks like it passes NULL as "query" argument to d3d11_device_CreateQuery(). That's suspicious, but perhaps we just need to return an error for that case.