Commit d66f7cdb authored by Austin English's avatar Austin English Committed by Alexandre Julliard

dxdiagn: Add a few more stub properties.

parent 16316039
...@@ -66,6 +66,9 @@ static const WCHAR szSubSysId[] = {'s','z','S','u','b','S','y','s','I','d',0}; ...@@ -66,6 +66,9 @@ static const WCHAR szSubSysId[] = {'s','z','S','u','b','S','y','s','I','d',0};
static const WCHAR szRevisionId[] = {'s','z','R','e','v','i','s','i','o','n','I','d',0}; static const WCHAR szRevisionId[] = {'s','z','R','e','v','i','s','i','o','n','I','d',0};
static const WCHAR dwRefreshRate[] = {'d','w','R','e','f','r','e','s','h','R','a','t','e',0}; static const WCHAR dwRefreshRate[] = {'d','w','R','e','f','r','e','s','h','R','a','t','e',0};
static const WCHAR szManufacturer[] = {'s','z','M','a','n','u','f','a','c','t','u','r','e','r',0}; static const WCHAR szManufacturer[] = {'s','z','M','a','n','u','f','a','c','t','u','r','e','r',0};
static const WCHAR szChipType[] = {'s','z','C','h','i','p','T','y','p','e',0};
static const WCHAR szDACType[] = {'s','z','D','A','C','T','y','p','e',0};
static const WCHAR szRevision[] = {'s','z','R','e','v','i','s','i','o','n',0};
struct IDxDiagProviderImpl struct IDxDiagProviderImpl
{ {
...@@ -1016,6 +1019,18 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node ...@@ -1016,6 +1019,18 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node
if (FAILED(hr)) if (FAILED(hr))
goto cleanup; goto cleanup;
hr = add_bstr_property(display_adapter, szChipType, szEmpty);
if (FAILED(hr))
goto cleanup;
hr = add_bstr_property(display_adapter, szDACType, szEmpty);
if (FAILED(hr))
goto cleanup;
hr = add_bstr_property(display_adapter, szRevision, szEmpty);
if (FAILED(hr))
goto cleanup;
if (!get_texture_memory(&adapter_info.DeviceIdentifier, &available_mem)) if (!get_texture_memory(&adapter_info.DeviceIdentifier, &available_mem))
WARN("get_texture_memory helper failed\n"); WARN("get_texture_memory helper failed\n");
...@@ -1042,7 +1057,7 @@ static HRESULT fill_display_information_fallback(IDxDiagContainerImpl_Container ...@@ -1042,7 +1057,7 @@ static HRESULT fill_display_information_fallback(IDxDiagContainerImpl_Container
static const WCHAR *empty_properties[] = {szDeviceIdentifier, szVendorId, szDeviceId, static const WCHAR *empty_properties[] = {szDeviceIdentifier, szVendorId, szDeviceId,
szKeyDeviceKey, szKeyDeviceID, szDriverName, szKeyDeviceKey, szKeyDeviceID, szDriverName,
szDriverVersion, szSubSysId, szRevisionId, szDriverVersion, szSubSysId, szRevisionId,
szManufacturer}; szManufacturer, szChipType, szDACType, szRevision};
IDxDiagContainerImpl_Container *display_adapter; IDxDiagContainerImpl_Container *display_adapter;
HRESULT hr; HRESULT hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment