Compartilhar via


IRAPISink

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface is implemented by desktop applications to receive notifications when a Windows Embedded CE–based remote device connects or disconnects. Applications register an IRAPISink implementation to receive device connection events by calling IRAPIDesktop::Advise.

Methods

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.

Method Description

OnDeviceConnected

Called by the Windows Embedded CE Connection Manager when a remote device connects to the desktop.

OnDeviceDisconnected

Called by the Windows Embedded CE Connection Manager when a remote device disconnects from the desktop.

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

See Also

Reference

RAPI2 Interfaces
IRAPIDesktop
IRAPIDesktop::Advise