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
1134f77d
Commit
1134f77d
authored
Sep 02, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Sep 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix tests on Vista+.
parent
be242de9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
shelllink.c
dlls/shell32/tests/shelllink.c
+7
-10
No files found.
dlls/shell32/tests/shelllink.c
View file @
1134f77d
...
@@ -651,16 +651,12 @@ static void test_load_save(void)
...
@@ -651,16 +651,12 @@ static void test_load_save(void)
static
void
test_datalink
(
void
)
static
void
test_datalink
(
void
)
{
{
static
const
WCHAR
lnk
[]
=
{
static
const
WCHAR
lnk
[]
=
{
':'
,
':'
,
'{'
,
'9'
,
'd'
,
'b'
,
'1'
,
'1'
,
'8'
,
'6'
,
'
f
'
,
'-'
,
'4'
,
'0'
,
'd'
,
'f'
,
'-'
,
'1'
,
':'
,
':'
,
'{'
,
'9'
,
'd'
,
'b'
,
'1'
,
'1'
,
'8'
,
'6'
,
'
e
'
,
'-'
,
'4'
,
'0'
,
'd'
,
'f'
,
'-'
,
'1'
,
'1'
,
'd'
,
'1'
,
'-'
,
'a'
,
'a'
,
'8'
,
'c'
,
'-'
,
'0'
,
'0'
,
'c'
,
'0'
,
'4'
,
'f'
,
'b'
,
'6'
,
'7'
,
'1'
,
'd'
,
'1'
,
'-'
,
'a'
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,
'L'
,
's'
,
'A'
,
'C'
,
'C'
,
'E'
,
'S'
,
'S'
,
'F'
,
'i'
,
'l'
,
'e'
,
's'
,
'>'
,
'p'
,
'l'
,
'T'
,
']'
,
'j'
,
'I'
,
'{'
,
'j'
,
'f'
,
'('
,
'='
,
'1'
,
'&'
,
'L'
,
'['
,
'-'
,
'8'
,
'1'
,
'-'
,
']'
,
':'
,
':'
,
0
};
static
const
WCHAR
comp
[]
=
{
static
const
WCHAR
comp
[]
=
{
'2'
,
'6'
,
','
,
'!'
,
'!'
,
'g'
,
'x'
,
's'
,
'f'
,
'('
,
'N'
,
'g'
,
']'
,
'q'
,
'F'
,
'`'
,
'H'
,
'{'
,
'2'
,
'6'
,
','
,
'!'
,
'!'
,
'g'
,
'x'
,
's'
,
'f'
,
'('
,
'N'
,
'g'
,
']'
,
'q'
,
'F'
,
'`'
,
'H'
,
'{'
,
'L'
,
's'
,
'A'
,
'C'
,
'C'
,
'E'
,
'S'
,
'S'
,
'F'
,
'i'
,
'l'
,
'e'
,
's'
,
'>'
,
'p'
,
'l'
,
'T'
,
']'
,
'L'
,
's'
,
'A'
,
'C'
,
'C'
,
'E'
,
'S'
,
'S'
,
'F'
,
'i'
,
'l'
,
'e'
,
's'
,
'>'
,
'p'
,
'l'
,
'T'
,
']'
,
...
@@ -715,7 +711,8 @@ static void test_datalink(void)
...
@@ -715,7 +711,8 @@ static void test_datalink(void)
flags
=
0
;
flags
=
0
;
r
=
IShellLinkDataList_GetFlags
(
dl
,
&
flags
);
r
=
IShellLinkDataList_GetFlags
(
dl
,
&
flags
);
ok
(
r
==
S_OK
,
"GetFlags failed
\n
"
);
ok
(
r
==
S_OK
,
"GetFlags failed
\n
"
);
ok
(
flags
==
(
SLDF_HAS_DARWINID
|
SLDF_HAS_LOGO3ID
),
/* SLDF_HAS_LOGO3ID is no longer supported on Vista+, filter it out */
ok
(
(
flags
&
(
~
SLDF_HAS_LOGO3ID
))
==
SLDF_HAS_DARWINID
,
"GetFlags returned wrong flags
\n
"
);
"GetFlags returned wrong flags
\n
"
);
dar
=
NULL
;
dar
=
NULL
;
...
...
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