Share via


IUPnPDevice::Children (Windows Embedded CE 6.0)

1/6/2010

This method returns all the child devices of the device. The devices are returned in an IUPnPDevices:IDispatch collection.

Syntax

HRESULT get_Children(
  IUPnPDevices** ppudChildren
);

Parameters

  • ppudChildren
    [out] Receives a reference to an IUPnPDevices:IUnknown 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 is empty.

Return Value

  • S_OK
    This method was successful.

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

Remarks

To determine if a device has any children without using IUPnPDevice::Children, use IUPnPDevice::HasChildren.

Requirements

Header upnp.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IUPnPDevice
IUPnPDevice::HasChildren
IUPnPDevices