Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is called by the Windows CE Connection Manager when a remote device connects to the desktop.
HRESULT OnDeviceConnected(
IRAPIDevice* pIDevice
);
Parameters
- pIDevice
[in] Pointer to an IRAPIDevice object representing the device that has connected.
Return Values
Return S_OK or an error code .
Remarks
This method is called when a remote device connects if the implementation of the IRAPISync interface is registered with the connection manager with a call to IRAPIDesktop::Advise. A desktop application can wait for this method to be called and then begin executing other RAPI2 operations.
Requirements
OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib
See Also
IRAPISink:IUnknown | IRAPISink::OnDeviceDisconnected | IRAPIDevice:IUnknown | IRAPIDesktop:IUnknown
Send Feedback on this topic to the authors