Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This 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(
  IMoniker* 
pimkName,
  LPBC 
pibc
);

Parameters

pimkName

[in] Address of the IMonikerinterface 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::Savewith the fRememberparameter set to TRUE, in which case the object need not rebind to pimkName.

pibc

[in] Address of the IBindCtxinterface 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

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later