Export (0) Print
Expand All

IAdviseSinkEx::OnViewStatusChange method

Notifies the sink that a view status of an object has changed.

Syntax


HRESULT OnViewStatusChange(
  [in]  DWORD dwViewStatus
);

Parameters

dwViewStatus [in]

The new view status. Possible values are from the VIEWSTATUS enumeration.

Return value

This method returns S_OK on success.

Remarks

It is important that objects call the IAdviseSink:OnViewChange method whenever the object's view changes even when the object is in place active. Containers rely on this notification to keep an object's view up-to-date.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IAdviseSinkEx is defined as 3AF24290-0C96-11CE-A0CF-00AA00600AB8

See also

IAdviseSinkEx
IAdviseSink:OnViewChange

 

 

Community Additions

ADD
Show:
© 2014 Microsoft