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
ec225816
Commit
ec225816
authored
Nov 05, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a test failure on NT4.
parent
d64f8a88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
shelllink.c
dlls/shell32/tests/shelllink.c
+7
-2
No files found.
dlls/shell32/tests/shelllink.c
View file @
ec225816
...
...
@@ -650,7 +650,9 @@ static void test_datalink(void)
r
=
CoCreateInstance
(
&
CLSID_ShellLink
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IShellLinkW
,
(
LPVOID
*
)
&
sl
);
ok
(
r
==
S_OK
||
r
==
E_NOINTERFACE
,
"CoCreateInstance failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_OK
||
broken
(
r
==
E_NOINTERFACE
),
/* Win9x */
"CoCreateInstance failed (0x%08x)
\n
"
,
r
);
if
(
!
sl
)
{
skip
(
"no shelllink
\n
"
);
...
...
@@ -658,11 +660,14 @@ static void test_datalink(void)
}
r
=
IShellLinkW_QueryInterface
(
sl
,
&
_IID_IShellLinkDataList
,
(
LPVOID
*
)
&
dl
);
ok
(
r
==
S_OK
,
"IShellLinkW_QueryInterface failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_OK
||
broken
(
r
==
E_NOINTERFACE
),
/* NT4 */
"IShellLinkW_QueryInterface failed (0x%08x)
\n
"
,
r
);
if
(
!
dl
)
{
skip
(
"no datalink interface
\n
"
);
IShellLinkW_Release
(
sl
);
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