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
ca8e867d
Commit
ca8e867d
authored
May 12, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Test the ScreenX/Y properties.
parent
30a133fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Makefile.in
dlls/msi/tests/Makefile.in
+1
-1
package.c
dlls/msi/tests/package.c
+11
-0
No files found.
dlls/msi/tests/Makefile.in
View file @
ca8e867d
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
msi.dll
IMPORTS
=
uuid cabinet msi shell32 ole32 oleaut32 advapi32 kernel32 version
IMPORTS
=
uuid cabinet msi shell32 ole32 oleaut32
user32
advapi32 kernel32 version
CTESTS
=
\
automation.c
\
...
...
dlls/msi/tests/package.c
View file @
ca8e867d
...
...
@@ -4708,6 +4708,7 @@ static void test_installprops(void)
DWORD
size
,
type
;
LANGID
langid
;
HKEY
hkey1
,
hkey2
;
int
res
;
UINT
r
;
GetCurrentDirectory
(
MAX_PATH
,
path
);
...
...
@@ -4801,6 +4802,16 @@ static void test_installprops(void)
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS< got %d
\n
"
,
r
);
ok
(
!
lstrcmpA
(
buf
,
path
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
path
,
buf
);
res
=
GetSystemMetrics
(
SM_CXSCREEN
);
size
=
MAX_PATH
;
r
=
MsiGetProperty
(
hpkg
,
"ScreenX"
,
buf
,
&
size
);
ok
(
atol
(
buf
)
==
res
,
"Expected %d, got %ld
\n
"
,
res
,
atol
(
buf
));
res
=
GetSystemMetrics
(
SM_CYSCREEN
);
size
=
MAX_PATH
;
r
=
MsiGetProperty
(
hpkg
,
"ScreenY"
,
buf
,
&
size
);
ok
(
atol
(
buf
)
==
res
,
"Expected %d, got %ld
\n
"
,
res
,
atol
(
buf
));
CloseHandle
(
hkey1
);
CloseHandle
(
hkey2
);
MsiCloseHandle
(
hpkg
);
...
...
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