IViewObject::GetAdvise
Retrieves the existing advisory connection on the object if there is one. This
method simply returns the parameters used in the most recent call to the
IViewObject::SetAdvise method.
HRESULT GetAdvise(
DWORD * pdwAspect,
| //Points to location of dwAspect parameter from previous SetAdvise
|
DWORD * padvf,
| //Points to location of advf parameter from previous SetAdvise
|
IAdviseSink ** ppAdvSink
| //Points to location of pAdvSink parameter from previous SetAdvise
|
);
|
|
Parameters
pdwAspect
[out]Points to location where the
dwAspect parameter from the previous
SetAdvise call is returned. If this pointer is NULL, the caller does not permit this
value to be returned.
padvf
[out]Points to location where the
advf parameter from the previous
SetAdvise call is returned. If this pointer is NULL, the caller does not permit this
value to be returned.
ppAdvSink
[out]Points to location where the
pAdvSink parameter from the previous
SetAdvise call is returned. If this pointer is NULL, the caller does not permit this
value to be returned.
Return Values
S_OK
The existing advisory connection was retrieved.
E_INVALIDARG
An invalid
advf flag was specified.
E_OUTOFMEMORY
Ran out of memory.
See Also
ADVF,
IAdviseSink,
IViewObject::SetAdvise
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database