A version of this page is also available for
This method removes the registration of an IRAPISink object so that it no longer receives notifications from the Connection Manager when mobile devices connect to and disconnect from the desktop.
HRESULT UnAdvise( DWORD dwContext );
[in] A DWORD indicating the IRAPISink object that should be unregistered. The value for each registered IRAPISink object is returned from the call to IRAPIDesktop::Advise.
If the operation was successful, the return value is NOERROR.
This method removes the registration for an IRAPISink object. To register the IRAPISink object, call IRAPIDesktop::Advise.
|Windows Embedded CE||Windows Embedded CE 6.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|