Synchronous Searching
The Device Finder object enables both synchronous and asynchronous searches. Synchronous searches are completed and return control to the calling application only after all available devices are found. To perform a synchronous search, use one of the synchronous search methods of the IUPnPDeviceFinder:IDispatch interface.
**Note **Synchronous searches are best used for command-line interfaces. They are not recommended for graphical user interfaces, because the time required to complete them is often greater than nine seconds.
The IUPnPDeviceFinder::FindByType method searches by device or service type. This method takes a type URI as an input parameter and returns a collection of Device objects. A Device object represents an individual device.
**Note **Synchronous searches will only find devices that are on the network at the time of the search.
See Also
Device Location | IUPnPDeviceFinder:IDispatch | IUPnPDeviceFinder::FindByType
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.