Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method is invoked when UPnP has finished sending all the IUPnPDeviceFinderCallback::DeviceAddedcallbacks to the application. These DeviceAddedcallbacks show the state of the network at the time the search was started.

Syntax

HRESULT SearchComplete(
  LONG 
lFindData
);

Parameters

lFindData

[in] Specifies the search UPnP has completed. The value of lFindDatais the value returned to the caller by IUPnPDeviceFinder::CreateAsyncFind.

Return Value

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

Remarks

An asynchronous search continues to report devices being added to and removed from the network until the application calls IUPnPDeviceFinder::CancelAsyncFind.

The original search can take a long time to complete.

This callback is invoked only when the description document for the last device found has either been loaded or has failed to load.

Requirements

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

See Also