Requests that the object save itself to the location referred to by the pmkDst parameter.
Syntax
HRESULT Save( IMoniker *pmkDst, IBindCtx *pbc, BOOL fRemember );
Parameters
- pmkDst
- [in] Address of the IMoniker interface that references the location where the object should persistently store itself.
- pbc
- [in] Address of the IBindCtx interface for the bind context to be used for any moniker binding during this method.
- fRemember
- [in] Boolean value that indicates whether pmkDst is to be used as the reference to the current persistent state after the save. If TRUE, pmkDst becomes the reference to the current persistent state, and the object should clear its "dirty" flag after the save. If FALSE, this save operation is a "Save A Copy As ..." operation. In this case, the reference to the current persistent state is unchanged, and the object should not clear its "dirty" flag. If pmkDst is NULL, the implementation should ignore the fRemember flag.
Return Value
Returns S_OK if the object was successfully saved, or E_INVALIDARG if one or more parameters are invalid.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0