scrrun: Implement Clone() for file collection.

This commit is contained in:
Nikolay Sivov 2014-01-08 12:37:42 +04:00 committed by Alexandre Julliard
parent 844aa7959e
commit c813ae2230
1 changed files with 4 additions and 3 deletions

View File

@ -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;