mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
The object returned by IEnumFORMATETC::Clone should have the same
cursor position of the source object.
This commit is contained in:
parent
d9159093a5
commit
ded2b88e06
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ static HRESULT WINAPI IEnumFORMATETC_fnClone(LPENUMFORMATETC iface, LPENUMFORMAT
|
|||
|
||||
if (!ppenum) return E_INVALIDARG;
|
||||
*ppenum = IEnumFORMATETC_Constructor(This->countFmt, This->pFmt);
|
||||
if(*ppenum)
|
||||
IEnumFORMATETC_fnSkip(*ppenum, This->posFmt);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue