This method returns an IUPnPDevice object for the specified device in the collection. Use the unique device name (UDN) to identify the device to return.
HRESULT get_Item(BSTRbstrUDN,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
Send Feedback on this topic to the authors