IDirect3DDevice9::CreateQuery(D3DQUERYTYPE_EVENT, ...); breaks alt-tab

Discussion created by on Mar 16, 2009
Latest reply on Mar 17, 2009 by avk

After calling IDirect3DDevice9::CreateQuery(D3DQUERYTYPE_EVENT, ...); I'm finding that alt-tab back to the applicaiton stops working - the  window doesn't get restored correctly. This happens even if the query is never used.

Test under Vista 64, Catalyst 8.12 and 9.2 Radeon 4850, Core i7, 6GB RAM.

The only workaround I've found is to release it when losing focus, and recreate as needed, which shouldn't be required accoding to the D3D documentation.