mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
scrrun: Implement Clone() for file collection.
This commit is contained in:
parent
844aa7959e
commit
c813ae2230
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue