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
a9909513
Commit
a9909513
authored
Oct 23, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix compilation with gcc 2.95.
parent
58294b81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
suminfo.c
dlls/msi/tests/suminfo.c
+8
-16
No files found.
dlls/msi/tests/suminfo.c
View file @
a9909513
...
@@ -300,59 +300,51 @@ static void test_create_database_binary(void)
...
@@ -300,59 +300,51 @@ static void test_create_database_binary(void)
ok
(
r
==
S_OK
,
"failed to set class
\n
"
);
ok
(
r
==
S_OK
,
"failed to set class
\n
"
);
PropVariantClear
(
&
propvar
[
0
]
);
PropVariantClear
(
&
propvar
[
0
]
);
propspec
[
0
].
lpwstr
=
NULL
;
propspec
[
0
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
0
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
0
]
.
propid
=
PID_TITLE
;
U
(
propspec
[
0
])
.
propid
=
PID_TITLE
;
propvar
[
0
].
vt
=
VT_LPSTR
;
propvar
[
0
].
vt
=
VT_LPSTR
;
U
(
propvar
[
0
]).
pszVal
=
LOSE_CONST
(
"test title"
);
U
(
propvar
[
0
]).
pszVal
=
LOSE_CONST
(
"test title"
);
PropVariantClear
(
&
propvar
[
1
]
);
PropVariantClear
(
&
propvar
[
1
]
);
propspec
[
1
].
lpwstr
=
NULL
;
propspec
[
1
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
1
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
1
]
.
propid
=
PID_SUBJECT
;
U
(
propspec
[
1
])
.
propid
=
PID_SUBJECT
;
propvar
[
1
].
vt
=
VT_LPSTR
;
propvar
[
1
].
vt
=
VT_LPSTR
;
U
(
propvar
[
1
]).
pszVal
=
LOSE_CONST
(
"msi suminfo / property storage test"
);
U
(
propvar
[
1
]).
pszVal
=
LOSE_CONST
(
"msi suminfo / property storage test"
);
PropVariantClear
(
&
propvar
[
2
]
);
PropVariantClear
(
&
propvar
[
2
]
);
propspec
[
2
].
lpwstr
=
NULL
;
propspec
[
2
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
2
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
2
]
.
propid
=
PID_AUTHOR
;
U
(
propspec
[
2
])
.
propid
=
PID_AUTHOR
;
propvar
[
2
].
vt
=
VT_LPSTR
;
propvar
[
2
].
vt
=
VT_LPSTR
;
U
(
propvar
[
2
]).
pszVal
=
LOSE_CONST
(
"mike_m"
);
U
(
propvar
[
2
]).
pszVal
=
LOSE_CONST
(
"mike_m"
);
PropVariantClear
(
&
propvar
[
3
]
);
PropVariantClear
(
&
propvar
[
3
]
);
propspec
[
3
].
lpwstr
=
NULL
;
propspec
[
3
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
3
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
3
]
.
propid
=
PID_TEMPLATE
;
U
(
propspec
[
3
])
.
propid
=
PID_TEMPLATE
;
propvar
[
3
].
vt
=
VT_LPSTR
;
propvar
[
3
].
vt
=
VT_LPSTR
;
U
(
propvar
[
3
]).
pszVal
=
LOSE_CONST
(
";1033"
);
/* actually the string table's codepage */
U
(
propvar
[
3
]).
pszVal
=
LOSE_CONST
(
";1033"
);
/* actually the string table's codepage */
PropVariantClear
(
&
propvar
[
4
]
);
PropVariantClear
(
&
propvar
[
4
]
);
propspec
[
4
].
lpwstr
=
NULL
;
propspec
[
4
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
4
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
4
]
.
propid
=
PID_REVNUMBER
;
U
(
propspec
[
4
])
.
propid
=
PID_REVNUMBER
;
propvar
[
4
].
vt
=
VT_LPSTR
;
propvar
[
4
].
vt
=
VT_LPSTR
;
U
(
propvar
[
4
]).
pszVal
=
LOSE_CONST
(
"{913B8D18-FBB6-4CAC-A239-C74C11E3FA74}"
);
U
(
propvar
[
4
]).
pszVal
=
LOSE_CONST
(
"{913B8D18-FBB6-4CAC-A239-C74C11E3FA74}"
);
PropVariantClear
(
&
propvar
[
5
]
);
PropVariantClear
(
&
propvar
[
5
]
);
propspec
[
5
].
lpwstr
=
NULL
;
propspec
[
5
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
5
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
5
]
.
propid
=
PID_PAGECOUNT
;
U
(
propspec
[
5
])
.
propid
=
PID_PAGECOUNT
;
propvar
[
5
].
vt
=
VT_I4
;
propvar
[
5
].
vt
=
VT_I4
;
U
(
propvar
[
5
]).
lVal
=
100
;
U
(
propvar
[
5
]).
lVal
=
100
;
PropVariantClear
(
&
propvar
[
6
]
);
PropVariantClear
(
&
propvar
[
6
]
);
propspec
[
6
].
lpwstr
=
NULL
;
propspec
[
6
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
6
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
6
]
.
propid
=
PID_WORDCOUNT
;
U
(
propspec
[
6
])
.
propid
=
PID_WORDCOUNT
;
propvar
[
6
].
vt
=
VT_I4
;
propvar
[
6
].
vt
=
VT_I4
;
U
(
propvar
[
6
]).
lVal
=
0
;
U
(
propvar
[
6
]).
lVal
=
0
;
/* MSDN says that PID_LASTPRINTED should be a VT_FILETIME... */
/* MSDN says that PID_LASTPRINTED should be a VT_FILETIME... */
PropVariantClear
(
&
propvar
[
7
]
);
PropVariantClear
(
&
propvar
[
7
]
);
propspec
[
7
].
lpwstr
=
NULL
;
propspec
[
7
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
7
].
ulKind
=
PRSPEC_PROPID
;
propspec
[
7
]
.
propid
=
PID_LASTPRINTED
;
U
(
propspec
[
7
])
.
propid
=
PID_LASTPRINTED
;
propvar
[
7
].
vt
=
VT_LPSTR
;
propvar
[
7
].
vt
=
VT_LPSTR
;
U
(
propvar
[
7
]).
pszVal
=
LOSE_CONST
(
"7/1/1999 5:17"
);
U
(
propvar
[
7
]).
pszVal
=
LOSE_CONST
(
"7/1/1999 5:17"
);
...
...
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