Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7f0cfac5
Commit
7f0cfac5
authored
Jun 15, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Get rid of unneeded function typedefs.
parent
6af6f025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
db.c
dlls/msi/tests/db.c
+2
-5
No files found.
dlls/msi/tests/db.c
View file @
7f0cfac5
...
...
@@ -453,11 +453,9 @@ static void test_msiinsert(void)
ok
(
r
==
TRUE
,
"file didn't exist after commit
\n
"
);
}
typedef
UINT
(
WINAPI
*
fnMsiDecomposeDescriptorA
)(
LPCSTR
,
LPCSTR
,
LPSTR
,
LPSTR
,
DWORD
*
);
static
fnMsiDecomposeDescriptorA
pMsiDecomposeDescriptorA
;
static
void
test_msidecomposedesc
(
void
)
{
UINT
(
WINAPI
*
pMsiDecomposeDescriptorA
)(
LPCSTR
,
LPCSTR
,
LPSTR
,
LPSTR
,
DWORD
*
);
char
prod
[
MAX_FEATURE_CHARS
+
1
],
comp
[
MAX_FEATURE_CHARS
+
1
],
feature
[
MAX_FEATURE_CHARS
+
1
];
const
char
*
desc
;
UINT
r
;
...
...
@@ -465,8 +463,7 @@ static void test_msidecomposedesc(void)
HMODULE
hmod
;
hmod
=
GetModuleHandle
(
"msi.dll"
);
pMsiDecomposeDescriptorA
=
(
fnMsiDecomposeDescriptorA
)
GetProcAddress
(
hmod
,
"MsiDecomposeDescriptorA"
);
pMsiDecomposeDescriptorA
=
(
void
*
)
GetProcAddress
(
hmod
,
"MsiDecomposeDescriptorA"
);
if
(
!
pMsiDecomposeDescriptorA
)
return
;
...
...
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