Share via


IUPnPDeviceFinder::FindByUDN (Windows Embedded CE 6.0)

1/6/2010

This method searches for a device by its unique device name (UDN).

Syntax

HRESULT FindByUDN(
  BSTR bstrUDN,
  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 Value

  • 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

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

See Also

Reference

IUPnPDeviceFinder
IUPnPDeviceFinder::FindByType
IUPnPDevice