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. |
This interface is used by desktop applications to find connected Windows Embedded CE–based remote devices in order to make Remote API 2 method calls. Applications will create an instance of this interface by calling COM's CoCreateInstanceExmethod. Once the instance has been obtained, the EnumDevicesand FindDevicemethods of the interface can be used to obtain a reference to a IRAPIDeviceinterface that represents a connected device.
The Adviseand UnAdvisemethods allow desktop applications to be registered with the connection manager and be alerted when devices connect and disconnect. To use this functionality, applications must implement the IRAPISinkinterface.
Methods
The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface.
Method | Description |
---|---|
Registers an IRAPISink object to receive connection events. |
|
Returns an IRAPIEnumDevices object that can be used to enumerate connected remote devices. |
|
Returns an IRAPIDevice object representing a connected remote device. |
|
Removes the registration of an IRAPISink object so that it will no longer receive connection events. |
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 |