IPersistMoniker::SaveCompleted

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->BindToStorage method, requesting either the IStream or IStorage interface, as in IPersistMoniker::Load.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in urlmon.h.

See Also

IPersistMoniker::Load, IPersistMoniker::Save