Commit 8ab96ba2 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

dxdiagn: PhysicalMemory parameter is a string not long long.

parent cc199b77
......@@ -300,7 +300,9 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
GlobalMemoryStatusEx( &msex );
V_VT(&v) = VT_UI8;
V_UI8(&v) = msex.ullTotalPhys;
VariantChangeType(&v, &v, 0, VT_BSTR);
IDxDiagContainerImpl_AddProp(pSubCont, ullPhysicalMemory, &v);
VariantClear(&v);
info.dwOSVersionInfoSize = sizeof(info);
GetVersionExW( &info );
......
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