Compartilhar via


IUPnPDeviceFinderCallback::DeviceRemoved (Windows CE 5.0)

Send Feedback

This method is invoked when a device has been removed from the network.

HRESULT DeviceRemoved(LONG lFindData,BSTR bstrUDN);

Parameters

  • lFindData
    [in] Specifies the search for which UPnP is returning results. The value of lFindData is the value returned to the caller by IUPnPDeviceFinder::CreateAsyncFind.
  • bstrUDN
    [in] Specifies the unique device name (UDN) of the device that was removed from the network.

Return Values

UPnP does not expect the application to return any specific value. Any value returned is ignored by UPnP.

Remarks

UPnP may return two or more callbacks for the same device. An application can ignore subsequent device-removal callbacks.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.

See Also

IUPnPDeviceFinder:IDispatch | IUPnPDeviceFinder::CreateAsyncFind

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.