Compartir a través de


IOleAdviseHolder::SendOnClose (Windows CE 5.0)

Send Feedback

This method sends notification that the object is closed to all advisory sinks currently registered with the advise holder.

HRESULT SendOnClose() 

Parameters

None.

Return Values

S_OK indicates that advise sinks were notified of the close operation through a call to the IAdviseSink::OnClose method.

Remarks

SendOnClose must call OnClose on all advise sinks that have a valid advisory connection with the object, whenever the object goes from the running state to the loaded state. This occurs through a call to IOleObject::Close, so you can call SendOnClose when you determine that a Close operation has been successful.

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

Requirements

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

See Also

IOleAdviseHolder | Determining Supported COM APIs | IAdviseSink::OnClose | IOleObject::Close

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.