Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method removes the registration of an IRAPISinkobject 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 DWORDindicating the IRAPISinkobject that should be unregistered. The value for each registered IRAPISinkobject 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 IRAPISinkobject. To register the IRAPISinkobject, 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 |