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(
[in] BSTR bstrUDN,
[out] IUPnPDevice **ppDevice
);
Parameters
[in] bstrUDN
Specifies a device in the collection.
[out] 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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | upnp.h |
DLL | Upnp.dll |