dxdiagn: Add bNoHardware stub property.
This commit is contained in:
parent
654657b715
commit
5f356efa51
|
@ -918,6 +918,7 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node
|
||||||
static const WCHAR b3DAccelerationExists[] = {'b','3','D','A','c','c','e','l','e','r','a','t','i','o','n','E','x','i','s','t','s',0};
|
static const WCHAR b3DAccelerationExists[] = {'b','3','D','A','c','c','e','l','e','r','a','t','i','o','n','E','x','i','s','t','s',0};
|
||||||
static const WCHAR b3DAccelerationEnabled[] = {'b','3','D','A','c','c','e','l','e','r','a','t','i','o','n','E','n','a','b','l','e','d',0};
|
static const WCHAR b3DAccelerationEnabled[] = {'b','3','D','A','c','c','e','l','e','r','a','t','i','o','n','E','n','a','b','l','e','d',0};
|
||||||
static const WCHAR bDDAccelerationEnabled[] = {'b','D','D','A','c','c','e','l','e','r','a','t','i','o','n','E','n','a','b','l','e','d',0};
|
static const WCHAR bDDAccelerationEnabled[] = {'b','D','D','A','c','c','e','l','e','r','a','t','i','o','n','E','n','a','b','l','e','d',0};
|
||||||
|
static const WCHAR bNoHardware[] = {'b','N','o','H','a','r','d','w','a','r','e',0};
|
||||||
|
|
||||||
D3DADAPTER_IDENTIFIER9 adapter_info;
|
D3DADAPTER_IDENTIFIER9 adapter_info;
|
||||||
D3DDISPLAYMODE adapter_mode;
|
D3DDISPLAYMODE adapter_mode;
|
||||||
|
@ -1063,6 +1064,10 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node
|
||||||
hr = add_bool_property(display_adapter, bDDAccelerationEnabled, hardware_accel);
|
hr = add_bool_property(display_adapter, bDDAccelerationEnabled, hardware_accel);
|
||||||
if (FAILED(hr))
|
if (FAILED(hr))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
hr = add_bool_property(display_adapter, bNoHardware, FALSE);
|
||||||
|
if (FAILED(hr))
|
||||||
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = S_OK;
|
hr = S_OK;
|
||||||
|
|
Loading…
Reference in New Issue