IUPnPDevice::get_Children method (upnp.h)
The Children property specifies all the child devices of the device. The devices are stored in an IUPnPDevices collection.
HRESULT get_Children( IUPnPDevices **ppudChildren );
Receives a reference to an IUPnPDevices collection that enumerates the child devices of the device. This reference must be released when it is no longer required.
If the device has no child devices, the collection object has a length of zero.
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.
To determine if a device has any children (but not the actual number of children), use IUPnPDevice::HasChildren.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||None supported|