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
fa2444ca
Commit
fa2444ca
authored
Jun 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Use the windows directory for the SHParseDisplayName test to…
shell32/tests: Use the windows directory for the SHParseDisplayName test to avoid ambiguous namings.
parent
8b543906
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
shlfolder.c
dlls/shell32/tests/shlfolder.c
+1
-6
No files found.
dlls/shell32/tests/shlfolder.c
View file @
fa2444ca
...
@@ -2024,7 +2024,6 @@ static void test_SHCreateShellItem(void)
...
@@ -2024,7 +2024,6 @@ static void test_SHCreateShellItem(void)
static
void
test_SHParseDisplayName
(
void
)
static
void
test_SHParseDisplayName
(
void
)
{
{
static
const
WCHAR
prefixW
[]
=
{
'w'
,
't'
,
0
};
LPITEMIDLIST
pidl1
,
pidl2
;
LPITEMIDLIST
pidl1
,
pidl2
;
IShellFolder
*
desktop
;
IShellFolder
*
desktop
;
WCHAR
dirW
[
MAX_PATH
];
WCHAR
dirW
[
MAX_PATH
];
...
@@ -2066,9 +2065,7 @@ if (0)
...
@@ -2066,9 +2065,7 @@ if (0)
pILFree
(
pidl2
);
pILFree
(
pidl2
);
/* with path */
/* with path */
GetTempPathW
(
sizeof
(
dirW
)
/
sizeof
(
WCHAR
),
dirW
);
GetWindowsDirectoryW
(
dirW
,
MAX_PATH
);
GetTempFileNameW
(
dirW
,
prefixW
,
0
,
dirW
);
CreateFileW
(
dirW
,
GENERIC_WRITE
,
0
,
NULL
,
CREATE_ALWAYS
,
0
,
NULL
);
hr
=
pSHParseDisplayName
(
dirW
,
NULL
,
&
pidl1
,
0
,
NULL
);
hr
=
pSHParseDisplayName
(
dirW
,
NULL
,
&
pidl1
,
0
,
NULL
);
ok
(
hr
==
S_OK
,
"failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"failed %08x
\n
"
,
hr
);
...
@@ -2080,8 +2077,6 @@ if (0)
...
@@ -2080,8 +2077,6 @@ if (0)
pILFree
(
pidl1
);
pILFree
(
pidl1
);
pILFree
(
pidl2
);
pILFree
(
pidl2
);
DeleteFileW
(
dirW
);
IShellFolder_Release
(
desktop
);
IShellFolder_Release
(
desktop
);
}
}
...
...
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