Notifies the object that it has been completely saved and points it to its new persisted state.
HRESULT SaveCompleted(
IMoniker *
pmkNew, //Pointer to moniker for the objectÆs new persistent state
IBindCtx *pbc //Bind context for binding during this method
);
Parameter
pmkNew
[in] Pointer to the moniker for the objectÆs new persistent state. This parameter can be NULL if the moniker to the objectÆs new persistent state is the same as the previous moniker to the objectÆs persistent state. This optimization is allowed only if there was a prior call to IPersistMoniker::Save with the fRemember parameter set to TRUE, in which case the object need not rebind to pmkNew.
pbc
[in] Pointer to the bind context to use for any moniker binding during this method.
Return Value
S_OK
The operation was successful.
E_INVALIDARG
One or more parameters are invalid.
Remarks
Typically, the object will immediately bind to its persistent state through a call to
pmkNew->BindToStoragemethod, requesting either the IStream or IStorage interface, as in IPersistMoniker::Load.
See Also
IPersistMoniker::Load, IPersistMoniker::Save