This interface is used by desktop applications to find connected Microsoft® Windows® 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 CoCreateInstanceEx method. Once the instance has been obtained, the EnumDevices and FindDevice methods of the interface can be used to obtain a reference to a IRAPIDevice interface that represents a connected device.
The Advise and UnAdvise methods 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 IRAPISink interface.
The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.
|Advise||Registers an IRAPISink object to receive connection events.|
|EnumDevices||Returns an IRAPIEnumDevices object that can be used to enumerate connected remote devices.|
|FindDevice||Returns an IRAPIDevice object representing a connected remote device.|
|UnAdvise||Removes the registration of an IRAPISink object so that it will no longer receive connection events.|
OS Versions: Windows CE 5.01 and later.
Link Library: Ole32.lib, Rapiuuid.lib.
Send Feedback on this topic to the authors