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
e98a468e
Commit
e98a468e
authored
Feb 26, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Use the IShellLinkDataList's standard 'C' interface.
parent
31137aa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
shelllink.c
dlls/shell32/tests/shelllink.c
+5
-5
No files found.
dlls/shell32/tests/shelllink.c
View file @
e98a468e
...
...
@@ -650,12 +650,12 @@ static void test_datalink(void)
}
flags
=
0
;
r
=
dl
->
lpVtbl
->
GetFlags
(
dl
,
&
flags
);
r
=
IShellLinkDataList_
GetFlags
(
dl
,
&
flags
);
ok
(
r
==
S_OK
,
"GetFlags failed
\n
"
);
ok
(
flags
==
0
,
"GetFlags returned wrong flags
\n
"
);
dar
=
(
void
*
)
-
1
;
r
=
dl
->
lpVtbl
->
CopyDataBlock
(
dl
,
EXP_DARWIN_ID_SIG
,
(
LPVOID
*
)
&
dar
);
r
=
IShellLinkDataList_
CopyDataBlock
(
dl
,
EXP_DARWIN_ID_SIG
,
(
LPVOID
*
)
&
dar
);
ok
(
r
==
E_FAIL
,
"CopyDataBlock failed
\n
"
);
ok
(
dar
==
NULL
,
"should be null
\n
"
);
...
...
@@ -664,17 +664,17 @@ static void test_datalink(void)
/*
* The following crashes:
* r =
dl->lpVtbl->
GetFlags( dl, NULL );
* r =
IShellLinkDataList_
GetFlags( dl, NULL );
*/
flags
=
0
;
r
=
dl
->
lpVtbl
->
GetFlags
(
dl
,
&
flags
);
r
=
IShellLinkDataList_
GetFlags
(
dl
,
&
flags
);
ok
(
r
==
S_OK
,
"GetFlags failed
\n
"
);
ok
(
flags
==
(
SLDF_HAS_DARWINID
|
SLDF_HAS_LOGO3ID
),
"GetFlags returned wrong flags
\n
"
);
dar
=
NULL
;
r
=
dl
->
lpVtbl
->
CopyDataBlock
(
dl
,
EXP_DARWIN_ID_SIG
,
(
LPVOID
*
)
&
dar
);
r
=
IShellLinkDataList_
CopyDataBlock
(
dl
,
EXP_DARWIN_ID_SIG
,
(
LPVOID
*
)
&
dar
);
ok
(
r
==
S_OK
,
"CopyDataBlock failed
\n
"
);
ok
(
dar
&&
((
DATABLOCK_HEADER
*
)
dar
)
->
dwSignature
==
EXP_DARWIN_ID_SIG
,
"signature wrong
\n
"
);
...
...
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