Partager via


IUPnPDeviceFinderCallback::DeviceRemoved (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header upnp.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IUPnPDeviceFinderCallback
IUPnPDeviceFinder
IUPnPDeviceFinder::CreateAsyncFind