IUPnPDevices::get_Item method (upnp.h)

The Item property specifies the IUPnPDevice interface for a device, identified by the UDN, in the collection.

Syntax

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

Parameters

bstrUDN

Specifies a device in the collection.

ppDevice

Receives a reference to an IUPnPDevice interface for the specified device.

Return value

For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDevices