IUPnPDeviceFinder::FindByUDN (Windows CE 5.0)
This method searches for a device by its unique device name (UDN).
HRESULT FindByUDN(BSTRbstrUDN,IUPnPDevice** pDevice);
Parameters
- bstrUDN
[in] Specifies the UDN for which to search. - pDevice
[out] Receives a reference to an IUPnPDevice:IDispatch object that contains the requested device. Receives NULL if the specified device is not found.
Return Values
- S_OK
This method was successful.
Remarks
This method returns as soon as a device that matches the specified UDN is found. If no device is found, the method takes at least nine seconds to return, and possibly longer.
This method can take up to 20 seconds to return.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.
See Also
IUPnPDeviceFinder:IDispatch | IUPnPDeviceFinder::FindByType | IUPnPDevice:IDispatch
Send Feedback on this topic to the authors