Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2a87ef68
Commit
2a87ef68
authored
Apr 29, 2008
by
Markus Weiland
Committed by
Alexandre Julliard
Apr 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Implemented ullPhysicalMemory property for DXDiagSystemInfoContainer.
parent
628e4eec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
provider.c
dlls/dxdiagn/provider.c
+9
-0
No files found.
dlls/dxdiagn/provider.c
View file @
2a87ef68
...
...
@@ -269,6 +269,7 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
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
};
static
const
WCHAR
szDirectXVersionLongEnglish_v
[]
=
{
'='
,
' '
,
'"'
,
'D'
,
'i'
,
'r'
,
'e'
,
'c'
,
't'
,
'X'
,
' '
,
'9'
,
'.'
,
'0'
,
'c'
,
' '
,
'('
,
'4'
,
'.'
,
'0'
,
'9'
,
'.'
,
'0'
,
'0'
,
'0'
,
'0'
,
'.'
,
'0'
,
'9'
,
'0'
,
'4'
,
')'
,
0
};
static
const
WCHAR
ullPhysicalMemory
[]
=
{
'u'
,
'l'
,
'l'
,
'P'
,
'h'
,
'y'
,
's'
,
'i'
,
'c'
,
'a'
,
'l'
,
'M'
,
'e'
,
'm'
,
'o'
,
'r'
,
'y'
,
0
};
/*static const WCHAR szDxDiagVersion[] = {'s','z','D','x','D','i','a','g','V','e','r','s','i','o','n',0};*/
/*szWindowsDir*/
/*szWindowsDir*/
...
...
@@ -276,6 +277,7 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
/*"dwOSMinorVersion"*/
/*"dwOSBuildNumber"*/
/*"dwOSPlatformID"*/
MEMORYSTATUSEX
msex
;
VARIANT
v
;
V_VT
(
&
v
)
=
VT_UI4
;
V_UI4
(
&
v
)
=
9
;
...
...
@@ -297,6 +299,13 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
hr
=
IDxDiagContainerImpl_AddProp
(
pSubCont
,
bDebug
,
&
v
);
VariantClear
(
&
v
);
msex
.
dwLength
=
sizeof
(
msex
);
GlobalMemoryStatusEx
(
&
msex
);
V_VT
(
&
v
)
=
VT_UI8
;
V_UI8
(
&
v
)
=
msex
.
ullTotalPhys
;
hr
=
IDxDiagContainerImpl_AddProp
(
pSubCont
,
ullPhysicalMemory
,
&
v
);
VariantClear
(
&
v
);
return
hr
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment