*pCaps->DeviceType=(DeviceType==D3DDEVTYPE_HAL)?D3DDEVTYPE_HAL:D3DDEVTYPE_REF;/* Not quite true, but use h/w supported by opengl I suppose */
*pCaps->DeviceType=(DeviceType==WINED3DDEVTYPE_HAL)?WINED3DDEVTYPE_HAL:WINED3DDEVTYPE_REF;/* Not quite true, but use h/w supported by opengl I suppose */