Retrieves the advisory connection on the object that was used in the most recent call to IViewObject::SetAdvise.
HRESULT GetAdvise( DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink );
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.
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.
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.
This method returns S_OK on success.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|