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
4ea0b382
Commit
4ea0b382
authored
Apr 06, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Apr 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix wrong comment and update test accordingly.
parent
a295308c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
shlfolder.c
dlls/shell32/tests/shlfolder.c
+2
-5
No files found.
dlls/shell32/tests/shlfolder.c
View file @
4ea0b382
...
...
@@ -769,10 +769,6 @@ static void test_GetAttributesOf(void)
/* Windows sets the SFGAO_CANLINK flag, when MyComputer is queried via the Desktop
* folder object. It doesn't do this, if MyComputer is queried directly (see below).
* SFGAO_CANLINK is the same as DROPEFFECT_LINK, which MSDN says means: "Drag source
* should create a link to the original data". You can't create links on MyComputer on
* Windows, so this flag shouldn't be set. Seems like a bug in Windows. As long as nobody
* depends on this bug, we probably shouldn't imitate it.
*/
dwFlags
=
0xffffffff
;
hr
=
IShellFolder_GetAttributesOf
(
psfDesktop
,
1
,
(
LPCITEMIDLIST
*
)
&
pidlMyComputer
,
&
dwFlags
);
...
...
@@ -780,9 +776,10 @@ static void test_GetAttributesOf(void)
for
(
i
=
0
,
foundFlagsMatch
=
FALSE
;
!
foundFlagsMatch
&&
i
<
sizeof
(
myComputerFlags
)
/
sizeof
(
myComputerFlags
[
0
]);
i
++
)
{
if
(
myComputerFlags
[
i
]
==
(
dwFlags
&
~
(
DWORD
)
SFGAO_CANLINK
)
)
if
(
(
myComputerFlags
[
i
]
|
SFGAO_CANLINK
)
==
dwFlags
)
foundFlagsMatch
=
TRUE
;
}
todo_wine
ok
(
foundFlagsMatch
,
"Wrong MyComputer attributes: %08x
\n
"
,
dwFlags
);
hr
=
IShellFolder_BindToObject
(
psfDesktop
,
pidlMyComputer
,
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psfMyComputer
);
...
...
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