IRAPISink::OnDeviceDisconnected

Send Feedback

This method is called by the Windows CE Connection Manager when a remote device disconnects from the desktop.

HRESULT OnDeviceDisconnected( 
  IRAPIDevice* pIDevice 
);

Parameters

  • pIDevice
    [in] Pointer to an IRAPIDevice object representing the device that has disconnected.

Return Values

Return S_OK or an error code .

Remarks

This method is called when a remote device disconnects if the implementation of the IRAPISync interface is registered with the connection manager with a call to IRAPIDesktop::Advise. Methods of the IRAPISession interface should not be called for a device that has disconnected.

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.