IUPnPDeviceFinderCallback::SearchComplete (Windows CE 5.0)
This method is invoked when UPnP has finished sending all the IUPnPDeviceFinderCallback::DeviceAdded callbacks to the application. These DeviceAdded callbacks show the state of the network at the time the search was started.
HRESULT SearchComplete(LONG lFindData);
Parameters
- lFindData
[in] Specifies the search UPnP has completed. The value of lFindData is the value returned to the caller by IUPnPDeviceFinder::CreateAsyncFind.
Return Values
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
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