Share via


IAdviseSink::OnSave

This method advises the sink that an object has been saved to disk.

void OnSave(); 

Parameters

None.

Return Values

None.

Remarks

Object handlers and link objects normally implement OnSave to receive notifications of when an object is saved to disk, either to its original storage (through a Save operation) or to new storage (through a Save As operation). Object Handlers and link objects register to be notified when an object is saved for the purpose of updating their caches, but then only if the advise flag passed during registration specifies ADVFCACHE_ONSAVE. Object handlers and link objects forward these notifications to their containers.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl
Link Library: Oleaut32.lib, Uuid.lib.

See Also

IAdviseSink | Determining Supported COM APIs

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.