dxdiagn: Add a NECPC98 property to the DxDiag_SystemInfo container for completeness.

This commit is contained in:
Andrew Nguyen 2011-04-03 20:55:43 -05:00 committed by Alexandre Julliard
parent 9e3fd16306
commit 96c3db6829
1 changed files with 5 additions and 0 deletions

View File

@ -481,6 +481,7 @@ static HRESULT build_systeminfo_tree(IDxDiagContainerImpl_Container *node)
static const WCHAR szDirectXVersionLetter[] = {'s','z','D','i','r','e','c','t','X','V','e','r','s','i','o','n','L','e','t','t','e','r',0};
static const WCHAR szDirectXVersionLetter_v[] = {'c',0};
static const WCHAR bDebug[] = {'b','D','e','b','u','g',0};
static const WCHAR bNECPC98[] = {'b','N','E','C','P','C','9','8',0};
static const WCHAR szDirectXVersionEnglish[] = {'s','z','D','i','r','e','c','t','X','V','e','r','s','i','o','n','E','n','g','l','i','s','h',0};
static const WCHAR szDirectXVersionEnglish_v[] = {'4','.','0','9','.','0','0','0','0','.','0','9','0','4',0};
static const WCHAR szDirectXVersionLongEnglish[] = {'s','z','D','i','r','e','c','t','X','V','e','r','s','i','o','n','L','o','n','g','E','n','g','l','i','s','h',0};
@ -528,6 +529,10 @@ static HRESULT build_systeminfo_tree(IDxDiagContainerImpl_Container *node)
if (FAILED(hr))
return hr;
hr = add_bool_property(node, bNECPC98, FALSE);
if (FAILED(hr))
return hr;
msex.dwLength = sizeof(msex);
GlobalMemoryStatusEx(&msex);