Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 3.21 KB

nf-oleidl-iviewobject-getadvise.md

File metadata and controls

87 lines (63 loc) · 3.21 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oleidl.IViewObject.GetAdvise
IViewObject::GetAdvise (oleidl.h)
Retrieves the advisory connection on the object that was used in the most recent call to IViewObject::SetAdvise.
GetAdvise
GetAdvise method [COM]
GetAdvise method [COM]
IViewObject interface
IViewObject interface [COM]
GetAdvise method
IViewObject.GetAdvise
IViewObject::GetAdvise
_ole_iviewobject_getadvise
com.iviewobject_getadvise
oleidl/IViewObject::GetAdvise
com\iviewobject_getadvise.htm
com
c56f6cbb-d2ea-4db4-a660-db8b7540ac94
12/05/2018
GetAdvise, GetAdvise method [COM], GetAdvise method [COM],IViewObject interface, IViewObject interface [COM],GetAdvise method, IViewObject.GetAdvise, IViewObject::GetAdvise, _ole_iviewobject_getadvise, com.iviewobject_getadvise, oleidl/IViewObject::GetAdvise
oleidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
OleIdl.Idl
Windows
19H1
IViewObject::GetAdvise
oleidl/IViewObject::GetAdvise
c++
APIRef
kbSyntax
COM
OleIdl.h
IViewObject.GetAdvise

IViewObject::GetAdvise

-description

Retrieves the advisory connection on the object that was used in the most recent call to IViewObject::SetAdvise.

-parameters

-param pAspects [out]

Pointer to where the dwAspect parameter from the previous IViewObject::SetAdvise call is returned. If this pointer is NULL, the caller does not permit this value to be returned.

-param pAdvf [out]

Pointer to where the advf parameter from the previous IViewObject::SetAdvise call is returned. If this pointer is NULL, the caller does not permit this value to be returned.

-param ppAdvSink [out]

Address of IAdviseSink pointer variable that receives the interface pointer to the advise sink. The connection to this advise sink must have been established with a previous IViewObject::SetAdvise call, which provides the pAdvSink parameter. If ppvAdvSink is NULL, there is no established advisory connection.

-returns

This method returns S_OK on success.

-see-also

ADVF

IAdviseSink

IViewObject

IViewObject::SetAdvise