IRAPIDesktop::UnAdvise
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
);
Parameters
- pdwContext
[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.
Return Values
If the operation was successful, the return value is NOERROR.
Remarks
This method removes the registration for an IRAPISink object. To register the IRAPISink object, call IRAPIDesktop::Advise.
Requirements
OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib.
See Also
IRAPIDesktop::IUnknown | IRAPIDesktop::Advise
Send Feedback on this topic to the authors