Partager via


IUPnPDevices::Item

This method returns an IUPnPDevice object for the specified device in the collection. Use the UDN to identify the device to return.

HRESULT get_Item(
  BSTR bstrUDN,
  IUPnPDevice** ppDevice
);

Parameters

  • bstrUDN
    [in] Specifies the device to return.
  • ppDevice
    [out] Receives a reference to an IUPnPDevice:IDispatch object that contains the requested device.

Return Values

  • S_OK
    This method was successful.

Otherwise, the method returns one of the COM error codes defined in WinError.h.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.

See Also

IUPnPDevices:IDispatch

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.