/**Copyright2009AlistairLeslie-Hughes**Thislibraryisfreesoftware; you can redistribute it and/or*modifyitunderthetermsoftheGNULesserGeneralPublic*LicenseaspublishedbytheFreeSoftwareFoundation; either*version2.1oftheLicense,or(atyouroption)anylaterversion.**Thislibraryisdistributedinthehopethatitwillbeuseful,*butWITHOUTANYWARRANTY; without even the implied warranty of*MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.SeetheGNU*LesserGeneralPublicLicenseformoredetails.**YoushouldhavereceivedacopyoftheGNULesserGeneralPublic*Licensealongwiththislibrary; if not, write to the Free Software*Foundation,Inc.,51FranklinSt,FifthFloor,Boston,MA02110-1301,USA*/import"objidl.idl";import"oleidl.idl";[object,uuid(91A565C1-E38F-11d0-94BF-00A0C9055CBF),pointer_default(unique)]interfaceIPersistHistory:IPersist{typedef[unique]IPersistHistory*LPPERSISTHISTORY;HRESULTLoadHistory([in]IStream*pStream,[in]IBindCtx*pbc);HRESULTSaveHistory([in]IStream*pStream);HRESULTSetPositionCookie([in]DWORDdwPositioncookie);HRESULTGetPositionCookie([out]DWORD*pdwPositioncookie);}