Lines Matching defs:device
82 static HRESULT WINAPI IDirect3DQuery9Impl_GetDevice(IDirect3DQuery9 *iface, IDirect3DDevice9 **device)
86 TRACE("iface %p, device %p.\n", iface, device);
88 *device = (IDirect3DDevice9 *)This->parentDevice;
89 IDirect3DDevice9_AddRef(*device);
91 TRACE("Returning device %p.\n", *device);
162 HRESULT query_init(IDirect3DQuery9Impl *query, IDirect3DDevice9Impl *device, D3DQUERYTYPE type)
170 hr = IWineD3DDevice_CreateQuery(device->WineD3DDevice, type, &query->wineD3DQuery, (IUnknown *)query);
178 query->parentDevice = (IDirect3DDevice9Ex *)device;