Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c22eb7e3
Commit
c22eb7e3
authored
Oct 03, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Microsoft's EXP_DARWIN_LINK structure does not have a dbh
field so cast it to DATABLOCK_HEADER to access the dwSignature field. Fixes the compilation with Visual C++ on Windows.
parent
398245b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
shelllink.c
dlls/shell32/tests/shelllink.c
+1
-6
No files found.
dlls/shell32/tests/shelllink.c
View file @
c22eb7e3
...
...
@@ -32,11 +32,6 @@
#include "shell32_test.h"
#ifndef _MSC_VER
#define DBH(x) (x).dbh
#else
#define DBH(x) (x)
#endif
typedef
void
(
WINAPI
*
fnILFree
)(
LPITEMIDLIST
);
typedef
BOOL
(
WINAPI
*
fnILIsEqual
)(
LPCITEMIDLIST
,
LPCITEMIDLIST
);
...
...
@@ -612,7 +607,7 @@ static void test_datalink(void)
r
=
dl
->
lpVtbl
->
CopyDataBlock
(
dl
,
EXP_DARWIN_ID_SIG
,
(
LPVOID
*
)
&
dar
);
ok
(
r
==
S_OK
,
"CopyDataBlock failed
\n
"
);
ok
(
dar
&&
DBH
(
*
dar
).
dwSignature
==
EXP_DARWIN_ID_SIG
,
"signature wrong
\n
"
);
ok
(
dar
&&
((
DATABLOCK_HEADER
*
)
dar
)
->
dwSignature
==
EXP_DARWIN_ID_SIG
,
"signature wrong
\n
"
);
ok
(
dar
&&
0
==
lstrcmpW
(
dar
->
szwDarwinID
,
comp
),
"signature wrong
\n
"
);
LocalFree
(
dar
);
...
...
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