IRAPIDesktop::UnAdvise
A version of this page is also available for
4/8/2010
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.
Syntax
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 Value
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
Header | rapi2.h |
Library | ole32.lib, rapiuuid.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |