Commit c813ae22 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

scrrun: Implement Clone() for file collection.

parent 844aa795
......@@ -145,6 +145,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 HRESULT create_filecoll_enum(struct filecollection*, IUnknown**);
static inline BOOL is_dir_data(const WIN32_FIND_DATAW *data)
{
......@@ -723,8 +724,8 @@ static HRESULT WINAPI filecoll_enumvariant_Reset(IEnumVARIANT *iface)
static HRESULT WINAPI filecoll_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_filecoll_enum(This->data.u.filecoll.coll, (IUnknown**)pclone);
}
static const IEnumVARIANTVtbl filecollenumvariantvtbl = {
......@@ -737,7 +738,7 @@ static const IEnumVARIANTVtbl filecollenumvariantvtbl = {
filecoll_enumvariant_Clone
};
static HRESULT create_filecoll_enum(struct filecollection *collection, IUnknown **newenum)
HRESULT create_filecoll_enum(struct filecollection *collection, IUnknown **newenum)
{
struct enumvariant *This;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment