IPersistMoniker::Save (Windows CE 5.0)
This method requests that the object save itself to a specified location.
HRESULT Save(IMoniker* pimkName,LPBCpbc,BOOLfRemember);
Parameters
- pimkName
[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 pimkName is to be used as the reference to the current persistent state after the save. If TRUE, pimkName 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 pimkName is NULL, the implementation should ignore the fRemember flag.
Return Values
Returns S_OK if the object was successfully saved or E_INVALIDARG if one or more parameters are invalid.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Library: Urlmon.lib.
Send Feedback on this topic to the authors