dxdiagn: PhysicalMemory parameter is a string not long long.

This commit is contained in:
Vitaliy Margolen 2008-06-21 11:53:44 -06:00 committed by Alexandre Julliard
parent cc199b777e
commit 8ab96ba2dc
1 changed files with 2 additions and 0 deletions

View File

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