Partager via


IPersistMoniker::SaveCompleted method

Notifies the client application that its persisted state has been completely saved, and points the client to its new persisted state.

Syntax

HRESULT SaveCompleted(
  [in] IMoniker *pimkName,
  [in] LPBC     pibc
);

Parameters

  • pimkName [in]
    The address of the IMoniker interface of 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 does not have to rebind to pimkName.

  • pibc [in]
    The address of the IBindCtx interface to use for any moniker binding during this method.

Return value

Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IPersistMoniker