dxdiagn: Add bNoHardware stub property.

This commit is contained in:
Austin English 2015-03-09 01:02:56 -05:00 committed by Alexandre Julliard
parent 654657b715
commit 5f356efa51
1 changed files with 5 additions and 0 deletions

View File

@ -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;