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
844aa795
Commit
844aa795
authored
Jan 08, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun: Implement Clone() for folder collection.
parent
c1b7a075
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
filesystem.c
dlls/scrrun/filesystem.c
+4
-3
filesystem.c
dlls/scrrun/tests/filesystem.c
+0
-3
No files found.
dlls/scrrun/filesystem.c
View file @
844aa795
...
...
@@ -144,6 +144,7 @@ static inline HRESULT create_error(DWORD err)
static
HRESULT
create_folder
(
const
WCHAR
*
,
IFolder
**
);
static
HRESULT
create_file
(
BSTR
,
IFile
**
);
static
HRESULT
create_foldercoll_enum
(
struct
foldercollection
*
,
IUnknown
**
);
static
inline
BOOL
is_dir_data
(
const
WIN32_FIND_DATAW
*
data
)
{
...
...
@@ -569,8 +570,8 @@ static HRESULT WINAPI foldercoll_enumvariant_Reset(IEnumVARIANT *iface)
static
HRESULT
WINAPI
foldercoll_enumvariant_Clone
(
IEnumVARIANT
*
iface
,
IEnumVARIANT
**
pclone
)
{
struct
enumvariant
*
This
=
impl_from_IEnumVARIANT
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
pclone
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pclone
);
return
create_foldercoll_enum
(
This
->
data
.
u
.
foldercoll
.
coll
,
(
IUnknown
**
)
pclone
)
;
}
static
const
IEnumVARIANTVtbl
foldercollenumvariantvtbl
=
{
...
...
@@ -583,7 +584,7 @@ static const IEnumVARIANTVtbl foldercollenumvariantvtbl = {
foldercoll_enumvariant_Clone
};
static
HRESULT
create_foldercoll_enum
(
struct
foldercollection
*
collection
,
IUnknown
**
newenum
)
HRESULT
create_foldercoll_enum
(
struct
foldercollection
*
collection
,
IUnknown
**
newenum
)
{
struct
enumvariant
*
This
;
...
...
dlls/scrrun/tests/filesystem.c
View file @
844aa795
...
...
@@ -863,12 +863,9 @@ static void test_FolderCollection(void)
/* clone enumerator */
hr
=
IEnumVARIANT_Clone
(
enumvar
,
&
clone
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
ok
(
clone
!=
enumvar
,
"got %p, %p
\n
"
,
enumvar
,
clone
);
IEnumVARIANT_Release
(
clone
);
}
hr
=
IEnumVARIANT_Reset
(
enumvar
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
...
...
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