The object returned by IEnumFORMATETC::Clone should have the same

cursor position of the source object.
This commit is contained in:
Alberto Massari 2002-11-08 18:52:52 +00:00 committed by Alexandre Julliard
parent d9159093a5
commit ded2b88e06

View File

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