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
45a2807f
Commit
45a2807f
authored
Nov 02, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Add windows path.
parent
eea4849f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
provider.c
dlls/dxdiagn/provider.c
+5
-2
No files found.
dlls/dxdiagn/provider.c
View file @
45a2807f
...
@@ -270,14 +270,14 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
...
@@ -270,14 +270,14 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
static
const
WCHAR
ullUsedPageFile
[]
=
{
'u'
,
'l'
,
'l'
,
'U'
,
's'
,
'e'
,
'd'
,
'P'
,
'a'
,
'g'
,
'e'
,
'F'
,
'i'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
ullUsedPageFile
[]
=
{
'u'
,
'l'
,
'l'
,
'U'
,
's'
,
'e'
,
'd'
,
'P'
,
'a'
,
'g'
,
'e'
,
'F'
,
'i'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
ullAvailPageFile
[]
=
{
'u'
,
'l'
,
'l'
,
'A'
,
'v'
,
'a'
,
'i'
,
'l'
,
'P'
,
'a'
,
'g'
,
'e'
,
'F'
,
'i'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
ullAvailPageFile
[]
=
{
'u'
,
'l'
,
'l'
,
'A'
,
'v'
,
'a'
,
'i'
,
'l'
,
'P'
,
'a'
,
'g'
,
'e'
,
'F'
,
'i'
,
'l'
,
'e'
,
0
};
/*static const WCHAR szDxDiagVersion[] = {'s','z','D','x','D','i','a','g','V','e','r','s','i','o','n',0};*/
/*static const WCHAR szDxDiagVersion[] = {'s','z','D','x','D','i','a','g','V','e','r','s','i','o','n',0};*/
/*szWindowsDir*/
static
const
WCHAR
szWindowsDir
[]
=
{
's'
,
'z'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'D'
,
'i'
,
'r'
,
0
};
/*szWindowsDir*/
static
const
WCHAR
dwOSMajorVersion
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'M'
,
'a'
,
'j'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
dwOSMajorVersion
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'M'
,
'a'
,
'j'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
dwOSMinorVersion
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'M'
,
'i'
,
'n'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
dwOSMinorVersion
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'M'
,
'i'
,
'n'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
dwOSBuildNumber
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'B'
,
'u'
,
'i'
,
'l'
,
'd'
,
'N'
,
'u'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
dwOSBuildNumber
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'B'
,
'u'
,
'i'
,
'l'
,
'd'
,
'N'
,
'u'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
dwOSPlatformID
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'P'
,
'l'
,
'a'
,
't'
,
'f'
,
'o'
,
'r'
,
'm'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
dwOSPlatformID
[]
=
{
'd'
,
'w'
,
'O'
,
'S'
,
'P'
,
'l'
,
'a'
,
't'
,
'f'
,
'o'
,
'r'
,
'm'
,
'I'
,
'D'
,
0
};
MEMORYSTATUSEX
msex
;
MEMORYSTATUSEX
msex
;
OSVERSIONINFOW
info
;
OSVERSIONINFOW
info
;
WCHAR
buffer
[
MAX_PATH
];
add_prop_ui4
(
pSubCont
,
dwDirectXVersionMajor
,
9
);
add_prop_ui4
(
pSubCont
,
dwDirectXVersionMajor
,
9
);
add_prop_ui4
(
pSubCont
,
dwDirectXVersionMinor
,
0
);
add_prop_ui4
(
pSubCont
,
dwDirectXVersionMinor
,
0
);
...
@@ -299,6 +299,9 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
...
@@ -299,6 +299,9 @@ static HRESULT DXDiag_InitDXDiagSystemInfoContainer(IDxDiagContainer* pSubCont)
add_prop_ui4
(
pSubCont
,
dwOSBuildNumber
,
info
.
dwBuildNumber
);
add_prop_ui4
(
pSubCont
,
dwOSBuildNumber
,
info
.
dwBuildNumber
);
add_prop_ui4
(
pSubCont
,
dwOSPlatformID
,
info
.
dwPlatformId
);
add_prop_ui4
(
pSubCont
,
dwOSPlatformID
,
info
.
dwPlatformId
);
GetWindowsDirectoryW
(
buffer
,
MAX_PATH
);
add_prop_str
(
pSubCont
,
szWindowsDir
,
buffer
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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