This topic has not yet been rated - Rate this topic

IAdviseSink::OnSave method

Applies to: desktop apps only

Called by the server to notify all registered advisory sinks that the object has been saved.

Syntax

void OnSave();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

Object handlers and link objects normally implement IAdviseSink::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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IAdviseSink is defined as 00000150-0000-0000-C000-000000000046

See also

IAdviseSink

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ