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
575b93c5
Commit
575b93c5
authored
Mar 04, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Use the correct directory on Win95.
parent
bda6e4ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
shlfolder.c
dlls/shell32/tests/shlfolder.c
+6
-6
No files found.
dlls/shell32/tests/shlfolder.c
View file @
575b93c5
...
@@ -969,8 +969,8 @@ static void test_EnumObjects_and_CompareIDs(void)
...
@@ -969,8 +969,8 @@ static void test_EnumObjects_and_CompareIDs(void)
ITEMIDLIST
*
newPIDL
;
ITEMIDLIST
*
newPIDL
;
IShellFolder
*
IDesktopFolder
,
*
testIShellFolder
;
IShellFolder
*
IDesktopFolder
,
*
testIShellFolder
;
char
cCurrDirA
[
MAX_PATH
]
=
{
0
};
char
cCurrDirA
[
MAX_PATH
]
=
{
0
};
WCHAR
cCurrDirW
[
MAX_PATH
]
;
static
const
CHAR
cTestDirA
[]
=
"
\\
testdir"
;
static
const
WCHAR
cTestDirW
[]
=
{
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'd'
,
'i'
,
'r'
,
0
}
;
WCHAR
cTestDirW
[
MAX_PATH
]
;
int
len
;
int
len
;
HRESULT
hr
;
HRESULT
hr
;
...
@@ -978,21 +978,21 @@ static void test_EnumObjects_and_CompareIDs(void)
...
@@ -978,21 +978,21 @@ static void test_EnumObjects_and_CompareIDs(void)
len
=
lstrlenA
(
cCurrDirA
);
len
=
lstrlenA
(
cCurrDirA
);
if
(
len
==
0
)
{
if
(
len
==
0
)
{
trace
(
"GetCurrentDirectoryA returned empty string. Skipping test_EnumObjects_and_CompareIDs
\n
"
);
win_skip
(
"GetCurrentDirectoryA returned empty string. Skipping test_EnumObjects_and_CompareIDs
\n
"
);
return
;
return
;
}
}
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
cCurrDirA
[
len
-
1
]
=
0
;
cCurrDirA
[
len
-
1
]
=
0
;
MultiByteToWideChar
(
CP_ACP
,
0
,
cCurrDirA
,
-
1
,
cCurrDirW
,
MAX_PATH
);
lstrcatA
(
cCurrDirA
,
cTestDirA
);
lstrcatW
(
cCurrDirW
,
cTestDirW
);
MultiByteToWideChar
(
CP_ACP
,
0
,
cCurrDirA
,
-
1
,
cTestDirW
,
MAX_PATH
);
hr
=
SHGetDesktopFolder
(
&
IDesktopFolder
);
hr
=
SHGetDesktopFolder
(
&
IDesktopFolder
);
ok
(
hr
==
S_OK
,
"SHGetDesktopfolder failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"SHGetDesktopfolder failed %08x
\n
"
,
hr
);
CreateFilesFolders
();
CreateFilesFolders
();
hr
=
IShellFolder_ParseDisplayName
(
IDesktopFolder
,
NULL
,
NULL
,
c
Curr
DirW
,
NULL
,
&
newPIDL
,
0
);
hr
=
IShellFolder_ParseDisplayName
(
IDesktopFolder
,
NULL
,
NULL
,
c
Test
DirW
,
NULL
,
&
newPIDL
,
0
);
ok
(
hr
==
S_OK
,
"ParseDisplayName failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"ParseDisplayName failed %08x
\n
"
,
hr
);
hr
=
IShellFolder_BindToObject
(
IDesktopFolder
,
newPIDL
,
NULL
,
(
REFIID
)
&
IID_IShellFolder
,
(
LPVOID
*
)
&
testIShellFolder
);
hr
=
IShellFolder_BindToObject
(
IDesktopFolder
,
newPIDL
,
NULL
,
(
REFIID
)
&
IID_IShellFolder
,
(
LPVOID
*
)
&
testIShellFolder
);
...
...
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